[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Help with hdparm



chainy(chainy@infonegocio.com) is reported to have said:
> Hello again Bob, MKolb and debian users:
> 
> To re-start this with everything clear, I also have a Fic SD11 motherboard, 
> here is my exact configuration:
> 
> Processor: AMD K7 500 Mhz
> HD: Seagate Barracuda 60GB ATA/100  (80 Pin cable conected to ide0)
> Memory: 256 MB SDRAM 133 Mhz
> 
> The motherboard users manual and website says the south bridge VIA Super 
> South (686A) supports UDMA 66.
> 
> I knew what kind of hardware had my motherboard but here is what "lspci" 
> dropped out:
> 
> 00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System 
> Controller (rev 23)
> 00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP 
> Bridge (rev 01)
> 00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 
> 1b)
> 00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
> 00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 0e)
> 00:07.4 SMBus: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 20)
> 00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
> 01:05.0 VGA compatible controller: nVidia Corporation Vanta [NV6] (rev 15)
> 
> Due to this, here is the kernel configuration I thought was best for my 
> system:
> 
> Kernel 2.4.18
> 
> This are the options I have selected in the branch ATA/IDE/MFM/RLL support.
> 
> 	ATA/IDE/MFM/RLL support
> 	IDE, ATA and ATAPI Block devices  --->
> 
> 	<*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
> 	<*>   Include IDE/ATA-2 DISK support
> 	<*>   SCSI emulation support
> 	[*]     Generic PCI IDE chipset support                                      
>  ? ?	[*]     Sharing PCI IDE interrupts support                               
>    ? ?	[*]     Generic PCI bus-master DMA support
> 	[*]     Use PCI DMA by default when available
> 	[*]     VIA82CXXX chipset support
> 
> Here is what "hdparm -i /dev/hda" showed:
> 
> /dev/hda:
> 
>  Model=ST360021A, FwRev=3.19, SerialNo=3HR0YT2A
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
>  BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
>  CurCHS=17475/15/63, CurSects=16513875, LBA=yes, LBAsects=117231408
>  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 udma0 udma1 udma2
>  AdvancedPM=no WriteCache=enabled
>  Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5
> 
> Therefore my HD is capable of udma2.
> 
> Actually I have hdparm configured in multiword dma2 with this parameters:
> 
> hdparm -X34 -d1 -u1 -c3 -m16 /dev/hda
> 
> "hdparm /dev/hda" shows:
> 
> /dev/hda:
>  multcount    = 16 (on)
>  I/O support  =  3 (32-bit w/sync)
>  unmaskirq    =  1 (on)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  nowerr       =  0 (off)
>  readonly     =  0 (off)
>  readahead    =  8 (on)
>  geometry     = 7297/255/63, sectors = 117231408, start = 0
>  busstate     =  1 (on)

I just tried your setup command a got an interesting result.

With my hdparm command (in /.etc/init,d/hwtools)
hdparm -q -m16 -a12 -A1 -c3 -d1 -u1 -W0 -S150 /dev/hda
I got

hdrarm -Tt /dev/hda
/dev/hda:
 Timing buffer-cache reads:   128 MB in  1.07 seconds =119.63 MB/sec
  Timing buffered disk reads:  64 MB in  2.96 seconds = 21.62 MB/sec

I had not used the -X34 before so I tried it.  :-(

hdparm -q -m16 -a12 -A1 -c3 -d1 -u1 -W0 -S150 -X34 /dev/hda
gave me
hdrarm -Tt /dev/hda
/dev/hda:
 Timing buffer-cache reads:   128 MB in  1.07 seconds =119.63 MB/sec
  Timing buffered disk reads:  64 MB in  7.47 seconds =  8.57 MB/sec

I see the suggested use of the -X?? in the man page but it sure
doesn't help here.

hdparm -i /dev/hda
/dev/hda:

 Model=ST38410A, FwRev=3.20, SerialNo=7DX0SB2E
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=512kB, MaxMultSect=32, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=16841664
 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 udma0 udma1 udma2
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5

HTH

-- 
Computers are a more fun way to do the same work you'd have to do
without them.
_______________________________________________________



Reply to: