GithubHelp home page GithubHelp logo

bagaturchess / bagatur Goto Github PK

View Code? Open in Web Editor NEW
64.0 7.0 17.0 480.25 MB

Java Chess Engine (UCI compatible)

Home Page: http://bagaturchess.github.io/Bagatur/

License: Eclipse Public License 2.0

Java 89.29% Batchfile 0.11% Shell 0.11% C 2.34% C++ 7.61% Makefile 0.54%
chess chess-engine bagatur artificial-intelligence machine-learning java uci uci-engine uci-chess-engine uci-protocol

bagatur's People

Contributors

bagaturchess avatar metatransapps avatar xu-shawn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bagatur's Issues

Difficult endgame, but winning

This position might be interesting for endgame testing : 8/7p/8/5n1K/4n1P1/k7/5P2/8 b - - 0 1
I checked the online TBs at https://syzygy-tables.info :

Nf6+ is draw

Black is able to win this endgame, but it's difficult (for a human).
In the actual game Black played Nf6+ and made a draw.

Elo is not an acronym

All around the site it's written ELO, but it's a surname, from Arpad Elo, its inventor :)

Alex

mate with 2 knights is impossible

8/5n2/3n3p/7K/5k2/8/5P1N/8 w - - 0 1

ncmjcoicikclcjgn

White to move.
The only thing White can hope for is to draw .. so Nh2-g4xh6 can always be done (in the meantime Black can give no checks) and Black will have lost the only pawn !
But ShashChess, as ALL engines i've tested up to now, fails to find these moves, it played Kg6 .. then Black played Ne5+ : it freely gave the pawn ?? That's why this game ended in a draw, however all engines give Black a high eval (3 or 4), also without the last Black pawn : they are not aware of the 2-N-can-not-win concept ..

NOTE: give mate with 2 knights has some exception : when the opponent (!) has a pawn on the f-file or c-file (on certain ranks) .. in this diagram this is the case .. but the theory about this is beyond my goal : White should "know" it's a good idea to capture the last pawn.

evaluation algorithm and mate

hi, i just stumbled upon this position and i did some tests with several engines, including Bagatur :

bagatur_mate5_diagram

8/5q2/1p1K3p/7P/2k3P1/8/8/8 b - - 0 48

Black to move : Qf6+ is mate in 5. Many engines find this very fast, even some simple engines, often within ten seconds -SF 14 finds mate-in-5 within one second- but Bagatur seems struggling to find best move (i used MPV 7 and 1 in SCID) :

bagatur_mate_eval

bagatur_mate5_eval

Updated NNUE probe

Hi Mr. Topchiyski,

When trying to implement NNUE into my own java engine, I came across your engine. I saw how you implemented the JNI bridge which I then tried, but the results were not very good due to the probe not supporting new networks.
To solve this, I have created an updated stockfish nnue probe with java support and it resulted in a massive jump in strength! I was wondering if you would like to implement it temporarily until you have working support for reading and the forward pass of the latest networks :)

Thank you,
Vedant Joshi

draw simple (winning) endgame ?

It's a pitty Bagatur (v2.3) does not play the endgame well without TBs .. in this position Bagatur draws with Black !?

bagatur_draw

