[Top] [All Lists]

Re: Performance problem - reads slower than writes

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: Performance problem - reads slower than writes
From: Brian Candler <B.Candler@xxxxxxxxx>
Date: Tue, 31 Jan 2012 21:35:22 +0000
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=yHa6JLsCDHO9bwoYLoHt/J01csU=; b=l7WcIK8 FC0Dj5ZVt6kx6shJ/LyLG7Nwlz0I72R2GklrRkoG4ydgmTQs3QdZw16WGnRGnWlk 8jWlRFFaWDCtlpa7fBmuomWWlD4Drenjcmu1Qsts9iUZM8mSHKauxZGh3hwxSQBF lDjYYi0EopnL5V7a0UHbdbd3787wZe79/6s0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to:cc :subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sasl; b=x1te1hAcM707iPI0H68cNw/9iGcwOEhJT 68ldF/yx9V9AtPEyyVR54T9RN3zPempG8/p7pgaKYeghBcu9dfnax7z7x7xuODu5 L3Lb0evXQ3F54MruajM1imlQtvXjKzaUEaN00vHkXQbpXCgaNiIlWm7Xd7p5KWDQ yr5ZTEXVrk=
In-reply-to: <20120131200635.GI9090@dastard>
References: <20120130220019.GA45782@xxxxxxxx> <20120131020508.GF9090@dastard> <20120131103126.GA46170@xxxxxxxx> <20120131200635.GI9090@dastard>
User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, Feb 01, 2012 at 07:06:35AM +1100, Dave Chinner wrote:
> The number of IOs does not equal the number of seeks. Two adjacent,
> sequential IOs issued serially will show up as two IOs, even though
> there was no seek in between. Especially if the files are large
> enough that readahead tops out (500-800k is large enough for this as
> readahead maximum is 128k by default).  So it might be taking 3-4
> IOs just to read the file data.

Ah. And if the IOs are not stacked up, then the platter has to rotate nearly
a whole turn to perform the next one.

> > So the next thing I'd have to do is to try to get a trace of the I/O
> > operations being performed, and I don't know how to do that.
> blktrace/blkparse or seekwatcher.

Excellent, just what I wanted. I've made a start with this and will report

Many thanks for the help and pointers you have provided.



<Prev in Thread] Current Thread [Next in Thread>