LingaringBell
August 11th, 2009, 06:12 PM
I am running Ubuntu 9 desktop 64 bit on a machine with two internal drives (one has Ubuntu, the other is just data). On both drives it takes a very long time to copy files, both form one drive to another and just dublicating a file on the same drive. This is the hdparm output for the data drive:
sysadmin@sysadmin-desktop:~$ sudo hdparm -i /dev/sdb1
/dev/sdb1:
Model=WDC WD2500JD-40HBC0 , FwRev=21.02J21, SerialNo= WD-WCAL75348674
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=?0?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=488397168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6
* signifies the current active mode
It looks to me like it is using the proper udma mode, but I'm still new to this. If I run a few tests using hdparm, sometimes I get:
sysadmin@sysadmin-desktop:~$ sudo hdparm -tT /dev/sdb1
/dev/sdb1:
Timing cached reads: 6400 MB in 2.00 seconds = 3201.50 MB/sec
Timing buffered disk reads: 172 MB in 3.01 seconds = 57.05 MB/sec
and sometimes I get:
/dev/sdb1:
Timing cached reads: 3612 MB in 2.00 seconds = 1806.21 MB/sec
Timing buffered disk reads: 44 MB in 3.19 seconds = 13.80 MB/sec
Is there something I need to do more consistant speeds? Thanks for the help.
-Bell
sysadmin@sysadmin-desktop:~$ sudo hdparm -i /dev/sdb1
/dev/sdb1:
Model=WDC WD2500JD-40HBC0 , FwRev=21.02J21, SerialNo= WD-WCAL75348674
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=?0?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=488397168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6
* signifies the current active mode
It looks to me like it is using the proper udma mode, but I'm still new to this. If I run a few tests using hdparm, sometimes I get:
sysadmin@sysadmin-desktop:~$ sudo hdparm -tT /dev/sdb1
/dev/sdb1:
Timing cached reads: 6400 MB in 2.00 seconds = 3201.50 MB/sec
Timing buffered disk reads: 172 MB in 3.01 seconds = 57.05 MB/sec
and sometimes I get:
/dev/sdb1:
Timing cached reads: 3612 MB in 2.00 seconds = 1806.21 MB/sec
Timing buffered disk reads: 44 MB in 3.19 seconds = 13.80 MB/sec
Is there something I need to do more consistant speeds? Thanks for the help.
-Bell