<div dir="ltr">Here's the info from the FAQ, I'll bundle up the benchmarks.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 25, 2013 at 4:16 PM, Dave Chinner <span dir="ltr"><<a href="mailto:david@fromorbit.com" target="_blank">david@fromorbit.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, Feb 25, 2013 at 10:01:53AM -0600, Brian Cain wrote:<br>
> All,<br>
><br>
> I have been observing some odd behavior regarding write throughput to an<br>
> XFS partition (the baseline kernel version is 2.6.32.27).  I see<br>
> consistently high write throughput (close to the performance of the raw<br>
> block device) to the filesystem immediately after a mkfs, but after a few<br>
> test cycles, there is sporadic poor performance.<br>
><br>
> The test mechanism is like so:<br>
><br>
> [mkfs.xfs <blockdev>] (no flags/options, xfsprogs ver 3.1.1-0.1.36)<br>
> ...<br>
> 1. remove a previous test cycle's directory<br>
> 2. create a new directory<br>
> 3. open/write/close a small file (4kb) in this directory<br>
> 4. open/read/close this same small file (by the local NFS server)<br>
> 5. open[O_DIRECT]/write/write/write/.../close a large file (anywhere from<br>
> ~100MB to 200GB)<br>
><br>
> Step #5 contains the high-throughput metrics which becomes an order of<br>
> magnitude worse several test cycles after a mkfs.  Omitting steps 1-3 does<br>
> not show the poor performance behavior.<br>
><br>
> Can anyone provide any suggestions as to an explanation for the behavior or<br>
> a way to mitigate it?  Running xfs_fsr didn't seem to improve the results.<br>
><br>
> I'm happy to share benchmarks, specific results data, or describe the<br>
> hardware being used for the measurements if it's helpful.<br>
<br>
</div></div>Post your benchmark script, along with the results you see, and all<br>
the other information listed here:<br>
<br>
<a href="http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F" target="_blank">http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F</a><br>

<br>
Cheers,<br>
<br>
Dave.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Dave Chinner<br>
<a href="mailto:david@fromorbit.com">david@fromorbit.com</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>-Brian
</div>