All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: lwcheng@cs.hku.hk
Cc: Glauber Costa <glommer@gmail.com>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [BUG] Paravirtual time accounting / IRQ time accounting
Date: Sat, 22 Mar 2014 10:57:28 -0400	[thread overview]
Message-ID: <532DA4D8.60102@redhat.com> (raw)
In-Reply-To: <20140322151540.9740576amzy5tdwk@intranet.cs.hku.hk>

On 03/22/2014 03:15 AM, lwcheng@cs.hku.hk wrote:

> I observe that sometimes irq_time only includes "part" of steal_time.
> 
> Like you said, irq_time is in dozens-of-microseconds. In VMs, as all
> devices seen are virtual ones, irq_time seems to be not as desired
> as it is in physical hosts.
> 
> A quick (but not radical) solution may be:
> disable CONFIG_IRQ_TIME_ACCOUNTING if CONFIG_PARAVIRT is selected.
> Just adopt tick-based accounting: CONFIG_TICK_CPU_ACCOUNTING
> 
> I am thinking what irq_time really *means* in VMs.

That is not really an option for Linux distributions, which tend
to run the same kernel image on the host and in the guest...

-- 
All rights reversed

      reply	other threads:[~2014-03-22 14:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-19  9:42 [BUG] Paravirtual time accounting / IRQ time accounting lwcheng
2014-03-20 15:01 ` Glauber Costa
2014-03-21  5:50   ` Mike Galbraith
2014-03-22  6:47     ` lwcheng
2014-03-22  7:44       ` Mike Galbraith
2014-03-21 11:31   ` Rik van Riel
2014-03-22  7:15     ` lwcheng
2014-03-22 14:57       ` Rik van Riel [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=532DA4D8.60102@redhat.com \
    --to=riel@redhat.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=glommer@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lwcheng@cs.hku.hk \
    /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.