[libvirt] [resend v2 3/7] Resctrl: Add new xml element to support cache tune

2017-02-05 Thread Eli Qiao
This patch adds new xml element to support cache tune as: ... ... id: any non-minus number host_id: reference of the host's cache banks id, it's from capabilities type: cache bank type size: should be multiples of the min_size of the bank on host. --- docs/schemas/domaincommon.rng |

[libvirt] [resend v2 2/7] Resctrl: expose cache information to capabilities

2017-02-05 Thread Eli Qiao
Signed-off-by: Eli Qiao <liyong.q...@intel.com> --- src/conf/capabilities.c | 56 src/conf/capabilities.h | 23 +++ src/libvirt_private.syms | 1 + src/qemu/qemu_capabilities.c | 68 +++

[libvirt] [V2 3/5] Resctrl: Add new xml element to support cache tune

2017-02-02 Thread Eli Qiao
This patch adds new xml element to support cache tune as: ... ... id: any non-minus number host_id: reference of the host's cache banks id, it's from capabilities type: cache bank type size: should be multiples of the min_size of the bank on host. --- docs/schemas/domaincommon.rng |

[libvirt] [V2 5/5] Qemu: Set cache banks

2017-02-02 Thread Eli Qiao
Set cache banks while booting a new domain. Signed-off-by: Eli Qiao <liyong.q...@intel.com> --- src/qemu/qemu_process.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index 184440d..ec3d3c2 100644 --- a/src/qemu/qemu_pro

[libvirt] [V2 4/5] Resctrl: Add private interface to set cachebanks

2017-02-02 Thread Eli Qiao
virResCtrlSetCacheBanks: Set cache banks of a libvirt domain. It will create new resource domain under `/sys/fs/resctrl` and fill the schemata according the cache banks configration. virResCtrlUpdate: Update the schemata after libvirt domain destroy. Signed-off-by: Eli Qiao <liyon

[libvirt] [V2 1/5] Resctrl: Add some utils functions

2017-02-02 Thread Eli Qiao
resource control information. Signed-off-by: Eli Qiao <liyong.q...@intel.com> --- include/libvirt/virterror.h | 1 + src/Makefile.am | 1 + src/libvirt_private.syms| 4 + src/util/virerror.c | 1 + src/util/virresctrl.c

[libvirt] [V2 2/5] Resctrl: expose cache information to capabilities

2017-02-02 Thread Eli Qiao
Signed-off-by: Eli Qiao <liyong.q...@intel.com> --- src/conf/capabilities.c | 56 src/conf/capabilities.h | 23 +++ src/libvirt_private.syms | 1 + src/qemu/qemu_capabilities.c | 68 +++

[libvirt] [V2 0/5] Support cache tune in libvirt

2017-02-02 Thread Eli Qiao
/libvir-list/2017-January/msg00644.html Eli Qiao (5): Resctrl: Add some utils functions Resctrl: expose cache information to capabilities Resctrl: Add new xml element to support cache tune Resctrl: Add private interface to set cachebanks Qemu: Set cache banks docs/schemas/domaincommon.rng

[libvirt] [PATCH 0/2] *** Expose host's cache information in capabilities ***

2017-01-17 Thread Eli Qiao
: https://www.redhat.com/archives/libvir-list/2017-January/msg00644.html Eli Qiao (2): Resctrl: Add some utils functions Resctrl: expose cache information to capabilities include/libvirt/virterror.h | 1 + src/Makefile.am | 1 + src/conf/capabilities.c | 30 +++ src/conf

[libvirt] [PATCH 2/2] Resctrl: expose cache information to capabilities

2017-01-17 Thread Eli Qiao
This patch expose cache information to host's capabilites xml. There are some nits difference from RFC on mailing list. https://www.redhat.com/archives/libvir-list/2017-January/msg00644.html Signed-off-by: Eli Qiao <liyong.q...@intel.com> --- src/conf/capabili

[libvirt] [PATCH 1/2] Resctrl: Add some utils functions

2017-01-17 Thread Eli Qiao
resource contral information. Signed-off-by: Eli Qiao <liyong.q...@intel.com> --- include/libvirt/virterror.h | 1 + src/Makefile.am | 1 + src/libvirt_private.syms| 4 + src/util/virerror.c | 1 + src/util/virresctrl.c

Re: [libvirt] [V4] RFC for support cache tune(CAT) in libvirt

