On (08/09/08 14:05), Adam Litke didst pronounce:
> 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. 

Indeed, I am the user that needed this actually as some results that
made "no sense" turned out to be because hugepages were not being used
at all. It was obvious when I went through debugging output but not at
all obvious otherwise. I can maintain this patch external to the tree
for my own purposes and revisit this later.

> 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.
> 

Grand

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab

-------------------------------------------------------------------------
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