public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: Michael Monnerie <michael.monnerie@is.it-management.at>
Cc: xfs@oss.sgi.com
Subject: Re: read slower than write on "mv"?
Date: Mon, 3 May 2010 21:52:07 +1000	[thread overview]
Message-ID: <20100503115207.GE2591@dastard> (raw)
In-Reply-To: <201005031054.38817@zmi.at>

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

      reply	other threads:[~2010-05-03 11:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-03  8:54 read slower than write on "mv"? Michael Monnerie
2010-05-03 11:52 ` Dave Chinner [this message]

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=20100503115207.GE2591@dastard \
    --to=david@fromorbit.com \
    --cc=michael.monnerie@is.it-management.at \
    --cc=xfs@oss.sgi.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