This position is winning for Black (eg. see https://syzygy-tables.info/?fen=8/8/1k2Kp2/5P2/8/2b5/8/8_w_-_-_0_1 ) but Bagatur gives away its only pawn and this game ended in a draw. Why didn't Bagatur put the bishop on e5 and tried to capture the white pawn by forcing tempos ? I guess such positions, although they have few pieces, are hard to calculate but i can't imagine why ..

I have no TBs on my system. Did you know that online TBs exist, even the latest ones with 7 pieces? When the user has an internet connection while playing, an engine can consult these TBs, eg. see the 'OnlineSyzygy' config option of the Weiss chess engine ( https://github.com/TerjeKir/weiss/ ) which can query the online 7 piece Syzygy tablebases hosted by lichess.

contact by email

hi, in your text file i see an email address .. is it still valid ? Can i contact you about some engine ideas & questions, not suitable as 'GitHub Issue' ?

configure engine : unclear settings

when adjusting the settings in CuteChess, i see 5 entries and some are unclear :

  • Ownbook : on your GitHub page(s) i see no opening book file .. how should this option be used ?
  • SyzygyPath : originally this was "[..]/v2.3/./data/egtb" and i changed it to "[..]/v2.3/data/egtb" which is the same and also works ..
  • Opening Mode : 3 choices but it's unclear what they mean .. and does this apply to the Ownbook checkbox ? Note: there's a typo with 2 'nn' ..

bagatur_cutechess_config

find mate (in 5) with MPV : different eval after very long think ?

I did another experiment with the position of Issue #11 .. indeed Bagatur v3.0 finds the Mate in 5 rather quickly ! Here's the output of SCID with mpv 1 :

Bagatur_mate_in_5_mpv_1

so, after 5.45 seconds Bagatur finds Mate in 5 !
but when setting mpv 5 SCID shows this :

Bagatur_mate_in_5_mpv_5

after 83 seconds Bagatur finds a mate : it's the Mate in 5.
before that, no other Mate-in-[#] was displayed !?

the Mate in 5 occurs at depth 24, not at 32 like Bagatur v2.3 did ! -see Issue #11
but the 83 seconds seems much too long : why is the calculation / evaluation different when using a mpv like 5 ?

v2.2g crashes in CuteChess with FEN (on Linux)

hi, i execute your new v2.2g zip asset(s) but it crashes in CuteChess (v1.2.0) when a start FEN is set .. without FEN it plays OK .. this is with both Black and White .. i use the same CuteChess settings as my v2.2e.

what's wrong ?
here's the full debug log until crashing :

<Amoeba v3.3.1(1): id name Amoeba 3.3.1.l64p-l
<Amoeba v3.3.1(1): id author Richard Delorme
<Amoeba v3.3.1(1): option name Ponder type check default false
<Amoeba v3.3.1(1): option name Hash type spin default 64 min 1 max 65536
<Amoeba v3.3.1(1): option name Clear Hash type button
<Amoeba v3.3.1(1): option name Threads type spin default 1 min 1 max 256
<Amoeba v3.3.1(1): option name Affinity type string default 0:0
<Amoeba v3.3.1(1): option name MultiPV type spin default 1 min 1 max 256
<Amoeba v3.3.1(1): option name UCI_AnalyseMode type check default false
<Amoeba v3.3.1(1): uciok
>Amoeba v3.3.1(1): setoption name Affinity value 0:0
>Amoeba v3.3.1(1): setoption name Hash value 64
>Amoeba v3.3.1(1): setoption name MultiPV value 1
>Amoeba v3.3.1(1): setoption name Threads value 1
>Amoeba v3.3.1(1): isready
<Amoeba v3.3.1(1): readyok
<Bagatur v2.2g(0): ***************************************************************************
<Bagatur v2.2g(0): * Copyright (C) 2005-2020 Krasimir I. Topchiyski ([email protected]) *
<Bagatur v2.2g(0): *                                                                         *
<Bagatur v2.2g(0): * Welcome to Bagatur UCI engine, version 2.2g                              *
<Bagatur v2.2g(0): *                                                                         *
<Bagatur v2.2g(0): * For help, have a look at the UCI protocol definition at:                *
<Bagatur v2.2g(0): * http://wbec-ridderkerk.nl/html/UCIProtocol.html                         *
<Bagatur v2.2g(0): ***************************************************************************
<Bagatur v2.2g(0): >LOG StateManager: exec command 0 > 'uci'
<Bagatur v2.2g(0): id name Bagatur 2.2g
<Bagatur v2.2g(0): id author Krasimir Topchiyski, Bulgaria
<Bagatur v2.2g(0): option name Logging Policy type combo default none var single file var multiple files var none
<Bagatur v2.2g(0): option name OwnBook type check default true
<Bagatur v2.2g(0): option name Ponder type check default true
<Bagatur v2.2g(0): option name UCI_AnalyseMode type check default false
<Bagatur v2.2g(0): option name MultiPV type spin default 1 min 1 max 100
<Bagatur v2.2g(0): option name SyzygyPath type string default /home/tissatussa/Apps/ChessEngines/Bagatur/v2.2g/./data/egtb
<Bagatur v2.2g(0): option name Openning Mode type combo default most played first var most played first var random intermediate var random full
<Bagatur v2.2g(0): LOG StateManager: sendUCIOK called
<Bagatur v2.2g(0): uciok
>Bagatur v2.2g(0): setoption name Logging Policy value none
>Bagatur v2.2g(0): setoption name MultiPV value 1
>Bagatur v2.2g(0): setoption name Openning Mode value random intermediate
>Bagatur v2.2g(0): setoption name OwnBook value false
>Bagatur v2.2g(0): setoption name SyzygyPath value /home/tissatussa/Apps/ChessEngines/Bagatur/v2.2g/./data/egtb
>Bagatur v2.2g(0): isready
<Bagatur v2.2g(0): LOG StateManager: exec command 6 > 'setoption name Logging Policy value none'
<Bagatur v2.2g(0): LOG StateManager: Set-option called with line: setoption name Logging Policy value none
<Bagatur v2.2g(0): LOG StateManager: Set-option parsed: [logging policy->none]
<Bagatur v2.2g(0): LOG StateManager: exec command 6 > 'setoption name MultiPV value 1'
<Bagatur v2.2g(0): LOG StateManager: Set-option called with line: setoption name MultiPV value 1
<Bagatur v2.2g(0): LOG StateManager: Set-option parsed: [multipv->1]
<Bagatur v2.2g(0): LOG StateManager: exec command 6 > 'setoption name Openning Mode value random intermediate'
<Bagatur v2.2g(0): LOG StateManager: Set-option called with line: setoption name Openning Mode value random intermediate
<Bagatur v2.2g(0): LOG StateManager: Set-option parsed: [openning mode->random intermediate]
<Bagatur v2.2g(0): LOG StateManager: exec command 6 > 'setoption name OwnBook value false'
<Bagatur v2.2g(0): LOG StateManager: Set-option called with line: setoption name OwnBook value false
<Bagatur v2.2g(0): LOG StateManager: Set-option parsed: [ownbook->false]
<Bagatur v2.2g(0): LOG StateManager: exec command 6 > 'setoption name SyzygyPath value /home/tissatussa/Apps/ChessEngines/Bagatur/v2.2g/./data/egtb'
<Bagatur v2.2g(0): LOG StateManager: Set-option called with line: setoption name SyzygyPath value /home/tissatussa/Apps/ChessEngines/Bagatur/v2.2g/./data/egtb
<Bagatur v2.2g(0): LOG StateManager: Set-option parsed: [syzygypath->/home/tissatussa/apps/chessengines/bagatur/v2.2g/./data/egtb]
<Bagatur v2.2g(0): LOG StateManager: Destroing search adaptor ...
<Bagatur v2.2g(0): LOG StateManager: Search adaptor Destroyed.
<Bagatur v2.2g(0): LOG StateManager: exec command 1 > 'isready'
<Bagatur v2.2g(0): LOG StateManager: Creating search adaptor ...
<Bagatur v2.2g(0): Looking for libJSyzygy.so at location /home/tissatussa/Apps/ChessEngines/Bagatur/v2.2g/bin/libJSyzygy.so
<Bagatur v2.2g(0): libJSyzygy.so is now loaded
<Bagatur v2.2g(0): Loading syzygy tablebases from /home/tissatussa/apps/chessengines/bagatur/v2.2g/./data/egtb
<Bagatur v2.2g(0): Syzygy tablebases loaded
<Bagatur v2.2g(0): LOG StateManager: Search adaptor Created.
<Bagatur v2.2g(0): LOG StateManager: sendReadyOK called
<Bagatur v2.2g(0): readyok
>Bagatur v2.2g(0): ucinewgame
>Bagatur v2.2g(0): setoption name Ponder value true
>Bagatur v2.2g(0): position fen r1bqkbnr/pppp1pp1/2n4p/4p3/2B1P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 0 4
>Amoeba v3.3.1(1): ucinewgame
>Amoeba v3.3.1(1): setoption name Ponder value true
>Amoeba v3.3.1(1): position fen r1bqkbnr/pppp1pp1/2n4p/4p3/2B1P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 0 4
>Bagatur v2.2g(0): isready
<Bagatur v2.2g(0): LOG StateManager: exec command 2 > 'ucinewgame'
<Bagatur v2.2g(0): LOG StateManager: createNewGame called
<Bagatur v2.2g(0): LOG StateManager: exec command 6 > 'setoption name Ponder value true'
<Bagatur v2.2g(0): LOG StateManager: Set-option called with line: setoption name Ponder value true
<Bagatur v2.2g(0): LOG StateManager: Set-option parsed: [ponder->true]
<Bagatur v2.2g(0): LOG StateManager: exec command 3 > 'position fen r1bqkbnr/pppp1pp1/2n4p/4p3/2B1P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 0 4'
<Bagatur v2.2g(0): LOG StateManager: setupBoard called with position fen r1bqkbnr/pppp1pp1/2n4p/4p3/2B1P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 0 4
<Bagatur v2.2g(0): LOG 'r1bqkbnr/pppp1pp1/2n4p/4p3/2B1P3/5N2/PPPP1PPP/RNBQK2R w KQkq - 0 4' -> moves=[]
<Bagatur v2.2g(0): LOG StateManager: Destroing search adaptor ...
<Bagatur v2.2g(0): LOG StateManager: Stoping old search adaptor ...
<Bagatur v2.2g(0): LOG UCISearchAdaptorImpl_Base: shutdown IRootSearch searchers ...
<Bagatur v2.2g(0): LOG UCISearchAdaptorImpl_Base: shutdown OK
<Bagatur v2.2g(0): LOG StateManager: Old search adaptor stopped.
<Bagatur v2.2g(0): LOG StateManager: Run gc ...
<Bagatur v2.2g(0): LOG StateManager: GC ok.
<Bagatur v2.2g(0): LOG StateManager: Search adaptor Destroyed.
<Bagatur v2.2g(0): LOG StateManager: exec command 1 > 'isready'
<Bagatur v2.2g(0): LOG StateManager: Creating search adaptor ...
<Bagatur v2.2g(0): Loading syzygy tablebases from /home/tissatussa/apps/chessengines/bagatur/v2.2g/./data/egtb
<Bagatur v2.2g(0): Syzygy tablebases loaded
<Bagatur v2.2g(0): LOG StateManager: Error: java.lang.reflect.InvocationTargetException
>Amoeba v3.3.1(1): isready
<Amoeba v3.3.1(1): readyok

Failed to load Java virtual machine

Hello Mr,
Please tell me what do I have to install so fix failed to load Java virtual machine problem.
I hope you understand what I said, my English is not so good.
Thanks.

Avoid draws : use "Contempt"

Some engines have a special option : the 'contempt' factor.
This is a kind of 'optimism' when playing (=my words).

Recently i found this nice article about this, it also contains some links for more info :

"08-07-2019 - The Contempt-Coherence factor on Stockfish"
See https://chess.massimilianogoi.com/articles/08-07-19-The-Contempt-Coherence-factor-on-Stockfish/

Here's an excerpt :


“The Contempt Factor reflects the estimated superiority/inferiority of the program over its opponent. The Contempt factor is assigned as draw score to avoid (early) draws against apparently weaker opponents, or to prefer draws versus stronger opponents otherwise.” – Chessprogramming Wiki


“I am not exactly sure how the contempt setting works. On one site I read that when the engine starts analyzing from a position it gives a “bonus” in the form of the contempt setting to whichever side is on the move. The result that the evaluation keeps bouncing back and forth and, according to the poster, the transposition table is filled with conflicting evaluation scores.
...
Whatever is going on, when analyzing with Stockfish 10 I have noticed what one person called “a strange yo-yo-effect especially at the beginning of the game” (also referred to as the “roller coaster effect”) that results in wild fluctuations in the evaluation every time a move is actually made on the board. His explanation was, like previously mentioned, it is because the contempt factor is switched back and forth to whichever side has the move.” – Tartajubow on Chess II blog


I have no idea how to use contempt or test it (with special positions?), i always just keep the default factor of this option when configuring an engine.
Can contempt be used to avoid draws ? It seems so, according to the above article ..

Bagatur crashes (Java problem)

I have some issues with Bagatur 1.5c and I posted something about it here:
http://talkchess.com/forum/viewtopic.php?t=64530

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0xffffffffa4655120, pid=576, tid=0x00000000000007a8
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  0xffffffffa4655120
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x0000000017e09800):  JavaThread "pool-1-thread-1" [_thread_in_Java, id=1960, stack(0x0000000018cf0000,0x0000000018df0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffa4655120

Registers:
RAX=0x000000000000021c, RBX=0x0000000000000003, RCX=0x0000000000000007, RDX=0x00000000eab71b98
RSP=0x0000000018dee548, RBP=0x00000000c009fa60, RSI=0x0000000000000014, RDI=0x0000000000000007
R8 =0x0200000000000000, R9 =0x0000000000000088, R10=0x00000000eab78198, R11=0x0000000000000002
R12=0x0000000000000000, R13=0x00000000c5398e58, R14=0x00000000c542fd78, R15=0x0000000017e09800
RIP=0xffffffffa4655120, EFLAGS=0x0000000000010202

Top of Stack: (sp=0x0000000018dee548)
0x0000000018dee548:   0000000003cee16c 23dd0ebc00000064
0x0000000018dee558:   00000000eab71b98 ffffff75ffffff76
0x0000000018dee568:   55aa55aa55aa55aa 4048800000000000
0x0000000018dee578:   eaefb7300815d8b5 4034000000000000
0x0000000018dee588:   0000008b0000008a 4051400000000000
0x0000000018dee598:   4061400000000000 4061600000000000
0x0000000018dee5a8:   c542fd78000054cf c5398e58ed55afc8
0x0000000018dee5b8:   c64b66f8c553b438 00000000ed64be98
0x0000000018dee5c8:   c642969800000003 0000000000000001
0x0000000018dee5d8:   00000000c6429698 00000000c009e960
0x0000000018dee5e8:   0000000003db9754 000000000000003e
0x0000000018dee5f8:   0000000000000000 00000000c020d9c8
0x0000000018dee608:   0000000b00302187 00000000ff676980
0x0000000018dee618:   0000000003f2dabc 14000000c02b59e0
0x0000000018dee628:   1400000000010000 00000000c009e960
0x0000000018dee638:   0000000003db9754 00000000c02b5160

Instructions: (pc=0xffffffffa4655120)
0xffffffffa4655100:   
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]

Register to memory mapping:

RAX=0x000000000000021c is an unknown value
RBX=0x0000000000000003 is an unknown value
RCX=0x0000000000000007 is an unknown value
RDX=0x00000000eab71b98 is an oop
bagaturchess.learning.goldmiddle.impl.cfg.bagatur_allfeatures.eval.BagaturEvaluator
 - klass: 'bagaturchess/learning/goldmiddle/impl/cfg/bagatur_allfeatures/eval/BagaturEvaluator'
RSP=0x0000000018dee548 is pointing into the stack for thread: 0x0000000017e09800
RBP=0x00000000c009fa60 is an oop
[J
 - klass: {type array long}
 - length: 7
RSI=0x0000000000000014 is an unknown value
RDI=0x0000000000000007 is an unknown value
R8 =0x0200000000000000 is an unknown value
R9 =0x0000000000000088 is an unknown value
R10=0x00000000eab78198 is an oop
bagaturchess.learning.goldmiddle.impl.cfg.bagatur_allfeatures.eval.EvalInfo
 - klass: 'bagaturchess/learning/goldmiddle/impl/cfg/bagatur_allfeatures/eval/EvalInfo'
R11=0x0000000000000002 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x00000000c5398e58 is an oop
[J
 - klass: {type array long}
 - length: 77282
R14=0x00000000c542fd78 is an oop
[I
 - klass: {type array int}
 - length: 180325
R15=0x0000000017e09800 is a thread


Stack: [0x0000000018cf0000,0x0000000018df0000],  sp=0x0000000018dee548,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0xffffffffa4655120


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
=>0x0000000017e09800 JavaThread "pool-1-thread-1" [_thread_in_Java, id=1960, stack(0x0000000018cf0000,0x0000000018df0000)]
  0x00000000174c4800 JavaThread "Thread-0" [_thread_blocked, id=5792, stack(0x0000000017b70000,0x0000000017c70000)]
  0x00000000173ef000 JavaThread "Service Thread" daemon [_thread_blocked, id=532, stack(0x0000000017970000,0x0000000017a70000)]
  0x0000000017378800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=4976, stack(0x0000000017870000,0x0000000017970000)]
  0x0000000015d7d000 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=6028, stack(0x0000000017770000,0x0000000017870000)]
  0x0000000015d74800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=4240, stack(0x0000000017270000,0x0000000017370000)]
  0x0000000015d73000 JavaThread "Attach Listener" daemon [_thread_blocked, id=5232, stack(0x0000000017170000,0x0000000017270000)]
  0x0000000015d6f800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4528, stack(0x0000000017070000,0x0000000017170000)]
  0x0000000015d58800 JavaThread "Finalizer" daemon [_thread_blocked, id=6172, stack(0x0000000016f70000,0x0000000017070000)]
  0x0000000015d11800 JavaThread "Reference Handler" daemon [_thread_blocked, id=7892, stack(0x0000000016e70000,0x0000000016f70000)]
  0x000000000354d800 JavaThread "main" [_thread_in_native, id=9068, stack(0x0000000000030000,0x0000000000130000)]

Other Threads:
  0x0000000015d09800 VMThread [stack: 0x0000000016d70000,0x0000000016e70000] [id=7856]
  0x0000000017415000 WatcherThread [stack: 0x0000000017a70000,0x0000000017b70000] [id=2348]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 PSYoungGen      total 64512K, used 46670K [0x00000000eab00000, 0x00000000f0680000, 0x0000000100000000)
  eden space 61952K, 75% used [0x00000000eab00000,0x00000000ed8938b8,0x00000000ee780000)
  from space 2560K, 0% used [0x00000000ee780000,0x00000000ee780000,0x00000000eea00000)
  to   space 2560K, 0% used [0x00000000f0400000,0x00000000f0400000,0x00000000f0680000)
 ParOldGen       total 207360K, used 104950K [0x00000000c0000000, 0x00000000cca80000, 0x00000000eab00000)
  object space 207360K, 50% used [0x00000000c0000000,0x00000000c667dbe0,0x00000000cca80000)
 Metaspace       used 5809K, capacity 6464K, committed 6528K, reserved 1056768K
  class space    used 580K, capacity 624K, committed 640K, reserved 1048576K

Card table byte_map: [0x0000000012a10000,0x0000000012c20000] byte_map_base: 0x0000000012410000

Marking Bits: (ParMarkBitMap*) 0x000000005f4ac720
 Begin Bits: [0x0000000013180000, 0x0000000014180000)
 End Bits:   [0x0000000014180000, 0x0000000015180000)

Polling page: 0x00000000003a0000

CodeCache: size=245760Kb used=9664Kb max_used=9676Kb free=236095Kb
 bounds [0x0000000003650000, 0x0000000003fd0000, 0x0000000012650000]
 total_blobs=1772 nmethods=1435 adapters=250
 compilation: enabled

Compilation events (10 events):
Event: 12.355 Thread 0x0000000017378800 nmethod 1559 0x0000000003fa3c50 code [0x0000000003fa3e80, 0x0000000003fa4c08]
Event: 12.355 Thread 0x0000000017378800 1561       3       java.util.TimeZone::getDisplayName (129 bytes)
Event: 12.357 Thread 0x0000000017378800 nmethod 1561 0x0000000003fa5450 code [0x0000000003fa56e0, 0x0000000003fa69b8]
Event: 12.357 Thread 0x0000000017378800 1562       3       bagaturchess.learning.goldmiddle.impl.cfg.bagatur_allfeatures.eval.BagaturEvaluator::eval_mobility (2942 bytes)
Event: 12.371 Thread 0x0000000017378800 nmethod 1562 0x0000000003fa7250 code [0x0000000003fa7c40, 0x0000000003fac1d8]
Event: 12.371 Thread 0x0000000017378800 1564       3       bagaturchess.learning.goldmiddle.impl.cfg.bagatur_allfeatures.eval.BagaturEvaluator::eval_pawns_PassedStoppers_RooksAndQueens (1187 bytes)
Event: 12.377 Thread 0x0000000017378800 nmethod 1564 0x0000000003fb39d0 code [0x0000000003fb3f20, 0x0000000003fb6698]
Event: 12.404 Thread 0x0000000015d74800 nmethod 1550 0x0000000003fbd150 code [0x0000000003fbd380, 0x0000000003fbec30]
Event: 12.404 Thread 0x0000000015d74800 1566       4       bagaturchess.learning.goldmiddle.impl.cfg.bagatur_allfeatures.eval.BagaturEvaluator::eval_standard (340 bytes)
Event: 12.415 Thread 0x0000000015d74800 nmethod 1566 0x0000000003fbb390 code [0x0000000003fbb580, 0x0000000003fbbb88]

GC Heap History (10 events):
Event: 2.576 GC heap before
{Heap before GC invocations=41 (full 20):
 PSYoungGen      total 51712K, used 2549K [0x00000000eab00000, 0x00000000eec80000, 0x0000000100000000)
  eden space 49152K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000edb00000)
  from space 2560K, 99% used [0x00000000ee780000,0x00000000ee9fd560,0x00000000eea00000)
  to   space 2560K, 0% used [0x00000000eea00000,0x00000000eea00000,0x00000000eec80000)
 ParOldGen       total 86016K, used 26421K [0x00000000c0000000, 0x00000000c5400000, 0x00000000eab00000)
  object space 86016K, 30% used [0x00000000c0000000,0x00000000c19cd4d0,0x00000000c5400000)
 Metaspace       used 4769K, capacity 5568K, committed 5760K, reserved 1056768K
  class space    used 542K, capacity 560K, committed 640K, reserved 1048576K
Event: 2.884 GC heap after
Heap after GC invocations=41 (full 20):
 PSYoungGen      total 51712K, used 0K [0x00000000eab00000, 0x00000000eec80000, 0x0000000100000000)
  eden space 49152K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000edb00000)
  from space 2560K, 0% used [0x00000000ee780000,0x00000000ee780000,0x00000000eea00000)
  to   space 2560K, 0% used [0x00000000eea00000,0x00000000eea00000,0x00000000eec80000)
 ParOldGen       total 86016K, used 28902K [0x00000000c0000000, 0x00000000c5400000, 0x00000000eab00000)
  object space 86016K, 33% used [0x00000000c0000000,0x00000000c1c39ab8,0x00000000c5400000)
 Metaspace       used 4769K, capacity 5568K, committed 5760K, reserved 1056768K
  class space    used 542K, capacity 560K, committed 640K, reserved 1048576K
}
Event: 2.918 GC heap before
{Heap before GC invocations=42 (full 20):
 PSYoungGen      total 51712K, used 47062K [0x00000000eab00000, 0x00000000eec80000, 0x0000000100000000)
  eden space 49152K, 95% used [0x00000000eab00000,0x00000000ed8f5be0,0x00000000edb00000)
  from space 2560K, 0% used [0x00000000ee780000,0x00000000ee780000,0x00000000eea00000)
  to   space 2560K, 0% used [0x00000000eea00000,0x00000000eea00000,0x00000000eec80000)
 ParOldGen       total 86016K, used 28902K [0x00000000c0000000, 0x00000000c5400000, 0x00000000eab00000)
  object space 86016K, 33% used [0x00000000c0000000,0x00000000c1c39ab8,0x00000000c5400000)
 Metaspace       used 4769K, capacity 5568K, committed 5760K, reserved 1056768K
  class space    used 542K, capacity 560K, committed 640K, reserved 1048576K
Event: 2.983 GC heap after
Heap after GC invocations=42 (full 20):
 PSYoungGen      total 64512K, used 2381K [0x00000000eab00000, 0x00000000ef580000, 0x0000000100000000)
  eden space 61952K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ee780000)
  from space 2560K, 93% used [0x00000000eea00000,0x00000000eec53460,0x00000000eec80000)
  to   space 2560K, 0% used [0x00000000ee780000,0x00000000ee780000,0x00000000eea00000)
 ParOldGen       total 86016K, used 73509K [0x00000000c0000000, 0x00000000c5400000, 0x00000000eab00000)
  object space 86016K, 85% used [0x00000000c0000000,0x00000000c47c9688,0x00000000c5400000)
 Metaspace       used 4769K, capacity 5568K, committed 5760K, reserved 1056768K
  class space    used 542K, capacity 560K, committed 640K, reserved 1048576K
}
Event: 2.983 GC heap before
{Heap before GC invocations=43 (full 21):
 PSYoungGen      total 64512K, used 2381K [0x00000000eab00000, 0x00000000ef580000, 0x0000000100000000)
  eden space 61952K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ee780000)
  from space 2560K, 93% used [0x00000000eea00000,0x00000000eec53460,0x00000000eec80000)
  to   space 2560K, 0% used [0x00000000ee780000,0x00000000ee780000,0x00000000eea00000)
 ParOldGen       total 86016K, used 73509K [0x00000000c0000000, 0x00000000c5400000, 0x00000000eab00000)
  object space 86016K, 85% used [0x00000000c0000000,0x00000000c47c9688,0x00000000c5400000)
 Metaspace       used 4769K, capacity 5568K, committed 5760K, reserved 1056768K
  class space    used 542K, capacity 560K, committed 640K, reserved 1048576K
