* Just plain bad RAID5 performance?
@ 2004-05-14 0:08 Jeffrey W. Baker
0 siblings, 0 replies; only message in thread
From: Jeffrey W. Baker @ 2004-05-14 0:08 UTC (permalink / raw)
To: linux-raid
I have this array:
md0 : active raid5 sdb[0] sdd[2] sdc[1]
145225728 blocks level 5, 256k chunk, algorithm 2 [3/3] [UUU]
... on three Western Digital Raptor 74GB drives. These are attached
with a 3ware 8506-8 SATA thingy, the fs is ext2 w/ 4096 block size.
Basic test: dd from all three devices at once. Aggregate I/O: roughly
150MB/sec, > 95% CPU usage. dd from /dev/md0: about 60MB/sec, < 30% CPU
usage. Any way to improve this result? I would expect it to be at
least 100MB/sec.
More complicated test: single postgresql query on a 40GB database.
Query uses three index scans, so it is highly random access. On the
RAID i'm getting about 10-20 tps per device, about 4MB/sec effective
aggregate throughput, according to iostat. On a single 5-year-old SCSI
device I get 1000s of tps and the query finishes roughly 20 times
faster. What could I be seeing here?
The machine is a dual opteron, so I doubt that the CPU is starving the
RAID5 XOR routines or anything silly like that.
Software is: Linux 2.4.26, PostgreSQL 7.4.2.
Any information appreciated.
-jwb
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-14 0:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-14 0:08 Just plain bad RAID5 performance? Jeffrey W. Baker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).