Re:I've had bad luck with transparent hugepages on my Linux ...
by jeffbee on Wednesday February 01, 2023 @09:51AM
(#34611204)
They’re not leaks, it’s just that the slop at the end of a present page is potentially 512 times more than it would be with 4K pages.
[ Parent
| on HN ]
Re:I've had bad luck with transparent hugepages on my Linux ...
by ckennelly on Wednesday February 01, 2023 @10:04PM
(#34621517)
The default setting of max_ptes_none is also problematic.
On a stock kernel, it's 511. TCMalloc's docs recommend using max_ptes_none set to 0 for this reason: https://github.com/google/tcmalloc/blob/master/docs/tuning.m...
(Disclosure: I work on TCMalloc and authored the above doc.)