Event: 3.027 GC heap after
Heap after GC invocations=43 (full 21):
 PSYoungGen      total 64512K, used 0K [0x00000000eab00000, 0x00000000ef580000, 0x0000000100000000)
  eden space 61952K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ee780000)
  from space 2560K, 0% used [0x00000000eea00000,0x00000000eea00000,0x00000000eec80000)
  to   space 2560K, 0% used [0x00000000ee780000,0x00000000ee780000,0x00000000eea00000)
 ParOldGen       total 127488K, used 49449K [0x00000000c0000000, 0x00000000c7c80000, 0x00000000eab00000)
  object space 127488K, 38% used [0x00000000c0000000,0x00000000c304a4b0,0x00000000c7c80000)
 Metaspace       used 4769K, capacity 5568K, committed 5760K, reserved 1056768K
  class space    used 542K, capacity 560K, committed 640K, reserved 1048576K
}
Event: 3.831 GC heap before
{Heap before GC invocations=44 (full 21):
 PSYoungGen      total 64512K, used 61952K [0x00000000eab00000, 0x00000000ef580000, 0x0000000100000000)
  eden space 61952K, 100% used [0x00000000eab00000,0x00000000ee780000,0x00000000ee780000)
  from space 2560K, 0% used [0x00000000eea00000,0x00000000eea00000,0x00000000eec80000)
  to   space 2560K, 0% used [0x00000000ee780000,0x00000000ee780000,0x00000000eea00000)
 ParOldGen       total 127488K, used 49449K [0x00000000c0000000, 0x00000000c7c80000, 0x00000000eab00000)
  object space 127488K, 38% used [0x00000000c0000000,0x00000000c304a4b0,0x00000000c7c80000)
 Metaspace       used 5138K, capacity 5920K, committed 6016K, reserved 1056768K
  class space    used 555K, capacity 592K, committed 640K, reserved 1048576K
Event: 3.926 GC heap after
Heap after GC invocations=44 (full 21):
 PSYoungGen      total 64512K, used 2560K [0x00000000eab00000, 0x00000000f0680000, 0x0000000100000000)
  eden space 61952K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ee780000)
  from space 2560K, 100% used [0x00000000ee780000,0x00000000eea00000,0x00000000eea00000)
  to   space 2560K, 0% used [0x00000000f0400000,0x00000000f0400000,0x00000000f0680000)
 ParOldGen       total 127488K, used 102498K [0x00000000c0000000, 0x00000000c7c80000, 0x00000000eab00000)
  object space 127488K, 80% used [0x00000000c0000000,0x00000000c6418810,0x00000000c7c80000)
 Metaspace       used 5138K, capacity 5920K, committed 6016K, reserved 1056768K
  class space    used 555K, capacity 592K, committed 640K, reserved 1048576K
}
Event: 3.926 GC heap before
{Heap before GC invocations=45 (full 22):
 PSYoungGen      total 64512K, used 2560K [0x00000000eab00000, 0x00000000f0680000, 0x0000000100000000)
  eden space 61952K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ee780000)
  from space 2560K, 100% used [0x00000000ee780000,0x00000000eea00000,0x00000000eea00000)
  to   space 2560K, 0% used [0x00000000f0400000,0x00000000f0400000,0x00000000f0680000)
 ParOldGen       total 127488K, used 102498K [0x00000000c0000000, 0x00000000c7c80000, 0x00000000eab00000)
  object space 127488K, 80% used [0x00000000c0000000,0x00000000c6418810,0x00000000c7c80000)
 Metaspace       used 5138K, capacity 5920K, committed 6016K, reserved 1056768K
  class space    used 555K, capacity 592K, committed 640K, reserved 1048576K
