On Sunday 08 June 2003 05:38, Stroller wrote: > On 8/6/03 3:05 am, "Dhruba Bandopadhyay" <[EMAIL PROTECTED]> wrote: > > On Sat, 2003-06-07 at 20:06, Stroller wrote: > >> Thanks! How do I do that, please..? I thought that was what > >> /etc/init.d/hdparm was for..? > > > > http://forums.gentoo.org/viewtopic.php?p=337306#337306 > > > > Or more simply: hdparm -d1 /dev/hdX > > I think that's set by: > > [EMAIL PROTECTED] stroller $ cat /etc/conf.d/hdparm > > # You can either set hdparm arguments for each drive using > # disc*_args and cdrom*_args.. eg. > # disc0_args="-d1 -X66" > # disc1_args"-d1" > # cdrom0_args="-d1" > > # Or, you can set hdparm options for ALL drives using all_args.. > # eg. > # this mimics the behaviour of the current script > all_args="-d1" > > [EMAIL PROTECTED] stroller $ > > Isn't it..? > > As you can see from my original post, I've tested before & after starting > /etc/init.d/hdparm. > > Does this mean anything to anyone..? > > [EMAIL PROTECTED] stroller $ sudo /sbin/hdparm -i /dev/hda > > /dev/hda: > > Model=IBM-DARA-212000, FwRev=AR4OA53A, SerialNo=AH0AHJ80443 > Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } > RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 > BuffType=DualPortCache, BuffSize=418kB, MaxMultSect=16, MultSect=16 > CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=23579136 > 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 > AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled > Drive conforms to: ATA/ATAPI-4 T13 1153D revision 17: 1 2 3 4 > > [EMAIL PROTECTED] stroller $ > > Maybe this hard-drive is just a particularly slow one, as Volker > suggests..? But is seems SO considerably much slower than all the other > hdparm results I've seen posted. 8-[ > > Thanks in advance for any comments, > > Stroller.
/dev/hda: Timing buffer-cache reads: 128 MB in 0.42 seconds =304.76 MB/sec Timing buffered disk reads: 64 MB in 2.24 seconds = 28.57 MB/sec energy root # hdparm -tT /dev/hdb /dev/hdb: Timing buffer-cache reads: 128 MB in 0.42 seconds =304.76 MB/sec Timing buffered disk reads: 64 MB in 1.27 seconds = 50.39 MB/sec /dev/hde: Timing buffer-cache reads: 128 MB in 0.42 seconds =304.76 MB/sec Timing buffered disk reads: 64 MB in 5.31 seconds = 12.05 MB/sec /dev/hdg: Timing buffer-cache reads: 128 MB in 0.42 seconds =304.76 MB/sec Timing buffered disk reads: 64 MB in 1.70 seconds = 37.65 MB/sec These settings are all the same for the four disks: multcount = 16 (on) IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) hda&hdb are connected to the onboard controller (SiS746) hdg&hde are connected to a ht366 based pci-ide-controller. hda is a seagate ST320413A hdb is a hitachi/ibm IC35L060AVV207-0 (latest) hdg is an ibm IC35L040AVER07-0 hde is an ibm IBM-DTTA-351010 (4 years old?) You do not need a RAID to get some decent numbers, only new harddrives. hde is pretty old, the seagate is only a little bit younger. I doubt that my disks would be any faster with dangerous -X fiddling, but as you can see: your numbers are not so special low... I have a harddisk in a drawer (pio4) that delivers happily 2mb/sec.... Gl�ck Auf, Volker -- [EMAIL PROTECTED] mailing list
