[libvirt] [RFC] Add persistent XML for cpu tunables

2011-03-29 Thread Osier Yang
Example of cputune XML: cputune shares2048/shares vcpupin vcpu='0' cpuset='0-4,^1'/ vcpupin vcpu='1' cpuset='1,3'/ vcpupin vcpu='2' cpuset='0,2'/ /cputune shares is to define the the proportional weighted cpu share for the domain. vcpupin is to define the cpu affinities of

Re: [libvirt] [RFC] Add persistent XML for cpu tunables

2011-03-29 Thread Daniel Veillard
On Tue, Mar 29, 2011 at 02:32:18PM +0800, Osier Yang wrote: Example of cputune XML: cputune shares2048/shares vcpupin vcpu='0' cpuset='0-4,^1'/ vcpupin vcpu='1' cpuset='1,3'/ vcpupin vcpu='2' cpuset='0,2'/ /cputune shares is to define the the proportional weighted cpu

Re: [libvirt] [RFC] Add persistent XML for cpu tunables

2011-03-29 Thread Matthias Bolte
2011/3/29 Daniel Veillard veill...@redhat.com: On Tue, Mar 29, 2011 at 02:32:18PM +0800, Osier Yang wrote: Example of cputune XML:   cputune     shares2048/shares     vcpupin vcpu='0' cpuset='0-4,^1'/     vcpupin vcpu='1' cpuset='1,3'/     vcpupin vcpu='2' cpuset='0,2'/   /cputune shares

Re: [libvirt] [RFC] Add persistent XML for cpu tunables

2011-03-29 Thread Nikunj A. Dadhania
On Tue, 29 Mar 2011 15:31:19 +0800, Daniel Veillard veill...@redhat.com wrote: On Tue, Mar 29, 2011 at 02:32:18PM +0800, Osier Yang wrote: Example of cputune XML: cputune shares2048/shares vcpupin vcpu='0' cpuset='0-4,^1'/ vcpupin vcpu='1' cpuset='1,3'/ vcpupin

Re: [libvirt] [RFC] Add persistent XML for cpu tunables

2011-03-29 Thread Osier Yang
于 2011年03月29日 16:18, Nikunj A. Dadhania 写道: On Tue, 29 Mar 2011 15:31:19 +0800, Daniel Veillardveill...@redhat.com wrote: On Tue, Mar 29, 2011 at 02:32:18PM +0800, Osier Yang wrote: Example of cputune XML: cputune shares2048/shares vcpupin vcpu='0' cpuset='0-4,^1'/ vcpupin