Event: 3.999 GC heap after
Heap after GC invocations=45 (full 22):
 PSYoungGen      total 64512K, used 0K [0x00000000eab00000, 0x00000000f0680000, 0x0000000100000000)
  eden space 61952K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000ee780000)
  from space 2560K, 0% used [0x00000000ee780000,0x00000000ee780000,0x00000000eea00000)
  to   space 2560K, 0% used [0x00000000f0400000,0x00000000f0400000,0x00000000f0680000)
 ParOldGen       total 207360K, used 104950K [0x00000000c0000000, 0x00000000cca80000, 0x00000000eab00000)
  object space 207360K, 50% used [0x00000000c0000000,0x00000000c667dbe0,0x00000000cca80000)
 Metaspace       used 5138K, capacity 5920K, committed 6016K, reserved 1056768K
  class space    used 555K, capacity 592K, committed 640K, reserved 1048576K
}

Deoptimization events (10 events):
Event: 11.263 Thread 0x000000000354d800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000003bc5308 method=bagaturchess.bitboard.impl.movegen.WhitePawnMovesGen.genAllMoves(Lbagaturchess/bitboard/api/IBitBoard;JZIIJJ[IZJLbagaturchess/bitboard/api/IInternalMoveList;I)I @ 250
Event: 11.313 Thread 0x0000000017e09800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003e50818 method=bagaturchess.bitboard.impl.Board.genKingEscapes(ILbagaturchess/bitboard/api/IInternalMoveList;I)I @ 107
Event: 11.316 Thread 0x0000000017e09800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003f25d38 method=bagaturchess.learning.goldmiddle.impl.cfg.bagatur_allfeatures.eval.BagaturEvaluator.eval_mobility()V @ 791
Event: 11.342 Thread 0x0000000017e09800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003ea9544 method=bagaturchess.bitboard.impl.movegen.WhitePawnMovesGen.genCapturePromotionEnpassantMoves(Lbagaturchess/bitboard/api/IBitBoard;JZIIJJ[IZJLbagaturchess/bitboard/api/IInternalMov
Event: 11.795 Thread 0x000000000354d800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000000003bc5308 method=bagaturchess.bitboard.impl.movegen.WhitePawnMovesGen.genAllMoves(Lbagaturchess/bitboard/api/IBitBoard;JZIIJJ[IZJLbagaturchess/bitboard/api/IInternalMoveList;I)I @ 250
Event: 11.856 Thread 0x0000000017e09800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003ea412c method=bagaturchess.bitboard.impl.plies.checking.Checking.isDirectCheckMove(IIJJI)Z @ 79
Event: 11.879 Thread 0x0000000017e09800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003750780 method=bagaturchess.learning.goldmiddle.impl.cfg.bagatur_allfeatures.eval.BagaturEvaluator.fianchetto()I @ 89
Event: 11.911 Thread 0x0000000017e09800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003f67124 method=bagaturchess.bitboard.impl.plies.checking.Checking.isHiddenCheckMove(Lbagaturchess/bitboard/impl/Board;IIJJI)Z @ 338
Event: 12.354 Thread 0x0000000017e09800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003e33e64 method=bagaturchess.learning.goldmiddle.impl.cfg.bagatur_allfeatures.eval.BagaturEvaluator.eval_pawns_PassedStoppers_RooksAndQueens()V @ 599
Event: 12.355 Thread 0x0000000017e09800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000003f73064 method=bagaturchess.learning.goldmiddle.impl.cfg.bagatur_allfeatures.eval.BagaturEvaluator.eval_mobility()V @ 2126

Internal exceptions (9 events):
Event: 0.040 Thread 0x000000000354d800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x00000000eab07ca8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\
Event: 0.041 Thread 0x000000000354d800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x00000000eab07f90) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims
Event: 0.123 Thread 0x000000000354d800 Exception <a 'java/lang/NoClassDefFoundError': org/boris/winrun4j/Native> (0x00000000eab78388) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 199]
Event: 0.297 Thread 0x000000000354d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000eae63198) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.297 Thread 0x000000000354d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000eae63590) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.298 Thread 0x000000000354d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000eae675d0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.298 Thread 0x000000000354d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000eae679c8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jvm.cpp, line 1390]
Event: 0.463 Thread 0x000000000354d800 Exception <a 'java/io/FileNotFoundException'> (0x00000000eb29d310) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u131\8869\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 1.329 Thread 0x000000000354d800 Implicit null exception at 0x0000000003803c07 to 0x0000000003803c69

