Thread (23 messages) 23 messages, 4 authors, 2014-02-05

Re: Very long raid5 init/rebuild times

From: Stan Hoeppner <hidden>
Date: 2014-02-01 22:39:31

On 1/30/2014 2:47 PM, Phillip Susi wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/28/2014 2:46 AM, Stan Hoeppner wrote:
quoted
You usually must submit asynchronously or in parallel to reach 
maximum throughput. Being limited by a PMP it may not matter. But 
with your direct connected drives of your production array you
should see a substantial increase in throughput with parallel
submission.
Not for streaming IO; you just need to make sure your cache is big
enough so the drive is never waiting for the app.
quoted
To significantly increase single streaming throughput you need AIO.
A faster CPU won't make any difference.  Neither will a better SATA
card, unless your current one is defective, or limits port
throughput will more than one port active--I've heard of couple
that do so.
What AIO gets you is the ability to use O_DIRECT to avoid a memory
copy to/from the kernel page cache.  That saves you some cpu time, but
doesn't make *that* much difference unless you have a crazy fast
storage array, or crazy slow ram.  And since almost nobody uses it,
it's a bit of an unrealistic benchmark.
Phillip, you seem to be arguing application performance.  For an
application/data type that doesn't need fsync you'd be correct.

However, the purpose of this exchange has been to determine the maximum
hardware throughput of the OP's array.  It's not possible to accurately
measure IO throughput doing buffered writes.  Thus O_DIRECT is needed.

But, as I already stated, because O_DIRECT is synchronous with
significant completion latency, regardless of CPU/RAM speed, a single
write stream typically won't saturate the storage.  Thus, one needs to
use either use AIO or parallel submission, or possibly both, to saturate
the storage.

-- 
Stan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help