← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1428551] [NEW] creating vm may fails with large page vm and ordinary vm on the same numa node

 

Public bug reported:

creating ordinary vm may fails with large page vm and ordinary vm on the
same numa node.

the following scene can reproduce the problem:
1. Assumpt that a host with two numa nodes are used to create vm, and the memory of each numa node consists of 5GB huge page and 5GB ordinary page.

2. create a vm with huge page  that use 3GB huge page memory in the host
numa node 0. Now, the usable memory of the host numa node 0 consists of
2GB huge page and 5GB ordinary page.

3. At this time, we create an ordinary numa vm with 6GB and the
NUMATopologyFilter filter may select the host numa node 0. If the host
numa node 0 is selected, the libvirt will report OOM error.

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  creating ordinary vm may fails with large page vm and ordinary vm on the
  same numa node.
  
  the following scene can reproduce the problem:
  1. Assumpt that a host with two numa nodes are used to create vm, and the memory of each numa node consists of 5GB huge page and 5GB ordinary page.
  
  2. create a vm with huge page  that use 3GB huge page memory in the host
  numa node 0. Now, the usable memory of the host numa node 0 consists of
  2GB huge page and 5GB ordinary page.
  
- 3. At this time, we create an ordinary numa vm with 6GB and the NUMATopologyFilter filter may select the host numa node 0.
-     If the host numa node 0 is selected, the libvirt will report OOM error.
+ 3. At this time, we create an ordinary numa vm with 6GB and the
+ NUMATopologyFilter filter may select the host numa node 0. If the host
+ numa node 0 is selected, the libvirt will report OOM error.

-- 
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/1428551

Title:
  creating vm may fails with large page vm and ordinary vm on the same
  numa node

Status in OpenStack Compute (Nova):
  New

Bug description:
  creating ordinary vm may fails with large page vm and ordinary vm on
  the same numa node.

  the following scene can reproduce the problem:
  1. Assumpt that a host with two numa nodes are used to create vm, and the memory of each numa node consists of 5GB huge page and 5GB ordinary page.

  2. create a vm with huge page  that use 3GB huge page memory in the
  host numa node 0. Now, the usable memory of the host numa node 0
  consists of 2GB huge page and 5GB ordinary page.

  3. At this time, we create an ordinary numa vm with 6GB and the
  NUMATopologyFilter filter may select the host numa node 0. If the host
  numa node 0 is selected, the libvirt will report OOM error.

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


Follow ups

References