Events (10 events):
Event: 11.911 Thread 0x0000000017e09800 DEOPT PACKING pc=0x0000000003f67124 sp=0x0000000018dec1b0
Event: 11.911 Thread 0x0000000017e09800 DEOPT UNPACKING pc=0x000000000369556a sp=0x0000000018dec118 mode 2
Event: 11.983 Thread 0x00000000174c4800 DEOPT PACKING pc=0x0000000003c06c42 sp=0x0000000017c6f130
Event: 11.983 Thread 0x00000000174c4800 DEOPT UNPACKING pc=0x00000000036971bf sp=0x0000000017c6ee48 mode 0
Event: 12.354 Thread 0x0000000017e09800 Uncommon trap: trap_request=0xffffff65 fr.pc=0x0000000003e33e64
Event: 12.354 Thread 0x0000000017e09800 DEOPT PACKING pc=0x0000000003e33e64 sp=0x0000000018dedf60
Event: 12.354 Thread 0x0000000017e09800 DEOPT UNPACKING pc=0x000000000369556a sp=0x0000000018dede98 mode 2
Event: 12.355 Thread 0x0000000017e09800 Uncommon trap: trap_request=0xffffff65 fr.pc=0x0000000003f73064
Event: 12.355 Thread 0x0000000017e09800 DEOPT PACKING pc=0x0000000003f73064 sp=0x0000000018dedeb0
Event: 12.355 Thread 0x0000000017e09800 DEOPT UNPACKING pc=0x000000000369556a sp=0x0000000018dede48 mode 2


