All of lore.kernel.org
 help / color / mirror / Atom feed
* A little RAID experiment
@ 2012-04-25  8:07 Stefan Ring
  2012-04-25 14:17 ` Roger Willcocks
                   ` (3 more replies)
  0 siblings, 4 replies; 41+ messages in thread
From: Stefan Ring @ 2012-04-25  8:07 UTC (permalink / raw)
  To: Linux fs XFS

This grew out of the discussion in my other thread ("Abysmal write
performance because of excessive seeking (allocation groups to
blame?)") -- that should in fact have been called "Free space
fragmentation causes excessive seeks".

Could someone with a good hardware RAID (5 or 6, but also mirrored
setups would be interesting) please conduct a little experiment for
me?

I've put up a modified sysbench here:
<https://github.com/Ringdingcoder/sysbench>. This tries to simulate
the write pattern I've seen with XFS. It would be really interesting
to know how different RAID controllers cope with this.

- Checkout (or download tarball):
https://github.com/Ringdingcoder/sysbench/tarball/master
- ./configure --without-mysql && make
- fallocate -l 8g test_file.0
- ./sysbench/sysbench --test=fileio --max-time=15
--max-requests=10000000 --file-num=1 --file-extra-flags=direct
--file-total-size=8G --file-block-size=8192 --file-fsync-all=off
--file-fsync-freq=0 --file-fsync-mode=fdatasync --num-threads=1
--file-test-mode=ag4 run

If you don't have fallocate, you can also use the last line with "run"
replaced by "prepare" to create the file. Run the benchmark a few
times to check if the numbers are somewhat stable. When doing a few
runs in direct succession, the first one will likely be faster because
the cache has not been loaded up yet. The interesting part of the
output is this:

Read 0b  Written 64.516Mb  Total transferred 64.516Mb  (4.301Mb/sec)
  550.53 Requests/sec executed

That's a measurement from my troubled RAID 6 volume (SmartArray P400,
6x 10k disks).

>From the other controller in this machine (RAID 1, SmartArray P410i,
2x 15k disks), I get:

Read 0b  Written 276.85Mb  Total transferred 276.85Mb  (18.447Mb/sec)
 2361.21 Requests/sec executed

The better result might be caused by the better controller or the RAID
1, with the latter reason being more likely.

Regards,
Stefan

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

^ permalink raw reply	[flat|nested] 41+ messages in thread
* Re: A little RAID experiment
@ 2012-04-26 22:33 Richard Scobie
  2012-04-27 21:30 ` Emmanuel Florac
  0 siblings, 1 reply; 41+ messages in thread
From: Richard Scobie @ 2012-04-26 22:33 UTC (permalink / raw)
  To: stefanrin; +Cc: xfs

I know you were interested in hardware RAID controllers, but out of 
curiosity, this is the result on a 16 x 1TB SATA linux md software RAID6 
array.

Formatted xfs, with external journal on an independent SATA device, 
mounted delaylog,inode64,logbsize=256k,logdev=/dev/md0,noatime,pquota.

Operations performed:  0 Read, 26065 Write, 0 Other = 26065 Total
Read 0b  Written 203.63Mb  Total transferred 203.63Mb  (13.575Mb/sec)
  1737.65 Requests/sec executed

Filesystem is 44% full, kernel 2.6.39.2.

xfs_bmap test_file.0
test_file.0:
         0: [0..8388607]: 9565100544..9573489151
         1: [8388608..16777215]: 9578354176..9586742783

Regards,

Richard

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

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

end of thread, other threads:[~2012-10-10 22:00 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-25  8:07 A little RAID experiment Stefan Ring
2012-04-25 14:17 ` Roger Willcocks
2012-04-25 16:23   ` Stefan Ring
2012-04-27 14:03     ` Stan Hoeppner
2012-04-26  8:53   ` Stefan Ring
2012-04-27 15:10     ` Stan Hoeppner
2012-04-27 15:28     ` Joe Landman
2012-04-28  4:42       ` Stan Hoeppner
2012-04-27 13:50 ` Stan Hoeppner
2012-05-01 10:46   ` Stefan Ring
2012-05-30 11:07     ` Stefan Ring
2012-05-31  1:30       ` Stan Hoeppner
2012-05-31  6:44         ` Stefan Ring
2012-07-16 19:57 ` Stefan Ring
2012-07-16 20:03   ` Stefan Ring
2012-07-16 20:05     ` Stefan Ring
2012-07-16 21:27   ` Stan Hoeppner
2012-07-16 21:58     ` Stefan Ring
2012-07-17  1:39       ` Stan Hoeppner
2012-07-17  5:26         ` Dave Chinner
2012-07-18  2:18           ` Stan Hoeppner
2012-07-18  6:44             ` Stefan Ring
2012-07-18  7:09               ` Stan Hoeppner
2012-07-18  7:22                 ` Stefan Ring
2012-07-18 10:24                   ` Stan Hoeppner
2012-07-18 12:32                     ` Stefan Ring
2012-07-18 12:37                       ` Stefan Ring
2012-07-19  3:08                         ` Stan Hoeppner
2012-07-25  9:29                           ` Stefan Ring
2012-07-25 10:00                             ` Stan Hoeppner
2012-07-25 10:08                               ` Stefan Ring
2012-07-25 11:00                                 ` Stan Hoeppner
2012-07-26  8:32                             ` Dave Chinner
2012-09-11 16:37                               ` Stefan Ring
2012-07-16 22:16     ` Stefan Ring
2012-10-10 14:57 ` Stefan Ring
2012-10-10 21:27   ` Dave Chinner
2012-10-10 22:01     ` Stefan Ring
2012-04-26 22:33 Richard Scobie
2012-04-27 21:30 ` Emmanuel Florac
2012-04-28  4:15   ` Richard Scobie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.