Stockfish large pages support: exactly when?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Dann Corbit, Harvey Williamson

Jouni
Posts: 3233
Joined: Wed Mar 08, 2006 8:15 pm

Stockfish large pages support: exactly when?

Post by Jouni »

In github I see that 13.5. pull request was closed. But no mention in any abrok compile in May?
Jouni
User avatar
Ajedrecista
Posts: 1952
Joined: Wed Jul 13, 2011 9:04 pm
Location: Madrid, Spain.

Re: Stockfish large pages support: exactly when?

Post by Ajedrecista »

Hello:
Jouni wrote: Sun Dec 27, 2020 11:30 am In github I see that 13.5. pull request was closed. But no mention in any abrok compile in May?
I have found some mentions to 'large pages' at abrok:

Code: Select all

Author: Sami Kiminki 
Date: Wed May 13 20:57:47 2020 +0200 
Timestamp: 1589396267 

Add support for Windows large pages 

for users that set the needed privilige "Lock Pages in Memory" 
large pages will be automatically enabled (see Readme.md). 

This expert setting might improve speed, 5% - 30%, depending 
on the hardware, the number of threads and hash size. More for 
large hashes, large number of threads and NUMA. If the operating 
system can not allocate large pages (easier after a reboot), default 
allocation is used automatically. The engine log provides details. 

closes https://github.com/official-stockfish/Stockfish/pull/2656 

fixes https://github.com/official-stockfish/Stockfish/issues/2619 

No functional change
see source
https://github.com/official-stockfish/Stockfish/commit/d4763424d2728fe2dfd0a6fe747666feb6a2fdbb
There is a fix one day later:

Code: Select all

Author: Sami Kiminki 
Date: Thu May 14 20:35:40 2020 +0200 
Timestamp: 1589481340 

Fix a Windows-only crash on exit without 'quit' 

There was a bug in commit d4763424d2728fe2dfd0a6fe747666feb6a2fdbb 
(Add support for Windows large pages) that could result in trying to 
free memory allocated with VirtualAlloc incorrectly with free(). 

Fix this by reverting the TT.resize(0) logic in the previous commit, 
and instead, just call aligned_ttmem_free() in 
TranspositionTable::~TranspositionTable(). 

fixes https://github.com/official-stockfish/Stockfish/issues/2677 

closes https://github.com/official-stockfish/Stockfish/pull/2679 

No functional change 
see source
https://github.com/official-stockfish/Stockfish/commit/beb327f910ed782f358d69201643ccd99b982a48
Regards from Spain.

Ajedrecista.
Jouni
Posts: 3233
Joined: Wed Mar 08, 2006 8:15 pm

Re: Stockfish large pages support: exactly when?

Post by Jouni »

I asked, because I don't see any version between 9 and 15 May:

Author: Michael Chaly
Date: Wed May 15 09:49:29 2019 +0200
Timestamp: 1557906569

Decrease reduction in case we had singular extension. #2146

Passed STC http://tests.stockfishchess.org/tests/v ... 25cf057a84
LLR: 2.95 (-2.94,2.94) [0.50,4.50]
Total: 73454 W: 16482 L: 15954 D: 41018 Elo +2.50

Passed LTC http://tests.stockfishchess.org/tests/v ... 25cf05822f
LLR: 2.95 (-2.94,2.94) [0.00,3.50]
Total: 56696 W: 9877 L: 9538 D: 37281 Elo +2.08

Author: Miguel Lahoz
Date: Thu May 9 18:00:58 2019 +0200
Timestamp: 1557417658
Remove PvNode template from reduction

This functional simplification removes the PvNode reduction and adjusts
the ttPv lmr condition accordingly. Their definitions only differ by the
inclusions of ttPv. Aside from this, shallow move pruning definition
will be the only other functional difference, but this does not seem to
matter too much.

Is there alternative abrok compile page!?
Jouni
Jouni
Posts: 3233
Joined: Wed Mar 08, 2006 8:15 pm

Re: Stockfish large pages support: exactly when?

Post by Jouni »

Ooops sorry wrong year!
Jouni