lkml.org 
[lkml]   [2007]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kvm & dyntick

* Ingo Molnar <mingo@elte.hu> wrote:

> > dyntick-enabled guest:
> > - reduce the load on the host when the guest is idling
> > (currently an idle guest consumes a few percent cpu)
>
> yeah. KVM under -rt already works with dynticks enabled on both the
> host and the guest. (but it's more optimal to use a dedicated
> hypercall to set the next guest-interrupt)

using the dynticks code from the -rt kernel makes the overhead of an
idle guest go down by a factor of 10-15:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2556 mingo 15 0 598m 159m 157m R 1.5 8.0 0:26.20 qemu

( for this to work on my system i have added a 'hyper' clocksource
hypercall API for KVM guests to use - this is needed instead of the
running-to-slowly TSC. )

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-01-12 12:49    [W:0.097 / U:1.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site