Re: [libvirt] Ability to nice KVM processes

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

 



Am Mittwoch, den 10.09.2008, 07:49 +0200 schrieb Daniel Veillard:
> On Tue, Sep 09, 2008 at 10:55:26PM +0100, Henri Cook wrote:
> > A good news - sorry I wasn't aware of the current stance on arbitrary
> > parameters and can say I completely agree with it.
> > 
> > Scheduler Parameters API sounds interesting - i'll see if I can find
> > time to look into it - if there's anyone who already knows how it works
> > that sees this as a quick patch though, massive points
> 
> http://libvirt.org/html/libvirt-libvirt.html#virDomainSetSchedulerParameters

A couple of months ago I tried to implement this for kvm.
I failed on rpc though.

It should be as "easy" as setting setpriority(2).

> 
> http://libvirt.org/html/libvirt-libvirt.html#virSchedParameter
> 
> http://libvirt.org/html/libvirt-libvirt.html#virDomainGetSchedulerParameters
> 
> it's not fantastic, it's a free form API, you need to be consistent in
> the name and type of parameters returned by Get and allow a subset to be
> modified by Set.
> 
> Daniel
> 

--
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]