You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the built in node benchmark suite for base64 encode/decode utilizing transparent huge pages set to always results in performance of 106% to 172% vs running with madvise (when tested with commit 5812a61).
Note, when tested with LTS 22.14 the range was 172% to 309%.
For methodology, the tests below were run 100 times each for both always and madvise and their results averaged.
The table below shows the value for the average result with always / average result with madvise.
What is the feature you are proposing to solve the problem?
The proposal is to provide a either a hinting mechanism to the memory allocator or a heuristics based method for the allocator to allocate 2MB huge pages when larger, contiguous data is detected.
What alternatives have you considered?
The primary alternative would be to rely on the user to configure their THP setting manually. However, when used globally in this way, memory fragmentation could result and it does not appear to be an efficient solution.
The text was updated successfully, but these errors were encountered:
What is the problem this feature will solve?
Running the built in node benchmark suite for base64 encode/decode utilizing transparent huge pages set to
always
results in performance of 106% to 172% vs running withmadvise
(when tested with commit5812a61
).Note, when tested with LTS 22.14 the range was 172% to 309%.
For methodology, the tests below were run 100 times each for both
always
andmadvise
and their results averaged.The table below shows the value for the average result with
always
/ average result withmadvise
.What is the feature you are proposing to solve the problem?
The proposal is to provide a either a hinting mechanism to the memory allocator or a heuristics based method for the allocator to allocate 2MB huge pages when larger, contiguous data is detected.
What alternatives have you considered?
The primary alternative would be to rely on the user to configure their THP setting manually. However, when used globally in this way, memory fragmentation could result and it does not appear to be an efficient solution.
The text was updated successfully, but these errors were encountered: