Description
Describe the issue
My environment:
Dual AMD EPYC 7763, 128GB RAM, NPS=4
Windows 11 Pro 64-bit, VBS off, HVCI off
Stockfish git 6ceaca4
I disabled the Lock Page In Memory
user right to test another project, but accidentally found the performance Stockfish was boosted.
stockfish.exe bench 512 256 20 > 1
In LPIM disabled (therefore 2MB Large page is not available):
Total time (ms) : 32254
Nodes searched : 6975996121
Nodes/second : 216283131
when enabled (2MB Large Page available):
Total time (ms) : 49152
Nodes searched : 8088795475
Nodes/second : 164566965
I ran the benchmark for tens of times, the numbers varied a little, but the change is almost the same.
I also tested under some Intel machines with only one CPU, in these machines, Large Page brought about 5% performance improvement, and this is expected for fewer TLB misses. I don't have SMP Intel machines, so I can't test disabling LPIM in Intel CPUs.
Expected behavior
Large Page should have brought speed improvement.
Steps to reproduce
stockfish.exe bench 512 256 20 > 1
Anything else?
No response
Operating system
Windows