qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Venkateswararao Jujjuri (JV)" <jvrao@linux.vnet.ibm.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Qemu-development List <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] QEMU throughput is down with SMP
Date: Thu, 30 Sep 2010 12:19:38 -0700	[thread overview]
Message-ID: <4CA4E2CA.5030606@linux.vnet.ibm.com> (raw)
In-Reply-To: <AANLkTimDeFQcnC+0OAb0XgkYrSKNNmkUASRQJRifY_SL@mail.gmail.com>

On 9/30/2010 2:13 AM, Stefan Hajnoczi wrote:
> On Thu, Sep 30, 2010 at 1:50 AM, Venkateswararao Jujjuri (JV)
> <jvrao@linux.vnet.ibm.com>  wrote:
>> Code: Mainline QEMU (git://git.qemu.org/qemu.git)
>> Machine: LS21 blade.
>> Disk: Local disk through VirtIO.
>> Did not select any cache option. Defaulting to writethrough.
>>
>> Command tested:
>> 3 parallel instances of : dd if=/dev/zero of=/pmnt/my_pw bs=4k count=100000
>>
>> QEMU with  smp=1
>> 19.3 MB/s + 19.2 MB/s + 18.6 MB/s = 57.1 MB/s
>>
>> QEMU with smp=4
>> 15.3 MB/s + 14.1 MB/s + 13.6 MB/s = 43.0 MB/s
>>
>> Is this expected?
>
> Did you configure with --enable-io-thread?

Yes I did.
>
> Also, try using dd oflag=direct to eliminate effects introduced by the
> guest page cache and really hit the disk.

With oflag=direct , I see no difference and the throughput is so slow and I 
would not
expect to see any difference.
It is 225 kb/s  for each thread either with smp=1 or with smp=4.

- JV

>
> Stefan
>

  reply	other threads:[~2010-09-30 19:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30  0:50 [Qemu-devel] QEMU throughput is down with SMP Venkateswararao Jujjuri (JV)
2010-09-30  9:13 ` Stefan Hajnoczi
2010-09-30 19:19   ` Venkateswararao Jujjuri (JV) [this message]
2010-10-01  8:41     ` Stefan Hajnoczi
2010-10-01 13:38       ` Ryan Harper
2010-10-01 15:04         ` Venkateswararao Jujjuri (JV)
2010-10-01 15:09           ` Stefan Hajnoczi

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=4CA4E2CA.5030606@linux.vnet.ibm.com \
    --to=jvrao@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@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;
as well as URLs for NNTP newsgroup(s).