Dynamic libraries:
0x0000000140000000 - 0x0000000140030000    C:\Engines\UCI\Bagatur_15c-64\Bagatur15c-64.exe
0x0000000077290000 - 0x000000007743a000    C:\Windows\SYSTEM32\ntdll.dll
0x000007feef720000 - 0x000007feef753000    C:\Program Files\AVAST Software\Avast\x64\aswhooka.dll
0x0000000077070000 - 0x000000007718f000    C:\Windows\system32\kernel32.dll
0x000007fefd240000 - 0x000007fefd2aa000    C:\Windows\system32\KERNELBASE.dll
0x0000000077450000 - 0x0000000077457000    C:\Windows\system32\PSAPI.DLL
0x0000000077190000 - 0x000000007728a000    C:\Windows\system32\USER32.dll
0x000007feff1a0000 - 0x000007feff207000    C:\Windows\system32\GDI32.dll
0x000007fefec40000 - 0x000007fefec4e000    C:\Windows\system32\LPK.dll
0x000007fefd660000 - 0x000007fefd72a000    C:\Windows\system32\USP10.dll
0x000007feff2f0000 - 0x000007feff38f000    C:\Windows\system32\msvcrt.dll
0x000007fefd9e0000 - 0x000007fefdabb000    C:\Windows\system32\ADVAPI32.dll
0x000007fefecb0000 - 0x000007fefeccf000    C:\Windows\SYSTEM32\sechost.dll
0x000007fefee60000 - 0x000007fefef8d000    C:\Windows\system32\RPCRT4.dll
0x000007feff390000 - 0x000007feff593000    C:\Windows\system32\ole32.dll
0x000007feff210000 - 0x000007feff2ea000    C:\Windows\system32\OLEAUT32.dll
0x000007fefd9b0000 - 0x000007fefd9de000    C:\Windows\system32\IMM32.DLL
0x000007fefd820000 - 0x000007fefd929000    C:\Windows\system32\MSCTF.dll
0x000007fefce10000 - 0x000007fefce1f000    C:\Windows\system32\CRYPTBASE.dll
0x000007fefaef0000 - 0x000007fefaf46000    C:\Windows\system32\uxtheme.dll
0x000007fefc7b0000 - 0x000007fefc7c8000    C:\Windows\system32\CRYPTSP.dll
0x000007fefc4b0000 - 0x000007fefc4f7000    C:\Windows\system32\rsaenh.dll
0x00000000647e0000 - 0x00000000648b2000    C:\Program Files\Java\jre1.8.0_131\bin\msvcr100.dll
0x000000005ec90000 - 0x000000005f52c000    C:\Program Files\Java\jre1.8.0_131\bin\server\jvm.dll
0x000007fef9ad0000 - 0x000007fef9ad9000    C:\Windows\system32\WSOCK32.dll
0x000007fefd7d0000 - 0x000007fefd81d000    C:\Windows\system32\WS2_32.dll
0x000007feff190000 - 0x000007feff198000    C:\Windows\system32\NSI.dll
0x000007fefb3e0000 - 0x000007fefb41b000    C:\Windows\system32\WINMM.dll
0x000007fefbea0000 - 0x000007fefbeac000    C:\Windows\system32\VERSION.dll
0x0000000065b20000 - 0x0000000065b2f000    C:\Program Files\Java\jre1.8.0_131\bin\verify.dll
0x0000000065230000 - 0x0000000065259000    C:\Program Files\Java\jre1.8.0_131\bin\java.dll
0x00000000652a0000 - 0x00000000652b6000    C:\Program Files\Java\jre1.8.0_131\bin\zip.dll
0x000007fefde30000 - 0x000007fefebba000    C:\Windows\system32\SHELL32.dll
0x000007fefebc0000 - 0x000007fefec31000    C:\Windows\system32\SHLWAPI.dll
0x000007fefcf70000 - 0x000007fefcf7f000    C:\Windows\system32\profapi.dll
0x0000000069180000 - 0x000000006931b000    C:\Engines\UCI\Bagatur_15c-64\bin\egtbprobe_64.dll
0x000007fef70c0000 - 0x000007fef71e5000    C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Xmx1024m -Djava.library.path=C:\Engines\UCI\Bagatur_15c-64\/bin/; abort exit
java_command: <unknown>
java_class_path (initial): C:\Engines\UCI\Bagatur_15c-64\bin\BagaturBoard.jar;C:\Engines\UCI\Bagatur_15c-64\bin\BagaturEGTB.jar;C:\Engines\UCI\Bagatur_15c-64\bin\BagaturEngines.jar;C:\Engines\UCI\Bagatur_15c-64\bin\BagaturLearningAPI.jar;C:\Engines\UCI\Bagatur_15c-64\bin\BagaturLearningImpl.jar;C:\Engines\UCI\Bagatur_15c-64\bin\BagaturOpening.jar;C:\Engines\UCI\Bagatur_15c-64\bin\BagaturSearch.jar;C:\Engines\UCI\Bagatur_15c-64\bin\BagaturUCI.jar;C:\Engines\UCI\Bagatur_15c-64\bin\egtbprobe.jar
Launcher Type: generic

