ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux HugePages /proc/meminfo输出行的含义

Linux HugePages /proc/meminfo输出行的含义

Linux操作系统 作者:minxuan2013 时间:2014-12-30 13:40:51 0 删除 编辑

[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博客 ” ,链接:https://blog.itpub.net/29615408/viewspace-1384906/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-12-30

  • 博文量
    112
  • 访问量
    95872