30 ms·
Has anyone actually run into a situation where THP is a benefit? I've run into enough memory slow downs by transparent huge pages that it's just a default to t
by mitchell_h 11y ago
Has anyone actually run into a situation where THP is a benefit? I've run into enough memory slow downs by transparent huge pages that it's just a default to turn it off on all builds. I've never seen a production work load that has had any performance gain from THP.
Same with numa.
- feld 11y agoYes, someone has been working on upstreaming 1GB SuperPages to FreeBSD because it dramatically increased the performance of their firewall appliances. https://lists.freebsd.org/pipermail/freebsd-hackers/2014-November/046449.html https://lists.freebsd.org/pipermail/freebsd-hackers/2014-Nov... These large (>4K) pages definitely have their uses.
- bonzini 11y agoTHP was introduced for KVM, and has huge benefits there. In fact I suggest that you set /sys/kernel/mm/transparent_hugepage/enabled to "madvise" rather than "never". This was applications that like their hugepages can still enable it manually.