Environment Variables:
PATH=C:\Perl64\site\bin;C:\Perl64\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Smart Projects\IsoBuster;C:\Program Files\Calibre2\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\PyChess\
USERNAME=Guenther Simon
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 7, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 7 , 64 bit Build 7601 (6.1.7601.23677)

CPU:total 4 (initial active 4) (4 cores per cpu, 1 threads per core) family 6 model 23 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, tsc

Memory: 4k page, physical 4193528k(1340536k free), swap 8385196k(5109272k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.131-b11) for windows-amd64 JRE (1.8.0_131-b11), built on Mar 15 2017 01:23:53 by "java_re" with MS VC++ 10.0 (VS2010)

time: Wed Jul 05 15:59:29 2017
elapsed time: 12 seconds (0d 0h 0m 12s)

From the crash log I believe it is a problem with Win7 Ultimate-64 and mixed Java installations?

This were (preliminary) tests with ultrafast tc, I noticed though that it also happens at slower tc,
just not as frequently. I found a lot of such reports via google but no solution.

Any idea?

Guenther

Which java version

When I used Java 8 I had no problem using Bagatur via Bagatur_64_1_core.exe. Yesterday I deleted Java 8 and installed JDK 14 and now Bagatur does not find Java VM although I have the path environment variable correctly modified.
I am no programmer and don't know what the problem might be. Shall I reinstall Java 8? I would do that reluctantly because some engines (e.g. chess22k) don't work with it and the path would point to the wrong java for them.
What do you suggest?

