From: Ed Tomlinson <edt@aei.ca>
To: linux-kernel@vger.kernel.org
Cc: mel@csn.ul.ie, Nick Piggin <npiggin@suse.de>
Subject: How movable is zone movable?
Date: Sun, 12 Apr 2009 11:29:09 -0400 [thread overview]
Message-ID: <200904121129.09851.edt@aei.ca> (raw)
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
next reply other threads:[~2009-04-12 15:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-12 15:29 Ed Tomlinson [this message]
2009-04-13 1:04 ` How movable is zone movable? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200904121129.09851.edt@aei.ca \
--to=edt@aei.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=mel@csn.ul.ie \
--cc=npiggin@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.