[ ¸®´ª½º - hugepage ] ¼³Á¤ ¹®ÀÇ

   Á¶È¸ 6706   Ãßõ 0    

 grubby --update-kernel=ALL --args="transparent_hugepage=never default_huge1pagesz=1G hugepagesz=1G hugepages=100"

grub2-install /dev/sda

sync; reboot


상기와 같이 설정하였으나, HugePage 1GB 가 설정되지 않은 것 같아서, 문의드립니다.

오픈스택에서 VM에 HugePage 1G를 제공하려합니다.

설정 중 잘못된 부분 지적이나 조언 부탁 드려봅니다.


HW는 HP ML350e Gen8 (INTEL E5 2450L,메모리 180GB, 레드핫 7.3) 입니다.


# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.10.0-693.5.2.el7.x86_64 root=UUID=1d3cbb20-3cce-4593-8695-981bc81d4b7e ro rhgb quiet LANG=en_US.UTF-8 intel_iommu=on ixgbe.max_vfs=63 transparent_hugepage=never default_huge1pagesz=1G hugepagesz=1G hugepages=100


[root@compute-2 ~(keystone_admin)]# more /proc/meminfo
MemTotal:       181411716 kB
MemFree:        74565160 kB
MemAvailable:   74458280 kB

....

[root@compute-2 ~(keystone_admin)]# numastat -cm | egrep 'Node|Huge'
                 Node 0 Node 1  Total
AnonHugePages         0      0      0
HugePages_Total       0      0      0
HugePages_Free        0      0      0
HugePages_Surp        0      0      0

[root@compute-2 ~(keystone_admin)]# grep "Huge" /proc/meminfo
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
     
¾Ë·Á ÁֽŠ¹Ù¸¦ È®ÀÎÇØ º¸´Ï,
  hugepages (hugepage °¹¼ö)´Â º¯°æÀÌ °¡´ÉÇϳª, Çϱâ¿Í °°ÀÌ Huge Page Size´Â º¯°æÀÌ ºÒ°¡ÇÕ´Ï´Ù.

[root@compute-2 ~(keystone_admin)]# echo 2500 > /proc/sys/vm/nr_hugepages
[root@compute-2 ~(keystone_admin)]# cat /proc/meminfo | grep Huge       
AnonHugePages:    122880 kB
HugePages_Total:    2500
HugePages_Free:    2500
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:      2048 kB

[root@compute-2 vm(keystone_admin)]# ls *huge*
hugepages_treat_as_movable  hugetlb_shm_group  nr_hugepages  nr_hugepages_mempolicy  nr_overcommit_hugepages
          
ÀÚ´äÇÕ´Ï´Ù.
E5 2450LÀº CPU FLAG "pdpe1gb"¸¦ Áö¿øÇÏÁö ¸øÇؼ­, HugePagez 1GB¸¦ »ç¿ëÀÌ ºÒ°¡Çϳ׿ä
               
https://en.wikipedia.org/wiki/Westmere_(microarchitecture)
westmere °è¿­ÀÌ Áö¿øÇѴٳ׿ä
X5650(60, 70, 80)  µîµî
                    
³× °¨»çÇÕ´Ï´Ù.
                         
cpu flags  ¶§¹®¿¡ ƯÁ¤ ±â´ÉÀ» »ç¿ëÇÏÁö ¸øÇÏ´Â °æ¿ìµµ Àֳ׿ä
ÀÌ·± °æ¿ì´Â óÀ½ÀΰŠ°°½À´Ï´Ù. ÁÁÀº°Å ¹è¿ü½À´Ï´Ù


QnA
Á¦¸ñPage 1772/5682
2014-05   4952263   Á¤ÀºÁØ1
2015-12   1488823   ¹é¸Þ°¡
2017-11   4248   ±è°Ç¿ì
2017-11   4193   µÎcpu
2017-11   3740   Ä«¼Ò½Ã½º
2017-11   8295   ¼­¿ïI±èµ¿¼ö
2017-11   3729   Çϼ¿È£ÇÁ
2017-11   3746   Ãʺ¸IT
2017-11   3707   epowergate
2017-11   4561   ¹®¼ºÃ¶
2017-11   3866   ³Ê¸¸¹Ï´Â´Ù
2017-11   3903   ±¸Æ÷¿ª
2017-11   3367   dongcheol
2017-11   3964   À¸¶óÂ÷Â÷Â÷
2017-11   4219   NiteFlite9
2017-11   12316   ÇູÇϼ¼
2017-11   6707   Àü¼³¼ÓÀǹ̡¦
2017-11   4644   ±è´ë¿ø
2017-11   4578   ĸƾ¾Æ¸Þ¸®Ä«³ë
2017-11   4419   ÇØÇǹö±×
2017-11   10309   Àº¿ì¸¶½ºÅÍ
2017-11   3598   ³ª¶ó»ç¶û