* Require more info on Huge pages
@ 2009-03-17 11:39 Halesh
2009-03-17 15:45 ` Halesh
0 siblings, 1 reply; 2+ messages in thread
From: Halesh @ 2009-03-17 11:39 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-17 15:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-17 11:39 Require more info on Huge pages Halesh
2009-03-17 15:45 ` Halesh
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®