All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: xen-devel@lists.xensource.com
Subject: Re: VT is comically slow
Date: Fri, 07 Jul 2006 07:19:23 -0500	[thread overview]
Message-ID: <pan.2006.07.07.12.19.22.300179@codemonkey.ws> (raw)
In-Reply-To: 20060707014350.19F2C2F91A@ws6-3.us4.outblaze.com

On Thu, 06 Jul 2006 17:43:50 -0800, alex wrote:

> Anthony Liguori wrote:
>>...
>> Also, and I suspect this has more to do with your performance numbers,
>> QEMU currently does disk IO via read()/write() syscalls on an fd that's
>> open()'d without O_DIRECT.  This means everything's going through the
>> page cache.
> The QEMU code that we use doesn't go through the dom0 buffer cache, we
> modified the code to use O_DIRECT.  Can't user buffer cache and
> accelerated drivers (they go right to the disk) together, it can cause
> disk corruption.  The performance numbers we get from this version of
> QEMU is still 4 to 6 times slower that native disk I/O.

Sorry, I should have been more clear.  I presume that your drivers are a
lot like the normal paravirt drivers.  This means that you're injecting
bio's into the host that point directly to the memory in the guest.

Just using O_DIRECT wouldn't be enough in QEMU.  You would also have to
have functioning DMA (which appears broken in Xen).  Proper async support
would help too.

Regards,

Anthony Liguori

>> I suspect that SCSI + linux-aio would result in close to native
>> performance.  Since SCSI is already in QEMU CVS, it's not that far off.
>>
> You might be right, however even with pipelining and async I/O, I don't
> think it is going to get close to native I/O numbers.  I guess we'll
> just have to wait and see

>>
> Best,
> 
> -Alex V.

  parent reply	other threads:[~2006-07-07 12:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07  1:43 VT is comically slow alex
2006-07-07  2:01 ` Andrew Warfield
2006-07-07 12:19 ` Anthony Liguori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-07  2:35 alex
2006-07-11 12:30 ` Horms
2006-07-06 19:16 alex
2006-07-06 20:59 ` Anthony Liguori
2006-07-10  7:51 ` Rami Rosen
2006-07-03  8:28 Rik van Riel
2006-07-03  8:48 ` Rik van Riel
2006-07-03  8:58   ` Keir Fraser
2006-07-03 10:31     ` Daniel Veillard
2006-07-03 14:14       ` Rik van Riel
2006-07-03 14:43         ` Petersson, Mats
2006-07-03 19:16           ` Rik van Riel
2006-07-04  7:03             ` Keir Fraser
2006-07-03 15:10 ` Keir Fraser

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=pan.2006.07.07.12.19.22.300179@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=xen-devel@lists.xensource.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 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.