<tt><font size=1 color=#2f2f2f>Hi,</font></tt>
<br>
<br><tt><font size=1 color=#2f2f2f>In the current implementation scheme:</font></tt>
<br><tt><font size=1 color=#2f2f2f>/nova/pci/stats.py<br>
################################################################################<br>
def _filter_pools_for_numa_cells(pools, numa_cells):<br>
# Some systems don't report
numa node info for pci devices, in<br>
# that case None is reported
in pci_device.numa_node, by adding None<br>
# to numa_cells we allow
assigning those devices to instances with<br>
# numa topology<br>
numa_cells = [None] + [cell.id
for cell in numa_cells]<br>
#################################################################################</font></tt>
<br><tt><font size=1 color=#2f2f2f>If some compute nodes don't report numa
node info for pci devices.<br>
Then these pci devices will be regarded as "belong to all numa node"
to deal with by default.</font></tt>
<br><tt><font size=1 color=#2f2f2f>This can lead to a problem:<br>
Pci devices is not on the numa node which CPU\MEM on.<br>
In this way, the real purpose of I/O (PCIe) Based NUMA Scheduling is not
reached.<br>
More serious is that the user will be wrong thought pci devices is on the
numa node that CPU\MEM on.</font></tt>
<br><tt><font size=1 color=#2f2f2f>The truth is, there are still many systems
don't report numa node info for pci devices.<br>
So, i think this bug need fixed.</font></tt>
<br>
<br><font size=2 face="΢ÈíÑźÚ">#link£º</font>
<br><a href="https://bugs.launchpad.net/nova/+bug/1551504"><font size=2 face="΢ÈíÑźÚ">https://bugs.launchpad.net/nova/+bug/1551504</font></a>
<br><font size=2 face="΢ÈíÑźÚ"> <br>
</font><a href=https://review.openstack.org/#/c/298179/><font size=2 face="΢ÈíÑźÚ">https://review.openstack.org/#/c/298179/</font></a>
<br>
<br><font size=2 face="΢ÈíÑźÚ">Best regards£¬</font>
<br>
<br><font size=2 face="΢ÈíÑźÚ">Jinquan Ni</font>
<br><font size=3><br>
</font><font size=3 color=#5f5f5f face="Arial"><br>
Ni Jinquan </font><font size=3 color=#5f5f5f face="΢ÈíÑźÚ">Äß½øȨ</font><font size=2 color=#5f5f5f face="Arial"><br>
NAIL, NIV Nanjing Dept.I</font><font size=3><br>
</font>
<table>
<tr valign=top>
<td><img src=cid:_1_1B10AA641B100CBC003B303748257FD9>
<td><img src=cid:_1_1B10AC681B106DAC003B303748257FD9><font size=1 color=#5f5f5f face="Arial"><br>
R&D Building, ZTE Plaza, #6 Huashen Ave. <br>
Yuhuatai District, Nanjing, P.R.China, 210012</font><font size=1 color=#00a1e0 face="Arial"><br>
T</font><font size=1 color=#5f5f5f face="Arial">: +86 025-52877383
</font><font size=1 color=#00a1e0 face="Arial">M</font><font size=1 color=#5f5f5f face="Arial">:
+86 13584094152</font><font size=1 color=#00a1e0 face="Arial"><br>
E</font><font size=1 color=#5f5f5f face="Arial">: ni.jinquan@zte.com.cn</font><font size=1 color=blue face="Arial"><u><br>
</u></font><a href=http://www.zte.com.cn/><font size=1 color=#00a1e0 face="Arial"><u>www.zte.com.cn</u></font></a><font size=1 color=#5f5f5f face="Arial"><br>
</font>
<tr valign=top>
<td colspan=2><font size=3>»¶Ó·ÃÎÊOpenCOSÃÅ»§ </font><a href=http://opencos.zte.com.cn/><font size=3 color=#00a1e0><u>http://opencos.zte.com.cn</u></font></a><font size=3>
</font></table>
<br>
<br><pre><font color="blue">
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.
</font></pre><br>