hi everyone,
- I compiled Linux kernel 2.6.18 with hugetlbfs support on fedora core 5 and the compilation was successful.
- I then runned the following commands to mount the hugetlbfs filesystem and set the numbers of hugepages in the system.
- First i tried cat /proc/meminfo command and i got
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
- Then cat /proc/sys/vm/nr_hugepages (indicates the
current number of configured hugetlb) command and i got 0 as output.
current number of configured hugetlb) command and i got 0 as output.
- So i tried mounting the filesystem of type hugetlbfs by
using the command mount none /mnt/huge -t hugetlbfs and it got
mounted.
using the command mount none /mnt/huge -t hugetlbfs and it got
mounted.
- Then i used echo 10 > /proc/sys/vm/nr_hugepages
to configure 10 hugepages in the system. and again tried cat /proc/sys/vm/nr_hugepages and i got 1 as output.
where it should have be 10.
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
[Index of Archives]
[Newbies FAQ]
[Linux Kernel Mentors]
[Linux Kernel Development]
[IETF Annouce]
[Git]
[Networking]
[Security]
[Bugtraq]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux SCSI]
[Linux ACPI]
to configure 10 hugepages in the system. and again tried cat /proc/sys/vm/nr_hugepages and i got 1 as output.
where it should have be 10.
- i then tried to copy any temporary file to the mounted directory but it
signaled "insufficient memory".
signaled "insufficient memory".
Can anyone tell me why it gave 1 instead of 10 after echo 10 > /proc/sys/vm/nr_hugepages command ?
and also why it gave
"insufficient memory" signal ?
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
- Follow-Ups:
- Re: Hugetlbfs support error.
- From: Nish Aravamudan
- Re: Hugetlbfs support error.
- Prev by Date: Hugetlbfs support error.
- Next by Date: PAE enabling
- Previous by thread: Hugetlbfs support error.
- Next by thread: Re: Hugetlbfs support error.
- Index(es):