ubuntu hdd performance

7H4_D00D3

Distinguished
Dec 30, 2005
449
0
18,780
hi! long time since I've been on the forumz :D (partly because of the whole THG change issue...it has changed A LOT and not in a good way...I thought the forumz were the sanctuary, the last place they would touch...apparently the claws of the so called progress have done its job again)

anyways... Im writing this because Im having issues with my hdds

I have 2 hdds, sda and hda, both are WD 80Gb, one SATA, the other one PATA, apparently, the pata drive is transfering a bit faster than my sata drive AND my sata drive is transfering a lot slower than on windows...my mobo is an asrock k8vm800

root@big-pengwiin:~# hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads: 1484 MB in 2.00 seconds = 742.00 MB/sec
Timing buffered disk reads: 166 MB in 3.03 seconds = 54.84 MB/sec
root@big-pengwiin:~# hdparm -Tt /dev/sda

/dev/sda:
Timing cached reads: 1454 MB in 2.00 seconds = 727.07 MB/sec
Timing buffered disk reads: 164 MB in 3.00 seconds = 54.64 MB/sec

in windows, the sata drive transfers @ 110 or so Mbs according to everest

also, here's the -i for hdparm

root@big-pengwiin:~# hdparm -i /dev/sda

/dev/sda:

Model=WDC WD800JD-60LUA0 , FwRev=07.01D07, SerialNo= WD-WMAMD3161236
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=65
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=?16?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

Im using ubuntu feisty x86_64 with kernel 2.6.20.16 and I have noticed that a lot of people are having toubles with their drives with transfer rates as low as 5Mbs, so I want to know how to improve my hdd performance on ubuntu
 

linux_0

Splendid
Hey :)

Unfortunately everest is wrong there is no way you can get 110MB/sec sustained.

You may be able to get 50-70MB/sec sequential on a good day with a newer drive 16MB of cache and a nice controller.
 

7H4_D00D3

Distinguished
Dec 30, 2005
449
0
18,780
hi linux_0!

well too bad :p I was wondering if I could get that "performance" showed by everest on ubuntu :p

But still, how is it possible that my pata drive is working faster than my sata drive? when I know for a fact tht in wondows the pata drive works slooooooooooooooooooooow (I didnt use any benchmark this time, just my appreciation, I installed xp on the pata drive a while ago and compared to the sata, it took a lot more to boot and do almost everything)