On Mon, 2008-09-08 at 17:33 +0100, Mel Gorman wrote:
> By default, libhugetlbfs will fall back to using base pages when huge pages
> are not available. In some situations such as benchmarking this may not be
> desirable as the user would be using base pages when they believed huge
> pages were in use. This patch enables the user to specify that hugepages
> must be used by setting the HUGETLB_STRICT environment variable.

Since there is no user at present that is asking for this feature, I
think we should put it on hold.  We may want to employ a more
sophisticated fallback mechanism in the future (one that can take
advantage of multiple huge page sizes).  If we end up going that route,
we may want a different environment variable (such as
HUGETLB_FALLBACK_MODE) which could be set to allow fallback to other
page sizes, allow no fallback, or allow fallback without trying other
sizes.

Regardless of how people feel about my cross-page-size fallback ideas, I
don't feel that there is an immediate, pressing need for this feature
right now.

-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to