Re: [kvm-ppc-devel] [PATCH 0 of 3] Fix guest eating 100% cpu when guest is idle on PowerPC

Jerone Young
2008-04-25T16:34:54Z

On Fri, 2008-04-25 at 09:00 -0500, Hollis Blanchard wrote:
> On Friday 25 April 2008 00:56:01 Jerone Young wrote:
> > This set of patches fixes 100% CPU usage when a guest is idle on PowerPC.
> This time it uses common kvm functions to sleep the guest.
>
> Looking much better now, with just a few minor issues to correct. With these
> patches applied, about how much CPU *does* an idling guest consume?

With the current patch *as is* idle guest are eating about 16% CPU.
Better then 100%, but more then the other patch. I'll see if by removing
the vcpu_loads & vcpu_puts if that goes down.
>
> By the way, you don't explicitly *unset* MSR[WE]. I think this works
> implicitly because of the way we deliver interrupts; could you add a comment
> explaining that?

Yes it is unset implicity. I can add a comment on this.

>