2017-01-15 Thread Eli Qiao
hi Daniel thanks for your comments, I'll try to refine my current code to match as this version RFC. Eli. 2017-01-13 17:41 GMT+08:00 Daniel P. Berrange <berra...@redhat.com>: > On Fri, Jan 13, 2017 at 09:38:44AM +0800, 乔立勇(Eli Qiao) wrote: > > > &g

[libvirt] [V4] RFC for support cache tune(CAT) in libvirt

2017-01-12 Thread Eli Qiao
hi all Sorry for resend this again, I forget to add subject :( ... Thanks all for the comment for previous RFC version, I summary all input here also with Opens which I am not sure, can you please review again? #Propose Changes ## Expose cache information into capabilities Extend

[libvirt] (no subject)

2017-01-12 Thread Eli Qiao
hi all Thanks all for the comment for previous RFC version, I summary all input here also with Opens which I am not sure, can you please review again? #Propose Changes ## Expose cache information into capabilities Extend capabilities to expose all level cache resource information and

Re: [libvirt] [V3] RFC for support cache tune in libvirt

2017-01-11 Thread Eli Qiao
> > more like this: > > > > > > If so, we need to extend "virsh cputune" or and new API like cachetune? > > > > > > > > Regards, > Daniel > -- > |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ > :| > |:

Re: [libvirt] [V3] RFC for support cache tune in libvirt

2017-01-11 Thread Eli Qiao
> > > > which shows each socket has its own dedicated L3 cache, and each > > core has its own L2 & L1 cache. > > We need to also include the host cache ID value in the XML to > let us reliably distinguish / associate with differet cache > banks when placing guests, if there's multiple caches of

Re: [libvirt] [V3] RFC for support cache tune in libvirt

2017-01-11 Thread Eli Qiao
> > > > > > yes, I like this too, it could tell the the resource sharing logic by cpus. Another thinking is that if kernel enable CDP, it will split l3 cache to code / data type So these information should not only from

Re: [libvirt] [V3] RFC for support cache tune in libvirt

2017-01-11 Thread Eli Qiao
2017-01-11 19:09 GMT+08:00 Daniel P. Berrange : > On Wed, Jan 11, 2017 at 11:55:28AM +0100, Martin Kletzander wrote: > > On Wed, Jan 11, 2017 at 10:05:26AM +, Daniel P. Berrange wrote: > > > > > > IIUC, the kernel lets us associate individual PIDs > > > with each cache.

Re: [libvirt] OpenStack/libvirt CAT interface

2017-01-11 Thread Eli Qiao
> > > > > > > > This translates to the following resctrltool-style reservations: > > > > > > res.vm-a.vcpu-2 > > > > > > type=both,size=VM-A-RESSIZE,cache-id=0 > > > > > > res.vm-b.vcpu-2 > > > > > > type=both,size=VM-B-RESSIZE,cache-id=0 > > > > > >

Re: [libvirt] "[V3] RFC for support cache tune in libvirt"

2017-01-11 Thread Eli Qiao
hi, It's really good to have you get involved to support CAT in libvirt/OpenStack. replied inlines. 2017-01-11 20:19 GMT+08:00 Marcelo Tosatti : > > Hi, > > Comments/questions related to: > https://www.redhat.com/archives/libvir-list/2017-January/msg00354.html > > 1) root

Re: [libvirt] Paradox cpu topology in capabilities outputs

2017-01-11 Thread Eli Qiao
2017-01-11 17:38 GMT+08:00 Daniel P. Berrange : > On Wed, Jan 11, 2017 at 06:52:45AM +, Qiao, Liyong wrote: > > Hi, > > > > I observe that virsh capabilities give wrong cpu topology on a multiple > sockets host > > > > taget@jfz1r04h13:~/libvirt$ lscpu > > Architecture:

[libvirt] [PATCH] Extend l3 cache to nodeinfo

2017-01-10 Thread Eli Qiao
This patch extends l3 cache infomation to nodeinfo output. Signed-off-by: Eli Qiao <liyong.q...@intel.com> --- include/libvirt/libvirt-host.h | 1 + src/nodeinfo.c | 3 ++- src/remote/remote_protocol.x | 1 + src/test/test_driver.c | 1 + src/util/virhos

[libvirt] regression on virsh capabilities ?

2016-06-30 Thread Eli Qiao
testing? can anyone help to clarify/test this? -- Best Regards, Eli Qiao (乔立勇) Intel OTC China <>-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] Question on output of virsh capabilities

2016-05-26 Thread Eli Qiao
at doesn't the features of "virsh capibalities" mean? why not pass all cpu flags? I see there is a cpu_map.xml in libvirt source, what does it used for? I have requirements to get all the hypervisors feature, what should I do? Thanks. -- Best Regards, Eli Qiao (乔立勇) Intel OTC Chi

