kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark McLoughlin <markmc@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: Erik Jacobson <erikj@sgi.com>, kvm@vger.kernel.org
Subject: Re: slow guest performance with build load, looking for ideas
Date: Fri, 03 Jul 2009 16:43:17 +0100	[thread overview]
Message-ID: <1246635797.13604.7.camel@blaa> (raw)
In-Reply-To: <4A4C80AD.7010204@redhat.com>

On Thu, 2009-07-02 at 12:41 +0300, Avi Kivity wrote:
> On 07/02/2009 08:48 AM, Avi Kivity wrote:
> >> HOST time (make -j12&&   make -j12 modules) with no guest running
> >> ----------------------------------------------------------------
> >> real    6m50.936s
> >> user    29m12.051s
> >> sys    5m50.867s
> >>
> >
> > 35 minutes cpu run on 7 minutes real time, so scaling 1:7.  User time 
> > almost the same, system time different but not enough to account for 
> > the large difference in run time.
> >
> > I'm due to get my own Nehalem next week, I'll try to reproduce your 
> > results here.
> >
> 
> I reproduced this on a 2x4 barcelona, I get 6.6x scaling on the guest 
> compared to your 7.2x on the host.  This is with a kvm.git host kernel.  
> Once thing that changed is an improvement in cfq with multiple threads; 
> try setting the host io scheduler for /dev/sdb to deadline (together 
> with dropping -usbdevice tablet).

Haven't followed the thread in great detail, but has anyone tried
putting the virtio disk back into rotational mode?

See also:

  https://bugzilla.redhat.com/509383

and:

  http://lkml.org/lkml/2008/10/27/84

Cheers,
Mark.


  reply	other threads:[~2009-07-03 15:43 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-12 21:04 slow guest performance with build load, looking for ideas Erik Jacobson
2009-06-14  9:33 ` Avi Kivity
2009-06-15 14:15   ` Erik Jacobson
2009-06-15 14:24     ` Avi Kivity
2009-06-15 15:25       ` Michael Tokarev
2009-06-15 15:27         ` Avi Kivity
2009-06-16  7:03           ` Michael Tokarev
2009-06-16  8:07             ` Avi Kivity
2009-06-18 23:07   ` Erik Jacobson
2009-06-28 14:17     ` Avi Kivity
2009-06-28 19:05       ` Erik Jacobson
2009-06-28 21:28         ` Avi Kivity
2009-07-01 21:41           ` Erik Jacobson
2009-07-02  5:48             ` Avi Kivity
2009-07-02  9:41               ` Avi Kivity
2009-07-03 15:43                 ` Mark McLoughlin [this message]
2009-07-03 16:28                   ` Erik Jacobson
2009-07-09  2:36                   ` Erik Jacobson
2009-07-09  7:48                     ` Avi Kivity
2009-07-09 18:01                       ` Erik Jacobson
2009-07-12  8:38                         ` Avi Kivity
2009-07-16 12:20                           ` Jes Sorensen
2009-07-25 14:33                             ` Avi Kivity
2009-07-03 10:41   ` Matty
2009-07-05  8:07     ` Avi Kivity

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=1246635797.13604.7.camel@blaa \
    --to=markmc@redhat.com \
    --cc=avi@redhat.com \
    --cc=erikj@sgi.com \
    --cc=kvm@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).