yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22450
[Bug 1374902] [NEW] missing vcpupin elements in cputune for numa case
Public bug reported:
Boot instance with flavor as below:
os@os2:~$ nova flavor-show 100
+----------------------------+------------------------+
| Property | Value |
+----------------------------+------------------------+
| OS-FLV-DISABLED:disabled | False |
| OS-FLV-EXT-DATA:ephemeral | 0 |
| disk | 0 |
| extra_specs | {"hw:numa_nodes": "2"} |
| id | 100 |
| name | numa.nano |
| os-flavor-access:is_public | True |
| ram | 512 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 8 |
+----------------------------+------------------------+
The result is
<vcpu placement='static'>8</vcpu>
<cputune>
<vcpupin vcpu='3' cpuset='0-7,16-23'/>
<vcpupin vcpu='7' cpuset='8-15,24-31'/>
</cputune>
<cpu>
<topology sockets='8' cores='1' threads='1'/>
<numa>
<cell cpus='0-3' memory='1024'/>
<cell cpus='4-7' memory='1024'/>
</numa>
</cpu>
The cputune should be:
<cputune>
<vcpupin vcpu='0' cpuset='0-7,16-23'/>
<vcpupin vcpu='1' cpuset='0-7,16-23'/>
<vcpupin vcpu='2' cpuset='0-7,16-23'/>
<vcpupin vcpu='3' cpuset='0-7,16-23'/>
<vcpupin vcpu='4' cpuset='0-7,16-23'/>
<vcpupin vcpu='5' cpuset='0-7,16-23'/>
<vcpupin vcpu='6' cpuset='0-7,16-23'/>
<vcpupin vcpu='7' cpuset='8-15,24-31'/>
</cputune>
** Affects: nova
Importance: Undecided
Assignee: Alex Xu (xuhj)
Status: New
** Changed in: nova
Assignee: (unassigned) => Alex Xu (xuhj)
--
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/1374902
Title:
missing vcpupin elements in cputune for numa case
Status in OpenStack Compute (Nova):
New
Bug description:
Boot instance with flavor as below:
os@os2:~$ nova flavor-show 100
+----------------------------+------------------------+
| Property | Value |
+----------------------------+------------------------+
| OS-FLV-DISABLED:disabled | False |
| OS-FLV-EXT-DATA:ephemeral | 0 |
| disk | 0 |
| extra_specs | {"hw:numa_nodes": "2"} |
| id | 100 |
| name | numa.nano |
| os-flavor-access:is_public | True |
| ram | 512 |
| rxtx_factor | 1.0 |
| swap | |
| vcpus | 8 |
+----------------------------+------------------------+
The result is
<vcpu placement='static'>8</vcpu>
<cputune>
<vcpupin vcpu='3' cpuset='0-7,16-23'/>
<vcpupin vcpu='7' cpuset='8-15,24-31'/>
</cputune>
<cpu>
<topology sockets='8' cores='1' threads='1'/>
<numa>
<cell cpus='0-3' memory='1024'/>
<cell cpus='4-7' memory='1024'/>
</numa>
</cpu>
The cputune should be:
<cputune>
<vcpupin vcpu='0' cpuset='0-7,16-23'/>
<vcpupin vcpu='1' cpuset='0-7,16-23'/>
<vcpupin vcpu='2' cpuset='0-7,16-23'/>
<vcpupin vcpu='3' cpuset='0-7,16-23'/>
<vcpupin vcpu='4' cpuset='0-7,16-23'/>
<vcpupin vcpu='5' cpuset='0-7,16-23'/>
<vcpupin vcpu='6' cpuset='0-7,16-23'/>
<vcpupin vcpu='7' cpuset='8-15,24-31'/>
</cputune>
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1374902/+subscriptions
Follow ups
References