public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: "David S. Ahern" <daahern@cisco.com>
Cc: Terry <terry.cchang@gmail.com>, kvm@vger.kernel.org
Subject: Re: time command in vm
Date: Wed, 03 Sep 2008 12:37:50 +0300	[thread overview]
Message-ID: <48BE5AEE.6080204@qumranet.com> (raw)
In-Reply-To: <48BD6F43.4090107@cisco.com>

David S. Ahern wrote:
> Terry wrote:
>   
>> Hi All,
>>
>> When we use time command in vm, we can get 'elapsed time', 'user time'
>> and 'system time'.  How to explain these three times in detail?  For
>> example, when we have a shadow page fault, we exit from guest to host
>> for handling the fault.  So, this handling time should be considered in??
>>
>>     
>
> I believe the time spent within kvm handling faults and such for the
> guest shows up as system time to the guest.
>   

It depends.  If the fault happens in guest userspace, it would be 
accounted as guest user time.  From the guest's point of view, it's just 
a slow memory access.

-- 
error compiling committee.c: too many arguments to function


      parent reply	other threads:[~2008-09-03  9:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-30  2:53 time command in vm Terry
2008-09-02 16:52 ` David S. Ahern
2008-09-03  7:43   ` Christian Borntraeger
2008-09-03  9:37   ` 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=48BE5AEE.6080204@qumranet.com \
    --to=avi@qumranet.com \
    --cc=daahern@cisco.com \
    --cc=kvm@vger.kernel.org \
    --cc=terry.cchang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox