3 ms·
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.
by jeffbee 4y ago
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.
- ckennelly 4y agoThe 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.md#system-level-optimizations https://github.com/google/tcmalloc/blob/master/docs/tuning.m... (Disclosure: I work on TCMalloc and authored the above doc.)