← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1831652] [NEW] fixing the case where we use every single page in 1 vm

 

Public bug reported:

Got this error: qemu-kvm: -object memory-backend-ram,id=ram-
node0,size=12884901888,host-nodes=0,policy=bind: cannot set up guest
memory 'ram-node0': Cannot allocate memory.

My Hardware: 32CPU / 32G memory

Flavor: 30 vCPU / 24000 MB (24G) memory

Grub hugemem setting: hugepagesz=2M hugepages=12288

[root@ostack-compute-sriov-196 ~]# cat /sys/devices/system/node/node*/meminfo | grep -i hugepage
Node 0 AnonHugePages:         0 kB
Node 0 HugePages_Total:  6144
Node 0 HugePages_Free:    394
Node 0 HugePages_Surp:      0
Node 1 AnonHugePages:         0 kB
Node 1 HugePages_Total:  6144
Node 1 HugePages_Free:    394
Node 1 HugePages_Surp:      0


Solution was set 23000 MB (23G) in flavor to make it work. 

IRC: sean-k-mooney suggested to open bug to use every single page in 1
vm.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1831652

Title:
  fixing the case where we use every single page in 1 vm

Status in OpenStack Compute (nova):
  New

Bug description:
  Got this error: qemu-kvm: -object memory-backend-ram,id=ram-
  node0,size=12884901888,host-nodes=0,policy=bind: cannot set up guest
  memory 'ram-node0': Cannot allocate memory.

  My Hardware: 32CPU / 32G memory

  Flavor: 30 vCPU / 24000 MB (24G) memory

  Grub hugemem setting: hugepagesz=2M hugepages=12288

  [root@ostack-compute-sriov-196 ~]# cat /sys/devices/system/node/node*/meminfo | grep -i hugepage
  Node 0 AnonHugePages:         0 kB
  Node 0 HugePages_Total:  6144
  Node 0 HugePages_Free:    394
  Node 0 HugePages_Surp:      0
  Node 1 AnonHugePages:         0 kB
  Node 1 HugePages_Total:  6144
  Node 1 HugePages_Free:    394
  Node 1 HugePages_Surp:      0

  
  Solution was set 23000 MB (23G) in flavor to make it work. 

  IRC: sean-k-mooney suggested to open bug to use every single page in 1
  vm.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1831652/+subscriptions