* How do I self diagnose slow write to HDD performance issue
@ 2008-10-21 19:34 Jonathan Johnson
2008-10-22 3:07 ` Valdis.Kletnieks
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Johnson @ 2008-10-21 19:34 UTC (permalink / raw)
To: linux-kernel
Hello all,
Please CC response to johnsonn@matc.edu
The only archive of the mailing list I could find was totally empty, and so was the digest.
I am new to troubleshooting source code in linux.
I want to collect all the necessary data and analyze as much as possible my self.
When/If that fails I would like to know where and what diagnostic data to send, and to who.
My problem is my RAID 6 is way sloooooooooooooooooooooooooowwww. Originally, I had
a 6 drive RAID 6 (1000gb,750gb,500gb,500gb,500gb,500gb), and it wrote at about 20mb/s which
for a RAID 6 is junk. A friend told me my drives were lame so I replaced them with Qty 4 1TB
seagate ST31000340NS drives. bonnie++ (with only the -d option) used to complete in less than
2 hours and now it barely even gets started in 3 hours.
I had setup a new array and migrate the data back to new drives which took 3 days(for 1.41TB) or more.
Before I setup the array I tested the SATA 2 drives connected to the mobo SATA connect and got approx 60mb/s
write and even better read speeds per drive. I had the privilege of borrowing (had to return) a Dell MD3000
and connected that to my controller directly and got vastly better speeds, on 1 drive.
So the drives are fast, and the controller seems to be fast, but when combined really slow. I have an
adaptec 3805 using aacraid driver. I am using kernel 2.6.27.2. SuSE 11.0
AMD XP 4200+
2048MB RAM
Intel e1000e (pcie 1x)
ATI Radeon X1300 (pcie 16x)
2 x ATI HDTV Wonders (pci)
Sound Blaster Audigy 4 (pci)
Fusion HDTV Dual Tuner (pcie 1x)
Adaptec 3805 (pcie 4x)
What tools do I run to locate the bottleneck, what am I looking for?
I have used vmstat and top and they report 48-50% "wa" when writing but does not specify which device has it.
It could be the RAID or the internal drive OS.
Does someone specialize in HDD I/O and should I sent it to them.
I have installed Webmin with "Historic Performance module" and have many(12 categories w/ hourly/daily/monthly
and yearly graphs each category) graphs I can send.
Network I/O is also slow, but that could be related to the disk I/O.
Later,
Jonathan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How do I self diagnose slow write to HDD performance issue
2008-10-21 19:34 How do I self diagnose slow write to HDD performance issue Jonathan Johnson
@ 2008-10-22 3:07 ` Valdis.Kletnieks
0 siblings, 0 replies; 2+ messages in thread
From: Valdis.Kletnieks @ 2008-10-22 3:07 UTC (permalink / raw)
To: Jonathan Johnson; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]
On Tue, 21 Oct 2008 14:34:01 CDT, Jonathan Johnson said:
> Before I setup the array I tested the SATA 2 drives connected to the mobo SATA connect and got approx 60mb/s
> write and even better read speeds per drive.
Remember that streaming read/write speed is usually only a small part of the
total disk performance story. Sure, if you don't have to move the heads much,
you can go 60 megabytes/sec. However, even the *hottest* drives out there
have a hard time sustaining 200 seeks per second.
In other words, every time you have to move the heads, it costs you 300Kbytes/sec
of throughput (1/200th of that 60M).
And bonnie++ probably moves the heads a lot.
To *add* insult to injury, if you're running in RAID6 mode, each time you write
to the RAID set, it has to do *several* I/Os to do all the parity computations.
So you take a 300K hit for each of those I/Os.
There's a *reason* why RAID1 is still used - you can (assuming a smart enough
controller) launch both the write and the mirroring write at the same time in
parallel, taking little or no performance penalty.
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-22 3:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-21 19:34 How do I self diagnose slow write to HDD performance issue Jonathan Johnson
2008-10-22 3:07 ` Valdis.Kletnieks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome