8000 Performance degraded in AMD EPYC + SMP + Large Page + Windows · Issue #5940 · official-stockfish/Stockfish · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Performance degraded in AMD EPYC + SMP + Large Page + Windows #5940
Open
@jdp1024

Description

@jdp1024

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

Stockfish version

6ceaca4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0