[libvirt] [PATCH] Add Skylake Cpu Model

2016-05-16 Thread Eli Qiao
Add Skylake Cpu model to cpu maps to let libvirt discover host Skylake cpu model correctly. Currently, libvirt still think a Skylake cpu as Broadwell-noTSX Signed-off-by: Eli Qiao <liyong.q...@intel.com> --- src/cpu/cpu_map.xml | 76 +

[libvirt] [PATCH] cpu: add ABM to Haswell* and Broadwell* CPU models

2016-05-06 Thread Eli Qiao
Corresponding QEMU commits: becb66673ec30cb604926d247ab9449a60ad8b11 Signed-off-by: Eli Qiao <liyong.q...@intel.com> --- src/cpu/cpu_map.xml | 4 1 file changed, 4 insertions(+) diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml index 0b6d424..d9eb729 100644 --- a/s

Re: [libvirt] [PATCH] doc/Makefile.am: Add checking of XHTML1 DTD.

2013-12-03 Thread Eli Qiao
于 2013年12月04日 13:13, Chen Hanxiao 写道: FYI: Your patch almost as same as: http://www.redhat.com/archives/libvir-list/2013-October/msg00407.html hanxiao: Thanks for your information. -- Thanks Eli (Li Yoong) Qiao (qia...@cn.ibm.com) CSTL-KVM Frobisher/RHEV-H -- libvir-list mailing list

Re: [libvirt] [PATCH] Give correct error message when configure a wrong URI aliase.

2011-11-22 Thread Eli Qiao
于 2011年11月23日 06:28, Eric Blake 写道: On 11/22/2011 02:36 AM, Daniel P. Berrange wrote: On Tue, Nov 22, 2011 at 11:27:04AM +0800, ta...@linux.vnet.ibm.com wrote: From: Eli Qiao ta...@linux.vnet.ibm.com Signed-off-by: Eli Qiao ta...@linux.vnet.ibm.com When configure the URI aliase like

Re: [libvirt] [PATCH] util : fix compile error on fedora14 Add src/util/virnetdevbandwidth.h, src/util/virnetdevveth.h, src/util/virnetdevvportprofile.h to private symbols.

2011-11-15 Thread Eli Qiao
于 2011年11月16日 11:02, Osier Yang 写道: 于 2011年11月16日 09:36, ta...@linux.vnet.ibm.com 写道: From: Eli Qiaota...@linux.vnet.ibm.com Signed-off-by: Eli Qiaota...@linux.vnet.ibm.com --- src/libvirt_private.syms | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff

Re: [libvirt] Bridged Networking Wiki Up-to-Date?

2011-11-14 Thread Eli Qiao
? 2011?11?13? 10:38, Bob Cochran ??: Greetings, I just installed Fedora 16 on a new server and want to create a Fedora 16 virtual machine. I have not created or used VMs on Fedora in quite some time. Now I have several compelling reasons to use Fedora virtualization so I am kind of coming

Re: [libvirt] [PATCH] util: Compile error

2011-11-13 Thread Eli Qiao
于 2011年11月12日 08:08, Eric Blake 写道: On 11/11/2011 04:23 PM, Eric Blake wrote: On 11/11/2011 01:36 AM, Eli Qiao wrote: 于 2011年11月11日 16:33, Dong Xu Wang 写道: Sorry, the title is util: Compile error, what's the usage of this patch? Without applying this, it will cause error while compiling

Re: [libvirt] [PATCH] util: Compile error

2011-11-11 Thread Eli Qiao
于 2011年11月11日 16:33, Dong Xu Wang 写道: Sorry, the title is util: Compile error, what's the usage of this patch? Without applying this, it will cause error while compiling? yes , when run make ,it will cause undefined symbols error. 2011/11/11ta...@linux.vnet.ibm.com: From: Eli

Re: [libvirt] [PATCH] storage: Do not use comma as seperator for lvs output

2011-09-23 Thread Eli Qiao
于 2011年09月22日 17:08, Osier Yang 写道: 于 2011年09月22日 16:41, Eli 写道: hi Osier: 于 2011年09月22日 15:08, Osier Yang 写道: 于 2011年09月22日 14:31, Eli 写道: hi Osier : 于 2011年09月21日 17:07, Osier Yang 写道: * src/storage/storage_backend_logical.c: If a logical vol is created with multiple stripes. (e.g.

<    1   2   3