4 ms·
The Discourse project are using a tool called thpoff to disable transparent hugepages for their Ruby apps[0], and Ruby 2.6+ are disabling transparent hugepages
by kawsper 8y ago
The Discourse project are using a tool called thpoff to disable transparent hugepages for their Ruby apps[0], and Ruby 2.6+ are disabling transparent hugepages for all applications[1].
[0] https://github.com/discourse/discourse_docker/blob/ade283329cae98177ef2578a801c557eac36e81f/image/base/thpoff.c https://github.com/discourse/discourse_docker/blob/ade283329...
[1] https://bugs.ruby-lang.org/issues/14705 https://bugs.ruby-lang.org/issues/14705
- nateberkopec 8y agoWorth noting that the main reason Rubyists are disabling THP is memory consumption, which is something the author didn't measure.