Is Large Page support on Linux only Transparent Huge Pages? #3887
-
I wanted to benchmark the difference (if any) between Stockfish using transparent huge pages on Linux versus reserved huge pages on Linux when provided 0.5 TB RAM or larger. README.md: I was able to confirm through Following instructions from Configuring Huge Pages, I am able to disable transparent huge pages, and reserve many huge pages of 1GB size during boot, but Stockfish never appears to consume them or the OS never seems to allocate them to Stockfish. Of course 1GB huge pages may be unrealistic, but I wanted to benchmark various sizes to discover any sweet spots. Stockfish terminates with Is Large Page support on Linux only Transparent Huge Pages, and limited to 2MB huge pages? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
yes, I think it is, but by way of an experiment might be not too difficult to change, the code is simple Lines 447 to 462 in 44b1ba8 |
Beta Was this translation helpful? Give feedback.
yes, I think it is, but by way of an experiment might be not too difficult to change, the code is simple
Stockfish/src/misc.cpp
Lines 447 to 462 in 44b1ba8