On Wed, 22 Oct 2003 [EMAIL PROTECTED] wrote:

> I don't doubt your explenation but:
> 
> 1. I *think* that I feel things move faster after I added this parameter
> (with value of 66).

I know the feeling.

> 2. More important - how can I know if my IDE bus and device (Maxtor
> 6Y080P0, 80Gb+8Mb cache,
> http://www.maxtor.com/en/support/products/ata/desktop/diamondmax_plus_9/index.htm
> ) is used in its highest speed (supposed to be 133MHz)? I see in dmesg
> that it's using PIO:
> 
> ide: Assuming 66MHz system bus speed for PIO modes

No. You see that for calculating the delays for PIO mode, the driver 
assumes 66MHz PCI bus (since that is what you told it).

The way to check (and set) IDE parameters is with hdparm:

18:58:09:~# hdparm -v /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     = 30515/255/63, sectors = 490234752, start = 0


Note the using_dma is 1.

18:58:18:~# hdparm -i /dev/hda

/dev/hda:

 Model=Maxtor 4A250J0, FwRev=RAMB1TU0, SerialNo=A803WZ6E
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=65535/1/63, CurSects=4128705, 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):  1 2 3 4 5 6 7

Note the star (*) signaling the use of udma6 (this is ata133). ata100 is 
udma5, ata66 is udma4, ata33 is udma2.


-- 
Matan Ziv-Av.                         [EMAIL PROTECTED]


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to