Just add -a255 (for 2.4 kernels) or -a256(for 2.6 kernels) to increase the "readahead" of the disk, this is one of the "safe" parameters of hdparm.

Redeeman wrote:
i would like to know if i could improve too, here is data for my disks
(3 disks):

hda:
[EMAIL PROTECTED] redeeman # hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 808 MB in 2.01 seconds = 401.99 MB/sec
Timing buffered disk reads: 102 MB in 3.05 seconds = 33.44 MB/sec


[EMAIL PROTECTED] redeeman # hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 7474/255/63, sectors = 120069936, start = 0


[EMAIL PROTECTED] redeeman # hdparm -i /dev/hda
/dev/hda:
Model=Maxtor 4D060H3, FwRev=DAH017K0, SerialNo=D3H7MPTE
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=120069936
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
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 0:
* signifies the current active mode


#################################################

hdc:

[EMAIL PROTECTED] redeeman # hdparm -tT /dev/hdc
/dev/hdc:
Timing buffer-cache reads: 812 MB in 2.01 seconds = 403.98 MB/sec
Timing buffered disk reads: 142 MB in 3.00 seconds = 47.33 MB/sec


[EMAIL PROTECTED] redeeman # hdparm /dev/hdc
/dev/hdc:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 14946/255/63, sectors = 240121728, start = 0


[EMAIL PROTECTED] redeeman # hdparm -i /dev/hdc
/dev/hdc:
Model=Maxtor 6Y120L0, FwRev=YAR41VW0, SerialNo=Y4091JNE
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=240121728
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=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):
* signifies the current active mode


#################################################
hdd:

[EMAIL PROTECTED] redeeman # hdparm -tT /dev/hdd
/dev/hdd:
Timing buffer-cache reads: 792 MB in 2.00 seconds = 396.00 MB/sec
Timing buffered disk reads: 154 MB in 3.03 seconds = 50.83 MB/sec
[EMAIL PROTECTED] redeeman # hdparm /dev/hdd
/dev/hdd:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 19929/255/63, sectors = 320173056, start = 0


[EMAIL PROTECTED] redeeman # hdparm -i /dev/hdd
/dev/hdd:
Model=Maxtor 6Y160P0, FwRev=YAR41VW0, SerialNo=Y60D80ME
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
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=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):
* signifies the current active mode



On Thu, 2003-10-30 at 15:17, Craig Main wrote:


Hi all,

I have been looking at the speeds of the disks in some of the threads
lately. I noticed that mine is a lot slower than most. I have attached
some info. Is my disk running as optimally as it can or is there some
more tweaking I can do to improve performance?

laptop root # hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads:   644 MB in  2.00 seconds = 322.00 MB/sec
Timing buffered disk reads:   22 MB in  3.25 seconds =   6.77 MB/sec

laptop root # hdparm /dev/hda

/dev/hda:
multcount    = 16 (on)
IO_support   =  1 (32-bit)
unmaskirq    =  0 (off)
using_dma    =  0 (off)
keepsettings =  0 (off)
readonly     =  0 (off)
readahead    =  8 (on)
geometry     = 2432/255/63, sectors = 39070080, start = 0

laptop root # hdparm -i /dev/hda

/dev/hda:

Model=HITACHI_DK23CA-20, FwRev=00H1A0J1, SerialNo=12N68B
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=36477, SectSize=579, ECCbytes=4
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=39070080
IORDY=yes, tPIO={min:400,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5
AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
Drive conforms to: ATA/ATAPI-5 T13 1321D revision 3:

* signifies the current active mode

What other hdparm flags can I _safely_ use, I don't want to trash my
disk.

Thanks and Regards
Craig

--
Craig Main
RHCE
ST Solutions
Cell: 082-323-4670
Home Tel: 011-760-1900
AIM: SATuxman; ICQ: 75815570
http://www.stsolutions.co.za
http://www.linuxsa.com


____________________________ I can't believe I ate the whole thing. -- Homer Simpson The Front


--
[EMAIL PROTECTED] mailing list



Reply via email to