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 |
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 +++
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 |
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
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
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
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 +++
/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
:
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
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
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
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
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
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
>
> 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/
> :|
> |:
>
>
> > 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
>
>
>
>
>
>
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
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.
>
>
> > >
> > > 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
> > >
> > >
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
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:
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
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
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
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 +
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
于 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
于 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
于 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
? 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
于 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
于 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
于 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.
201 - 233 of 233 matches
Mail list logo