All of lore.kernel.org
 help / color / mirror / Atom feed
* How movable is zone movable?
@ 2009-04-12 15:29 Ed Tomlinson
  2009-04-13  1:04 ` KAMEZAWA Hiroyuki
  2009-04-13  9:59 ` Mel Gorman
  0 siblings, 2 replies; 6+ messages in thread
From: Ed Tomlinson @ 2009-04-12 15:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: mel, Nick Piggin

Hi,

How dependable should zone movable be?  After a boot kvm is able to get enough hugepages to 
back the session.  After a day or two it becomes a lot less predictable.  Sometimes it will swap out for 30 seconds
and then succeed other times it will fail.  Interestingly, it sometimes works if I cancel the kvm session after
it tells me it cannot allocate the hugepages and immediatly restart.  It there some way to determine what
is not respecting zone moveable?  Or is zone moveable just a suggestion and not expected to really be 
moveable?

I have the following set in sysctl.conf

# huge_pages with movablecore set to 3G
kernel.shmmax = 8589934592
vm.nr_hugepages = 128
vm.nr_overcommit_hugepages = 1408
vm.hugepages_treat_as_movable = 1
vm.hugetlb_shm_group = 1005

This is with any recient kernel release (2.6.28 and later)

Thanks,
Ed Tomlinson

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-04-14  9:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-12 15:29 How movable is zone movable? Ed Tomlinson
2009-04-13  1:04 ` KAMEZAWA Hiroyuki
2009-04-13  9:59 ` Mel Gorman
2009-04-13 10:04   ` Mel Gorman
2009-04-13 12:10     ` Ed Tomlinson
2009-04-14  9:18       ` Mel Gorman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.