4 ms·
Many people have desktops with 128 GB RAM. Should they enable hugepages? I've never heard this recommendation for a desktop.
by dist-epoch 6mo ago
Many people have desktops with 128 GB RAM. Should they enable hugepages? I've never heard this recommendation for a desktop.
- nijave 6mo agoHuge pages is good when a single process is reserving a giant block of memory which I think isnt that common. You might have transparent huge pages on by default depending on the distro
- fc417fc802 6mo agoNo idea about hugepages but mmaping giant blocks of memory is extremely common. IIRC Chrome maps something like 1 TB on startup. I think (?) you don't actually see benefit from hugepages unless you actually write to a large amount of memory though.
- baq 6mo agoIf they’re running any sort of a vm (which they probably do with this amount of ram) they absolutely should and also should consider pre-reserving them.