|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Aoetools-discuss] [Xen-devel] domU is causing misaligned disk	write
 
| 
To:  | 
Tracy Reed <treed@xxxxxxxxxxxxxxx>,	Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>,	Pasi Kärkkäinen <pasik@xxxxxx>,	xen-devel@xxxxxxxxxxxxxxxxxxx, Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx,	linux-kernel@xxxxxxxxxxxxxxx | 
 
| 
Subject:  | 
Re: [Aoetools-discuss] [Xen-devel] domU is causing misaligned disk	writes | 
 
| 
From:  | 
Gabor Gombas <gombasg@xxxxxxxxxxxx> | 
 
| 
Date:  | 
Wed, 28 Apr 2010 21:55:29 +0200 | 
 
| 
Cc:  | 
 | 
 
| 
Delivery-date:  | 
Tue, 04 May 2010 07:17:11 -0700 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxxx | 
 
| 
In-reply-to:  | 
<20100420211913.GV5660@xxxxxxxxxxxxx> | 
 
| 
List-help:  | 
<mailto:xen-devel-request@lists.xensource.com?subject=help> | 
 
| 
List-id:  | 
Xen developer discussion <xen-devel.lists.xensource.com> | 
 
| 
List-post:  | 
<mailto:xen-devel@lists.xensource.com> | 
 
| 
List-subscribe:  | 
<http://lists.xensource.com/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=subscribe> | 
 
| 
List-unsubscribe:  | 
<http://lists.xensource.com/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> | 
 
| 
Mail-followup-to:  | 
Tracy Reed <treed@xxxxxxxxxxxxxxx>,	Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>,	Pasi Kärkkäinen <pasik@xxxxxx>,	xen-devel@xxxxxxxxxxxxxxxxxxx,	Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx | 
 
| 
References:  | 
<20100420080958.GN5660@xxxxxxxxxxxxx>	<20100420084955.GV1878@xxxxxxxxxxx>	<20100420200004.GQ5660@xxxxxxxxxxxxx>	<20100420202519.GB9220@xxxxxxxxxxxxxxxxxxx>	<20100420211913.GV5660@xxxxxxxxxxxxx> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
 
 
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- Re: [Aoetools-discuss] [Xen-devel] domU is causing misaligned disk	writes,
Gabor Gombas <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |