Hi Jim and Brent,
For this task, I have almost finished it, including improvement according to review commends from community.
However, it still have some dependency on nova master version now.
This affinity agent could not get both pci_device info and numa info of server from nova.
In nova stage version, we added below two for server.
server["wrs-res:topology"]
server["wrs-res:pci_devices"]
In nova master, no these attributions for server.
For topology, I can see that there is a patch of adding numa topology pending for merge
https://review.openstack.org/#/c/621476 Add server sub-resource topology API
Do you have any proposal for it?
Thanks!
Zhipeng
Hi Jim and all,
I have submitted all my patches for PCI Interrupt affinity feature as below link.
https://review.openstack.org/#/c/640264/
https://review.openstack.org/#/c/640263/
Below one is the patch for removing pci-irq-affinity function from nova.
https://github.com/hustlzp1981/stx-nova/commit/c52432b3e7a240817a2de06321a2459f4862ab6a
Your comments are appreciated!
Thanks!
Zhipeng
From: Gauld, James [mailto:James.Gauld@windriver.com]
Sent: 2019年2月26日
22:07
To: Liu, ZhipengS <zhipengs.liu@intel.com>;
starlingx-discuss@lists.starlingx.io
Subject: Re: [Starlingx-discuss] PCI Interrupt affinity task
Zhipeng,
Option 1) is a reasonable choice. I agree with your reasoning.
FYI, I don’t think we depend on nova-sriov script anymore, but we haven't actually tested with that removed.
Please add me to your code inspection.
-Jim
From: Liu, ZhipengS [mailto:zhipengs.liu@intel.com]
Sent: February-21-19 10:24 PM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] PCI Interrupt affinity task
Hi all
Recently, I have being working on pci interrupt affinity task (https://storyboard.openstack.org/#!/story/2004600)
So far I have finished coding, basic deployment test and function test.
Now, I’m preparing for uploading my patch for code review.
However, I need to decide where to put code folder.
From my point, there are two options below.
1)
stx-integ/utilities/nova-utils/pci-affinity-agent
2)
stx-config/sysinv/pci-affinity-agent (I put code here currently)
I prefer option 1 as nova-utils is just used to install nova-sriov script only and pci affinity is also an extended feature for nova.
We can reuse nova-utils package with additional RPM for pci-affinity-agent
Any comment from you? Thanks!
zhipeng