Regards,
Gabor Szots
CCRL testing group

How to promote a rook pawn ?

Position: 8/5n2/8/8/6kp/4K3/8/8 b - - 0 1

position

Black to move.
Many engines do NOT seem to find the way to promote the pawn !?
They often win this position, but after a (too) long move sequence ..
NOTE: this pawn is called a "rook pawn" because it's on the edge of the board, on the rook file.

A decent human chess player knows how to promote the pawn in this position : the Black King should shield the pawn by Kg4-g3-g2 so it can ALWAYS reach h1 and promote. From there the mate is easy (the knight is not needed in any way).

Here are some engine evaluations with MPV 5 :

promote_rookpawn_SF_v14_NNUE


promote_rookpawn_Fire_v8_NN_noMCTS


promote_rookpawn_Bagatur_v2 3

Investigate their variations yourself.
After some time (not immediately) the engines "Stockfish v14 NNUE" and "Fire v8 NN no MCTS" find mate in 10, indeed starting with Kg3 .. however Bagatur v2.3 (and many other engines) does not have a clue .. it shows long variations, but they make no sense.

Do you have an explanation ?
I'm surprised .. i think any engine should know how to quickly win such simple position, eg. :

solution

Huge CPU usage spikes at startup

All Bagatur single-core execs I tested, going back to v1.5e, use considerably more CPU than just one core at startup.

At the start of a game for up to a minute Bagatur_64_1_core.exe uses anywhere from two to four cores, according to Task Manager. E.g., on a 20-core system a single-core engine is expected to use 5% of the CPU; Bagatur's usage spikes up to 20%. Later on it settles down but still occasionally jumps to 10% or higher.

Such behavior from an engine purporting to be single-core is unacceptable. Not only it overloads the test system, it also steals CPU time from other engines running concurrently.

Tested under Cute Chess GUI v1.1.0 on three Dual Xeons - a 12-core Westemere-EX, a 16-core Sandy Bridge and a 20-core Ivy Bridge, all running Win 7 x64 SP1. Same behavior under JRE 8 update 191 64-bit and the latest JDK 11.0.1 64-bit.

develop NN

You and I mentioned this subject in Issue #9 : "draw simple (winning) endgame" ?

[tissatussa commented]
i gathered many engines, also NN, but honestly i don't know the real strength and advantage of any NN, compared to regular eval .. some engines can disable their NN in the UCI options, and some can play in "hybrid" mode : their best move depends on both "normal" eval and NN eval -- such engines consider both evals as an "advisor" for its best move, but i have no clue how this works ..

you state that millions of positions were used to train an NN .. can we train one for the "4N position" ? That would be awsome ! I think in that position black must be able to ALWAYS win !?

the "4N position" : 8/p5pp/1pk5/5p2/P1nn4/2NN3P/5PPK/8 w - - 0 1

4Npos

[bagaturchess commented]
Yes, we can switch the starting position from initial FEN to any FEN, including 4N :-), and generate millions of positions out of it.
How this will help?
Normally I train NN for all game phases - only 1 NN is used for the whole game.
If we start creating different NNs for different positions, where this will end ... how many you would like to have for the whole game and how to split them? (e.g. by material factor etc.)

FYI: here are my first and last (for now) unsuccessful try of NNUE implementation: https://github.com/bagaturchess/Bagatur/tree/master/Sources/LearningImpl/src/bagaturchess/deeplearning/impl_nnue
It is exactly, what you were looking for - simple evaluation with material and PSQT ... https://github.com/bagaturchess/Bagatur/blob/master/Sources/LearningImpl/src/bagaturchess/deeplearning/impl_nnue/NeuralNetworkUtils_NNUE_PSQT_Material.java

It's an endgame from a fixed starting position, which was composed to induce all kinds of complications, while 'zugzwang' occurs because each player has only two knights and some pawns.
Black has a plus pawn and should be able to win this position, but White can draw in many ways.
A few basic chess principles are involved in this position : it shows how tempo, material and the threat of promotion intertwine.

NNs are said to play more intuitively and i just like to test such NN to get a better understanding of it by this rather simple endgame position. I don't know "how this will help" to improve Bagatur in general - we can contemplate later .. therefor I hope the training of such NN will not be too complicated.

Can a max depth be set when training the NN ? I think this position does not deserve searching in great depth, better evaluate a wide spectrum of variations, including all kinds of sacrifices : maybe offer knights for pawn(s), especially the last black pawn, because even when black keeps the 2 knights he can not win without any pawn left on the board .. the engine should know this chess fact in this position !

Huge memory use

Hi Krasimir,

Under Arena, I can see that allocated memory is well above 2 GB although I use 256 MB hash tables. I can see there is a parameter vm.heapsize.preferred which is set to 4096 MB. I changed that to 1024 MB but the memory usage is still greater than that of version 3.3 which I used last time.

What is the reason and how important this parameter is?

Gabor Szots
CCRL testing group

Will not play Chess960 under CuteChess GUI

For variant fischer random, the GUI does not allow it to participate in a tournament. It does not appear in the list of available engines. I suspect this is because the engine does not have the UCI parameter "UCI_Chess960" so the GUI does not know it is capable of playing FRC.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.