logoalt Hacker News

toast0yesterday at 9:30 PM1 replyview on HN

AFAIK, FreeBSD has been doing transparent superpages for decades (I think it was implemented in 2002 for x86 [1], and 2014 for arm [2]) and I don't know of any real issues with it? (I'm sure you could build a test case where it thrashes and causes trouble) Not sure why Linux wouldn't do the same??

[1] https://www.usenix.org/legacy/events/osdi02/tech/full_papers...

[2] https://www.bsdcan.org/2014/schedule/attachments/281_2014_ar...


Replies

jeffbeeyesterday at 9:53 PM

Linux also has support for it but it is up to the distribution, or the user, to enable or disable it. The whole discourse was poisoned years ago when the author of Redis told everyone to disable THP on Linux, but this was caused by Redis being a poor program, not by THP being a poor feature. Unfortunately, even though the Redis project finally removed their document about this, many people still carry this bias.

show 2 replies