Re: [ovirt-devel] [Bug fix of NUMA feature] Add vNode run in pNode runtime information
afaik you should not directly call libvirt api but use the vdsm api? but someone with more insight into vdsm can provide better information than me. Am 22.05.2014 04:13, schrieb Shi, Xiao-Lei (Bruce, HP Servers-PSC-CQ): from libvirt api, we can get each vcpu run in which physical cpu runtime -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Re: [ovirt-devel] [Bug fix of NUMA feature] Add vNode run in pNode runtime information
Actually we don't directly call libvirt api, we call it from the wrapped libvirtconnection like other functions do in vdsm. Thanks Best Regards Shi, Xiao-Lei (Bruce) Hewlett-Packard Co., Ltd. HP Servers Core Platform Software China Telephone +86 23 65683093 Mobile +86 18696583447 Email xiao-lei@hp.com -Original Message- From: devel-boun...@ovirt.org [mailto:devel-boun...@ovirt.org] On Behalf Of Sven Kieske Sent: Thursday, May 22, 2014 3:20 PM To: devel@ovirt.org Subject: Re: [ovirt-devel] [Bug fix of NUMA feature] Add vNode run in pNode runtime information afaik you should not directly call libvirt api but use the vdsm api? but someone with more insight into vdsm can provide better information than me. Am 22.05.2014 04:13, schrieb Shi, Xiao-Lei (Bruce, HP Servers-PSC-CQ): from libvirt api, we can get each vcpu run in which physical cpu runtime -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
[ovirt-devel] [Bug fix of NUMA feature] Add vNode run in pNode runtime information
Hi all, I'm working on the NUMA feature of oVirt. The feature is already merged in oVirt 3.5.0 alpha 1. Currently, it only has the virtual numa node (vNode) pin to host numa node(pNode) information which is configured by user. We plan to collect the runtime information from vdsm that vNode run in which pNodes. Since this information is dynamic and changes more often, we want to let this information reported in the process of vm stats report. According to the above requirement, we will do the following development in both engine and vdsm: Vdsm side: 1. In vm module, we will add a function to collect and calculate the real-time information that vNode run in pNodes. From caps module, we can get the cpu mapping information of each pNode; from vm conf, we can get the vcpu mapping information of each vNode; from libvirt api, we can get each vcpu run in which physical cpu runtime. According to the information, we can calculate the vNode run in pNodes information runtime. 2. Add a key in vm stat map to hold the information and report it to engine. Engine side: 1. Currently we have the structure to store the vNode run in pNode information. In the structure, we have a field ispinned to represent if the vNode is configured by user to pin to the pNode, or it is runtime run in the pNode. Now we only need to parse the reported information from vdsm and update it in db. We will open a bug to implement the requirement and merge it into 3.5.0. Any comments and suggestions are welcome. Thanks Best Regards Shi, Xiao-Lei (Bruce) Hewlett-Packard Co., Ltd. HP Servers Core Platform Software China Telephone +86 23 65683093 Mobile +86 18696583447 Email xiao-lei@hp.commailto:shiguo...@hp.com ___ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel