Linux HugePages /proc/meminfo輸出行的含義

尛樣兒發表於2013-01-14

[root@dbser1 sysconfig]# grep Huge /proc/meminfo
HugePages_Total:   10250
HugePages_Free:       32
HugePages_Rsvd:       23
HugePages_Surp:        0
Hugepagesize:       2048 kB
The output of "cat /proc/meminfo" will include lines like:

.....
HugePages_Total: vvv
HugePages_Free:  www
HugePages_Rsvd:  xxx
HugePages_Surp:  yyy
Hugepagesize:    zzz kB

where:
HugePages_Total is the size of the pool of huge pages.
HugePages_Free  is the number of huge pages in the pool that are not yet
                allocated.
HugePages_Rsvd  is short for "reserved," and is the number of huge pages for
                which a commitment to allocate from the pool has been made,
                but no allocation has yet been made.  Reserved huge pages
                guarantee that an application will be able to allocate a
                huge page from the pool of huge pages at fault time.
HugePages_Surp  is short for "surplus," and is the number of huge pages in
                the pool above the value in /proc/sys/vm/nr_hugepages. The
                maximum number of surplus huge pages is controlled by
                /proc/sys/vm/nr_overcommit_hugepages.

        更多詳細資訊請參考文件:http://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-752655/,如需轉載,請註明出處,否則將追究法律責任。

相關文章