View Full Version : Test speed of sata II harddrivers

10th September 2006, 06:10 PM

I have installed a seagete 200g sata II harddrive. How can I test the speed of the drive.

10th September 2006, 07:27 PM
hdparm -Tt /dev/sda

10th September 2006, 08:49 PM

I use bonnie++ (it's yum installable in FC5).

PS. Notice that on a lot of the 3gb/sec capable Seagate drives, there is a jumper on by default that limit them to 1.5gb speed as well.

10th September 2006, 10:27 PM
Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
server.anders 2G 41654 91 53707 29 21540 5 36576 65 54855 5 178.1 0

Im no expert but its around 40-50 mb/sec I get around 30-35 when coping files between two sata I harddrives..

10th September 2006, 10:49 PM
Yeah, even though Disk->Controller speed can theoretically go up to 3gb/sec with SATA2, you'll not be seeing that with current HD technology. Here's a very high-end dual-core Opteron box with 2 Seagate 250GB SATA2 disks and an Adaptec hardware RAID card mirroring them:

Version 1.03 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
cluweb1 16000M 23407 54 23132 12 14439 3 35185 64 49084 5 201.0 0
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ 28427 71
cluweb1,16000M,23407,54,23132,12,14439,3,35185,64, 49084,5,201.0,0,16,+++++,+++,+++++,+++,+++++,+++,+ ++++,+++,+++++,+++,28427,71

Your speed appears to be quite a bit better than mine. I could probably push a bit more without the RAID card but high-availability is more important to me on this box than speed.

Your 40-50MB/sec is 300-400mb/sec, a far cry from 3000mb/sec indeed.

Hard drive technology has come a long way but the $/MB ratio has been all-consuming. They're relatively cheap now so time to start concentrating more on speed IMO...

10th September 2006, 11:11 PM
I was thinking of geting one more 200g drive to use it whit raid 1 or raid 10 dont (dont know what is best im new to linux) for backup and not speed. This was just for testing how fast a sata drive cold be.
I have a Seagate Barracuda 7200.9 200Gb 7200rpm 8Mb cache SATA2 tested on my fedora core 5 whit an opteron cpu 144 1.8 ghz tyan moderbord and 1 gig ram. Its my test server for my game site @ http://www.roninofsweden.se

10th September 2006, 11:32 PM
From what I have seen, the performance of IDE, SATA and SATA II are all almost the same (except for the Western Digital raptors....but those are faster because they spin at 10,000RPM's).

My fastest IDE drive is about 50MB/sec, my SATA drive is about 52MB/sec and my SATA II drive is about 53MB/sec. Big WhoopieDoo, hardly any difference whatsoever.

11th September 2006, 01:36 AM
RAID-1 won't help your speed but will help reliability. That's mirroring and just insures that the same data exists on both drives. Depending on how it's done, it could hinder speed some as well.

RAID-10 is a stripe across mirror sets and you'd need 4 drives for that. Each pair of 2 are a RAID-1 mirror set then a RAID-0 stripe exists across those mirrors. It's a very good choice for both reliability and speed. The RAID-0 striping will come close to doubling your throughput, your 50MB/sec will most likely go to ~100MB/sec.

11th September 2006, 09:09 AM
Ahh ok tanks.. Im going for raid 1 then. But now I only testing trying to learn mutch as possible about linux and fedora. I like fedora its nice smooth. Debian is unstable for someone not that skilled, belive me :D

Tanks for all the ansers.