From: Gabor Gombas <gombasg@digikabel.hu>
To: "Tracy Reed" <treed@ultraviolet.org>,
"Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>,
"Pasi Kärkkäinen" <pasik@iki.fi>,
xen-devel@lists.xensource.com
Subject: Re: [Aoetools-discuss] [Xen-devel] domU is causing misaligned disk writes
Date: Wed, 28 Apr 2010 21:55:29 +0200 [thread overview]
Message-ID: <20100428195528.GA10354@twister.home> (raw)
In-Reply-To: <20100420211913.GV5660@tracyreed.org>
On Tue, Apr 20, 2010 at 02:19:13PM -0700, Tracy Reed wrote:
> > How do you know this is a mis-aligned sectors issue? Is this what your
> > AOE vendor is telling you ?
>
> No AoE vendor involved. I am using the free stuff. I think it is a
> misalignment issue because during a purely write test it is doing
> massive amounts of reading according to iostat.
How about actually verifying that by e.g. using wireshark and comparing
the I/O patterns in the fast and slow cases? The differences in the
patterns may give clues where to look further.
> #dd if=/dev/zero of=/dev/etherd/e6.1 oflag=direct bs=4096
> count=3000000
> 1764883+0 records in
> 1764883+0 records out
> 7228960768 bytes (7.2 GB) copied, 402.852 seconds, 17.9 MB/s
>
> But even on my local directly attached SATA workstation disk when
> doing that same dd on an otherwise idle machine I see performance
> like:
>
> $ dd if=/dev/zero of=foo.test bs=4096 count=4000000
> C755202+0 records in
> 755202+0 records out
> 3093307392 bytes (3.1 GB) copied, 128.552 s, 24.1 MB/s
>
> which again suggests that oflag=direct isn't doing quite what I expect.
oflag=direct turns off caching on the host dd is running on, i.e. the
initiator. The target still caches writes of course, unless you tell it
not to by passing the "-d" flag to vblade.
Gabor
next prev parent reply other threads:[~2010-04-28 19:55 UTC|newest]
Thread overview: 14+ 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:49 ` 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:54 ` Pasi Kärkkäinen
2010-04-20 20:03 ` [Xen-devel] " Tracy Reed
2010-04-20 20:00 ` Tracy Reed
2010-04-20 20:25 ` Konrad Rzeszutek Wilk
2010-04-20 21:19 ` Tracy Reed
2010-04-28 19:55 ` Gabor Gombas [this message]
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=20100428195528.GA10354@twister.home \
--to=gombasg@digikabel.hu \
--cc=konrad.wilk@oracle.com \
--cc=pasik@iki.fi \
--cc=treed@ultraviolet.org \
--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 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).