On Mon, 25 Apr 2005, James wrote:

>
> Mark Knecht <markknecht <at> gmail.com> writes:
>
> >
> > Hi James,
> >    Typically run hdparm -tT /dev/hda to test the effect of the
> > settings you make. the numbers are not 'real' but they are useful.
>
> Yea, I've seen/used this syntax/test before, but, I'm not too sure
> how robust it is.
>
> Here's my results after a reboot:
>
> /dev/hda:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 16383/255/63, sectors = 60011642880, start = 0
>
> icelander:/home/james# hdparm -tT /dev/hda
>
> /dev/hda:
>  Timing cached reads:   1860 MB in  2.00 seconds = 930.14 MB/sec
>  Timing buffered disk reads:  116 MB in  3.02 seconds =  38.35 MB/sec
>
> NOW:
> icelander:/home/james# hdparm -d 1 -A 1 -m 16 -u 1 -c1 -a 256 /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    = 256 (on)
>  geometry     = 16383/255/63, sectors = 60011642880, start = 0
>
> icelander:/home/james# hdparm -tT /dev/hda
>
> /dev/hda:
>  Timing cached reads:   1860 MB in  2.00 seconds = 929.68 MB/sec
>  Timing buffered disk reads:  116 MB in  3.03 seconds =  38.30 MB/sec
>
>
> Hard to believe that 32bit mode, and the other settings make no difference
> in performance.
>
> hdparm -i /dev/hda shows:
>
> Model=HTS726060M9AT00, FwRev=MH4OA68A, SerialNo=MRH403M4GLMLKB
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
>  BuffType=DualPortCache, BuffSize=7877kB, MaxMultSect=16, MultSect=16
>  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
>  IORDY=on/off, tPIO={min:240,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
>  AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
>  Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:
>
>
> Which *udma5 selected may not need these other settings.
>
> I'm just not sure why
> hdparm -k1 /dev/hda
> does not permanently save settings, after a reboot. Googling
> does not produce anything useful. Surely I do not have to embedded
> these hdparm settings to get activated upon reboot?
>
> Surely we have a HD(hdparm) expert somewhere in the Gentoo community?
>
> James
>

Hi,

Take a shot to bonnie. I run it to test HD performance.

HTH.
Cheers,
Tamas Sarga                             Sárga Tamás
--
Make the world confused!                Zavard össze a világot!
Smile on monday morning!                Mosolyogj hétfő reggel!

-- 
gentoo-user@gentoo.org mailing list

Reply via email to