On Mon, Oct 26, 2009 at 01:15:17PM +0100, Chris Lalancette wrote:
Yuji NISHIDA wrote:
> Hi all
>
> About OpenVZ, it uses vzctl command that produces tar/gzip commands.
> I think we should lower these commands for running other procedures
> prior to them.
> This is the patch to achieve it with nice/ionice commands.
I'm not sure that this is such a good idea, as it is encoding policy into
libvirt. There have been other requests for being able to set the priorities of
certain domains, so it might make sense to have a more generic "priority"
concept that could be set by the user. Then the user would specify how
important a particular task is, and we wouldn't be putting any policy into
libvirt itself.
Agreed hardcoding a policy like this at the lowest level doesn't
sound the right approach,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit
http://xmlsoft.org/
daniel(a)veillard.com | Rpmfind RPM search engine
http://rpmfind.net/
http://veillard.com/ | virtualization library
http://libvirt.org/