From: Halesh <halesh.s@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Require more info on Huge pages
Date: Tue, 17 Mar 2009 11:39:33 +0000 (UTC) [thread overview]
Message-ID: <loom.20090317T110726-453@post.gmane.org> (raw)
Hi everyone,
While going through Huge pages in Linux, I ran test which is available in
http://lxr.linux.no/linux/Documentation/vm/hugetlbpage.txt. I properly
configured the nr_hugepages and mount points.
If I interrupt the test while running (ctrl+c) and try to restart the test than
mmap will fail saying No memory to map. This means I am not able to mmap Large
pages further.
This happens only when I interrupt the running test and try to rerun it.
I checked with the /proc/meminfo o/p
MemTotal: 3919196 kB
MemFree: 373460 kB
<snip>
HugePages_Total: 1521
HugePages_Free: 1309
HugePages_Rsvd: 1308 **
Hugepagesize: 2048 kB
<snip>
and top command o/p gives like this
<snip>
Mem: 3919196k total, 3546216k used, 372980k free, 14180k buffers
Swap: 610460k total, 0k used, 610460k free, 287656k cached
<snip>
Even process already exited, why does the memory not getting freed??
will large pages are still locked in the memory ? or needs some time or any
method to get broken to small pages and get freed??
There are no other memory eating process running in my system.
Until next reboot the memory is not getting freed.
Please let me know more about this problem.
Thanks,
Halesh
next reply other threads:[~2009-03-17 11:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 11:39 Halesh [this message]
2009-03-17 15:45 ` Halesh
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=loom.20090317T110726-453@post.gmane.org \
--to=halesh.s@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®