All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tracy Reed <treed@ultraviolet.org>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: xen-devel@lists.xensource.com,
	Aoetools-discuss@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: Re: [Xen-devel] domU is causing misaligned disk writes
Date: Tue, 20 Apr 2010 13:03:10 -0700	[thread overview]
Message-ID: <20100420200310.GR5660@tracyreed.org> (raw)
In-Reply-To: <20100420195442.GC1878@reaktio.net>

[-- Attachment #1: Type: text/plain, Size: 976 bytes --]

On Tue, Apr 20, 2010 at 10:54:42PM +0300, Pasi Kärkkäinen spake thusly:
> Please try with "bs=1024k" and maybe with "bs=64k" aswell.
>  
> 4k blocksize transfer will always be slower in domU than in dom0
> since virtual disk abstraction makes some overhead, which is more
> visible with small blocksizes.

But overhead in domU wouldn't be causing all of these reads. I am
doing a test with bs=64k now:

Device:         rrqm/s   wrqm/s   r/s   w/s    rkB/s    wkB/s avgrq-sz
avgqu-sz   await  svctm  %util
sda               0.00  3258.20 964.00 54.00  3903.20 13652.80
34.49     2.75    2.71   0.68  68.88
sdb               0.00  3270.20 974.80 54.00  3940.80 13710.40
34.31     2.42    2.38   0.55  56.22

> So the speed is the same to the partitioned disk than to the raw disk? 
> What disk backend are you using in dom0? phy:? tap:aio: ?

Yes. 

I am using phy: disk backend. Should I be using something else?

-- 
Tracy Reed
http://tracyreed.org

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2010-04-20 20:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20  8:09 domU is causing misaligned disk writes Tracy Reed
2010-04-20  8:09 ` Tracy Reed
2010-04-20  8:49 ` [Xen-devel] " Pasi Kärkkäinen
2010-04-20  8:49   ` Pasi Kärkkäinen
2010-04-20  8:54   ` [Xen-devel] " Pasi Kärkkäinen
2010-04-20  8:54     ` Pasi Kärkkäinen
2010-04-20 18:40     ` [LKML] " Konrad Rzeszutek Wilk
2010-04-20 22:58       ` [LKML] Re: [Xen-devel] " Tracy Reed
2010-04-20 19:39   ` Tracy Reed
2010-04-20 19:39     ` Tracy Reed
2010-04-20 19:54     ` [Xen-devel] " Pasi Kärkkäinen
2010-04-20 19:54       ` Pasi Kärkkäinen
2010-04-20 20:03       ` Tracy Reed [this message]
2010-04-20 20:00   ` [Xen-devel] " Tracy Reed
2010-04-20 20:25     ` Konrad Rzeszutek Wilk
2010-04-20 21:19       ` Tracy Reed
2010-04-20 21:19         ` Tracy Reed
2010-04-28 19:55         ` [Aoetools-discuss] [Xen-devel] " Gabor Gombas
2010-04-28 19:55           ` Gabor Gombas
2010-04-20 20:41     ` Brendan Cully
2010-04-20 20:41       ` Brendan Cully
2010-04-20 21:58       ` [Xen-devel] " Tracy Reed

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=20100420200310.GR5660@tracyreed.org \
    --to=treed@ultraviolet.org \
    --cc=Aoetools-discuss@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pasik@iki.fi \
    --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.