public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* read slower than write on "mv"?
@ 2010-05-03  8:54 Michael Monnerie
  2010-05-03 11:52 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Monnerie @ 2010-05-03  8:54 UTC (permalink / raw)
  To: xfs


[-- Attachment #1.1: Type: text/plain, Size: 910 bytes --]

This is not XFS specific, I see it on every filesys. I do a 
"mv . /newlocation" and see this with iostat:

Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-
sz avgqu-sz   await  svctm  %util
xvdb              608,60    2,60 25967,20   102,40    85,31     5,37    
8,77   1,58  96,72
xvdg              0,00  608,60     0,00 26532,10    87,19     7,55   
12,41   0,12   7,44

Reading takes 97% I/O time, writing 7%. This is on the same raidset, but 
I see the same when copying between two different single disks also. Or 
is it just an effect of write caching that writes look faster than 
reads?

-- 
mit freundlichen Grüssen,
Michael Monnerie, Ing. BSc

it-management Internet Services
http://proteger.at [gesprochen: Prot-e-schee]
Tel: 0660 / 415 65 31

// Wir haben im Moment zwei Häuser zu verkaufen:
// http://zmi.at/langegg/
// http://zmi.at/haus2009/

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: read slower than write on "mv"?
  2010-05-03  8:54 read slower than write on "mv"? Michael Monnerie
@ 2010-05-03 11:52 ` Dave Chinner
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2010-05-03 11:52 UTC (permalink / raw)
  To: Michael Monnerie; +Cc: xfs

On Mon, May 03, 2010 at 10:54:28AM +0200, Michael Monnerie wrote:
> This is not XFS specific, I see it on every filesys. I do a 
> "mv . /newlocation" and see this with iostat:
> 
> Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-
> sz avgqu-sz   await  svctm  %util
> xvdb              608,60    2,60 25967,20   102,40    85,31     5,37    
> 8,77   1,58  96,72
> xvdg              0,00  608,60     0,00 26532,10    87,19     7,55   
> 12,41   0,12   7,44
> 
> Reading takes 97% I/O time, writing 7%. This is on the same raidset, but 
> I see the same when copying between two different single disks also. Or 
> is it just an effect of write caching that writes look faster than 
> reads?

Yes, just an effect of write caching hiding IO latency.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-03 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-03  8:54 read slower than write on "mv"? Michael Monnerie
2010-05-03 11:52 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox