mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
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
This commit is contained in:
committed by
Joost VandeVondele
parent
86ee4eb84d
commit
d4763424d2
@@ -49,6 +49,7 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
UCI::loop(argc, argv);
|
||||
|
||||
TT.resize(0);
|
||||
Threads.set(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user