On (26/03/08 10:05), Luck, Tony didst pronounce: > > That's not entirely true. We have a dynamic pool now, thanks to Adam > > Litke [added to Cc], which can be treated as a high watermark for the > > hugetlb pool (and the static pool value serves as a low watermark). > > Unless by hugepages you mean something other than what I think (but > > referring to a 2M size on x86 imples you are not). And with the > > antifragmentation improvements, hugepage pool changes at run-time are > > more likely to succeed [added Mel to Cc]. > > Things are better than I thought ... though the phrase "more likely > to succeed" doesn't fill me with confidence. It's a lot more likely to succeed since 2.6.24 than it has in the past. On workloads where it is mainly user data that is occuping memory, the chances are even better. If min_free_kbytes is hugepage_size*num_online_nodes(), it becomes a harder again to fragment memory. > Instead I imagine a > system where an occasional spike in memory load causes some memory > fragmentation that can't be handled, and so from that point many of > the applications that relied on huge pages take a 10% performance > hit. If it was found to be a problem and normal anti-frag is not coping for hugepage pool resizes, then specify movablecore=MAX_POSSIBLE_POOL_SIZE_YOU_WOULD_NEED on the command-line and the hugepage pool will be able to expand to that side independent of workload. This would avoid the need to scheduled regular reboots. > This results in sysadmins scheduling regular reboots to unjam > things. [Reminds me of the instructions that came with my first > flatbed scanner that recommended rebooting the system before and > after each use :-( ] > > > I feel like I should promote libhugetlbfs here. > > This is also better than I thought ... sounds like some really > good things have already happened here. > -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |