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

Re: [libvirt] Ability to nice KVM processes



On Wed, Sep 10, 2008 at 08:28:52AM +0200, Fabian Deutsch wrote:
> 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.

If you got as far as writing some code for the QMEU driver do post it to
the list even if its not finished/usable. The RPC stuff can be a little
tricky to understand for those unfamiliar with it - but it is easy enough
for one of us to add.

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

That's just one tunable - there are others like sched_setparam, and
sched_setschedular

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


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