All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: kvm-ppc@vger.kernel.org
Subject: RE: exit timing analysis v1 - comments&discussions welcome
Date: Thu, 25 Sep 2008 15:18:34 +0000	[thread overview]
Message-ID: <1222355914.7112.34.camel@localhost.localdomain> (raw)
In-Reply-To: <48DA0747.3020004@linux.vnet.ibm.com>

On Thu, 2008-09-25 at 17:32 +0800, Liu Yu-B13201 wrote:
> > 
> > On Wed, 2008-09-24 at 11:24 +0200, Christian Ehrhardt wrote:
> > >                      count      min         max             
> > > sum            avg        stddev     time%
> > >     EMULINST     6,423,699       12     247,582      
> > 91,732,705        
> > > 14.2804       241.200     45.36
> > >     ITLBVIRT     1,777,242       21     264,257      
> > 47,116,557        
> > > 26.5111       286.040     23.30
> > >     DTLBVIRT     1,544,241       22     263,947      
> > 41,765,447        
> > > 27.0459       218.997     20.65
> > 
> > (The max here is of course when the guest was de-scheduled in favor of
> > another host process.)
> > 
> > I think it's interesting that the min instruction emulation time is 12
> > usecs. In fact, our "null" exits where we do almost no 
> > processing (ISI,
> > DSI, syscall) are 11 usecs, which suggests we have a problem with
> > interrupt handler overhead (for all exit types).
> > 
> 
> Will you consider about moving tlb manipulation out of entering path?
> Examining the modify array may cost some time.

Yes, definitely.

That's about the only thing I can see in the 440 interrupt path that
might take significant time. Unfortunately we can't profile that code
because we have no performance counters, so finding the problem will
require some experimentation.

-- 
Hollis Blanchard
IBM Linux Technology Center


  parent reply	other threads:[~2008-09-25 15:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24  9:24 exit timing analysis v1 - comments&discussions welcome Christian Ehrhardt
2008-09-24 15:14 ` Hollis Blanchard
2008-09-25  9:32 ` Liu Yu-B13201
2008-09-25 15:18 ` Hollis Blanchard [this message]
2008-10-02 12:02 ` Christian Ehrhardt
2008-10-07 14:36 ` Christian Ehrhardt
2008-10-08 13:49 ` Christian Ehrhardt
2008-10-08 15:41 ` Hollis Blanchard
2008-10-09  8:02 ` Christian Ehrhardt
2008-10-09  9:35 ` Christian Ehrhardt
2008-10-09 14:49 ` Christian Ehrhardt
2008-10-10  8:32 ` Christian Ehrhardt

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=1222355914.7112.34.camel@localhost.localdomain \
    --to=hollisb@us.ibm.com \
    --cc=kvm-ppc@vger.kernel.org \
    /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.