LWN.net Logo

Transparent hugepages

Transparent hugepages

Posted Oct 30, 2009 8:21 UTC (Fri) by MisterIO (guest, #36192)
Parent article: Transparent hugepages

Couldn't they add this feature in a parameterized form? then at compile time you decide the max dimension of hugepages.


(Log in to post comments)

Transparent hugepages

Posted Oct 30, 2009 14:53 UTC (Fri) by dtlin (✭ supporter ✭, #36537) [Link]

Only if somebody writes the code first. Right now I think it's one-size-
only.

Transparent hugepages

Posted Nov 8, 2009 3:29 UTC (Sun) by butlerm (subscriber, #13312) [Link]

Hugepages here rely on multiple page size support in hardware to minimize
translation lookaside buffer (TLB) overhead in the CPU. As such, you can
only use the size or handful of sizes the CPU supports.

It is possible to do something similar in software alone, to create larger
than normal "virtual" pages, but while that may have certain internal
efficiencies, it doesn't reduce the TLB lookup overhead of all the smaller
physical pages at all.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds