{"action":"created","issue":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/428","labels_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/428/comments","events_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/428/events","html_url":"https://github.com/official-stockfish/Stockfish/pull/428","id":106489014,"number":428,"title":"MinimumSplitDepth=2 Max Slaves 7(fixed for crashes)","user":{"login":"ajithcj","id":5998883,"avatar_url":"https://avatars.githubusercontent.com/u/5998883?v=3","gravatar_id":"","url":"https://api.github.com/users/ajithcj","html_url":"https://github.com/ajithcj","followers_url":"https://api.github.com/users/ajithcj/followers","following_url":"https://api.github.com/users/ajithcj/following{/other_user}","gists_url":"https://api.github.com/users/ajithcj/gists{/gist_id}","starred_url":"https://api.github.com/users/ajithcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajithcj/subscriptions","organizations_url":"https://api.github.com/users/ajithcj/orgs","repos_url":"https://api.github.com/users/ajithcj/repos","events_url":"https://api.github.com/users/ajithcj/events{/privacy}","received_events_url":"https://api.github.com/users/ajithcj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-15T06:24:52Z","updated_at":"2015-09-19T07:36:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/pulls/428","html_url":"https://github.com/official-stockfish/Stockfish/pull/428","diff_url":"https://github.com/official-stockfish/Stockfish/pull/428.diff","patch_url":"https://github.com/official-stockfish/Stockfish/pull/428.patch"},"body":"Reduce minimumSplitDepth to 2. But use fewer slaves while splitting at lower depths. Test passed\r\n\r\nSTC 3 Threads:\r\nLLR: 2.97 (-2.94,2.94) [0.00,5.00]\r\nTotal: 11351 W: 2008 L: 1838 D: 7505\r\n\r\nSTC 7 Threads:\r\nLLR: 2.95 (-2.94,2.94) [0.00,5.00]\r\nTotal: 2587 W: 485 L: 353 D: 1749\r\n\r\nLTC 7 Threads:\r\nLLR: 2.95 (-2.94,2.94) [0.00,5.00]\r\nTotal: 20538 W: 2769 L: 2584 D: 15185\r\n\r\nCrashes were reported on the original branch. \r\nTwo additional lock acquire/release pairs were added to fix the occasional crash.\r\nAfter this a two-day crash test passed on a 20-core machine.\r\n\r\nWith fixed code, test again passed STC 7 Threads:\r\nLLR: 2.96 (-2.94,2.94) [0.00,5.00]\r\nTotal: 50470 W: 8033 L: 7720 D: 34717\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/comments/141633292","html_url":"https://github.com/official-stockfish/Stockfish/pull/428#issuecomment-141633292","issue_url":"https://api.github.com/repos/official-stockfish/Stockfish/issues/428","id":141633292,"user":{"login":"LouisZulli","id":7276553,"avatar_url":"https://avatars.githubusercontent.com/u/7276553?v=3","gravatar_id":"","url":"https://api.github.com/users/LouisZulli","html_url":"https://github.com/LouisZulli","followers_url":"https://api.github.com/users/LouisZulli/followers","following_url":"https://api.github.com/users/LouisZulli/following{/other_user}","gists_url":"https://api.github.com/users/LouisZulli/gists{/gist_id}","starred_url":"https://api.github.com/users/LouisZulli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LouisZulli/subscriptions","organizations_url":"https://api.github.com/users/LouisZulli/orgs","repos_url":"https://api.github.com/users/LouisZulli/repos","events_url":"https://api.github.com/users/LouisZulli/events{/privacy}","received_events_url":"https://api.github.com/users/LouisZulli/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T07:36:37Z","updated_at":"2015-09-19T07:36:37Z","body":"minsplitdepth2_fix2 breaks something.\r\n\r\nHere's what I see:\r\nStockfish-766544130590dbdcd475f3ec29e43c696489b4ca/src$ ./stockfish \r\nStockfish 190915 64 BMI2 by Tord Romstad, Marco Costalba and Joona Kiiski\r\nsetoption name Threads value 20\r\nsetoption name Hash value 32768\r\nposition fen r1b3k1/ppp1q1pp/2n1p3/3pP2P/8/2NB2Q1/PPP3P1/2K2R2 w - - 0 19\r\ngo infinite\r\ninfo depth 1 seldepth 1 multipv 1 score cp 55 nodes 54 nps 1350 tbhits 0 time 40 pv c1b1\r\ninfo depth 2 seldepth 2 multipv 1 score cp 52 nodes 154 nps 2610 tbhits 0 time 59 pv c1b1 a7a6\r\ninfo depth 3 seldepth 3 multipv 1 score cp 47 nodes 579 nps 4559 tbhits 0 time 127 pv c3e2 h7h6 c1b1\r\n\r\n[output deleted to save space]\r\n\r\ninfo depth 29 seldepth 42 multipv 1 score cp -13 nodes 218629344 nps 16648594 hashfull 64 tbhits 0 time 13132 pv a2a3 c8d7 h5h6 g8h8 c3b5 a8g8 g3e3 d7e8 h6g7 e7g7 f1f6 g7g2 b5c7 e8g6 d3g6 g8g6 c1b1 g2g1 e3g1 g6g1 b1a2 g1g6 f6e6 g6e6 c7e6 c6e5 a2b3 h8g8 b3c3 h7h5 e6f4 h5h4 c3d4 e5c4\r\ninfo depth 30 currmove a2a3 currmovenumber 1\r\ninfo depth 30 seldepth 45 multipv 1 score cp -6 lowerbound nodes 274309335 nps 17836617 hashfull 79 tbhits 0 time 15379 pv a2a3\r\ninfo depth 30 currmove a2a3 currmovenumber 1\r\nstop\r\ninfo nodes 299979336 time 16496\r\nbestmove a2a3\r\nsetoption name Clear Hash\r\ngo infinite\r\ninfo depth 1 seldepth 1 multipv 1 score cp 55 nodes 54 nps 27000 tbhits 0 time 2 pv c1b1\r\n\r\nAt this point Stockfish is hanging, and is now using just one search thread instead of 20. From gdb:\r\n\r\nReading symbols from /home/louis/Documents/Chess/Testing/Stockfish-766544130590dbdcd475f3ec29e43c696489b4ca/src/stockfish...(no debugging symbols found)...done.\r\nReading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so...done.\r\ndone.\r\n[New LWP 5317]\r\n[New LWP 5316]\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\nLoaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0\r\nReading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...(no debugging symbols found)...done.\r\nLoaded symbols for /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\nReading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so...done.\r\ndone.\r\nLoaded symbols for /lib/x86_64-linux-gnu/libm.so.6\r\nReading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done.\r\nLoaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1\r\nReading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so...done.\r\ndone.\r\nLoaded symbols for /lib/x86_64-linux-gnu/libc.so.6\r\nReading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so...done.\r\ndone.\r\nLoaded symbols for /lib64/ld-linux-x86-64.so.2\r\n0x00007f169803f82d in read () at ../sysdeps/unix/syscall-template.S:81\r\n81\t../sysdeps/unix/syscall-template.S: No such file or directory.\r\n(gdb) info threads\r\n  Id   Target Id         Frame \r\n  3    Thread 0x7f1697f53700 (LWP 5316) \"stockfish\" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238\r\n  2    Thread 0x7f1697752700 (LWP 5317) \"stockfish\" 0x00007f169801f3f7 in sched_yield () at ../sysdeps/unix/syscall-template.S:81\r\n* 1    Thread 0x7f1698fd8780 (LWP 5315) \"stockfish\" 0x00007f169803f82d in read () at ../sysdeps/unix/syscall-template.S:81\r\n\r\n"}}