Re: [PATCH] Xen: Support cpu_weight and cpu_cap for Xen.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Richard

Richard W.M. Jones wrote:
> [Resurrecting this old thread ...]
> 
> How about this as a plan?
> 
> (1) Add 'virsh savetuning' and 'virsh loadtuning' commands as Daniel 
> Veillard has suggested above.  These would save the per-domain tuning 
> information to an XML file
> 
>   <tuning>
>     <pin vcpu="0" pcpu="0"/>
>     <pin vcpu="1" pcpu="1"/>
>     <!-- other stuff for cpu_weight, etc. -->
>   </tuning>

Ok, looks fine to me.

> (2) Modify 'virsh define' and 'virsh create' commands to add a 
> '--with-tuning' flag, so that:
> 
>   virsh define foo.xml --with-tuning foo-tuning.xml
> 
> Which basically does the ordinary 'virsh define' step followed by 'virsh 
> loadtuning'.

I agree and I want to add '--with-tuning' flag to 'virsh start' command, too.

> (3) Modify 'virsh save' to add '--save-tuning', so that:
> 
>   virsh save foo foo.img --save-tuning foo-tuning.xml
> 
> This captures the tuning information into the XML file, and is the same 
> as doing an ordinary 'save' followed by 'virsh savetuning'.

Sounds good to me.

Thanks,
Tatsuro Enokura

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]