From: Avi Kivity <avi@redhat.com>
To: Peijie Yu <yupeijie1012@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Interesting CPU Usage reverse problem, but Why?
Date: Fri, 27 May 2011 11:56:18 +0300 [thread overview]
Message-ID: <4DDF6732.7050808@redhat.com> (raw)
In-Reply-To: <BANLkTinxE2H7-Wxgh6NU7fodyMz6y+eBUw@mail.gmail.com>
On 05/27/2011 11:44 AM, Peijie Yu wrote:
> Hi
>
> I have met an interesting problem between different kvm&linux version.
> Both the two run on the same platform.
>
> HW Platform:
> Processors | physical = 2, cores = 8, virtual = 16, hyperthreading = yes
>
> Speeds | 16x2266.804
> Models | 16xIntel(R) Xeon(R) CPU E5520 @ 2.27GHz
> Caches | 16x8192 KB
> Memory | 23.54G
> OS | CentOS 5
>
>
>
> Configuration 1:
> Configuration:2
> Kernel | 2.6.18-194.el5
> Kernel | 2.6.32-71.24.1.el6.x86_64
> Architecture | CPU = 64-bit, OS = 64-bit
> KVM | kvm-83-164.el5_5.23 KVM
> | Follow kernel's version
>
> Guest:
> Configuration 1:
> Configuration:2
> Platform | Windows
> Release | Windows Server 2003 Enterprise Edition SP2
> Processors | SMP=4
> Processor | SMP=2
> Memory | 4G
>
>
>
> I run the wprime in the Guest; From Guest's Task Manager, the CPU Usage is 100%
> In both Configurations, the corresponding PCPU is 100% too from Linux
> Host's top view.
>
> And in Configuration 1, the PCPU's cpu time is nearly 100% in sys space.
> But in Configuration 2, the situation is totally reversed, the PCPU's
> time is nearly 100% in Usr space.
>
>
>
> Could anyone tell me the reason?
>
Modern kernels account guest time as user time (since it wasn't spent in
the host kernel).
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
prev parent reply other threads:[~2011-05-27 8:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 8:44 Interesting CPU Usage reverse problem, but Why? Peijie Yu
2011-05-27 8:56 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DDF6732.7050808@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=yupeijie1012@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.