Re: DMA y/o UDMA
El dj 30 de 12 del 2004 a les 13:21 -0300, en/na Agustín Ciciliani va
escriure:
> Hola a todos!
>
> Realicé una instalación normal y actualicé el kernel al 2.6.6. Ahora cada vez que la
> máquina bootea, cuando chequea cada partición, salé el siguiente mensaje:
>
> ******************************************************
> * Warning: The dma on your hard drive is turned off. *
> * This may really slow down the fsck process. *
> ******************************************************
>
> Y de hecho se toma como 15 minutos en terminar el proceso de booteo.
>
> Creo haber compilado el kernel con todas las opciones de DMA correspondientes habilitadas,
> y en el BIOS también las habilité.
Aqui tienes mi configuracion en el 2.6.10:
<*> ATA/ATAPI/MFM/RLL support
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
<*> Include IDE/ATA-2 DISK support
<*> Include IDE/ATAPI CDROM support
<*> Include IDE/ATAPI FLOPPY support
<*> generic/default IDE chipset support
[*] PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
<*> Generic PCI IDE Chipset Support
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
<*> AMD and nVidia IDE support (o el que tengas tu)
Y me funciona bien.
El hdparm no hace falta tenerlo instalado, pero es recomandable para
hacer tests:
##########################################################################
root@tarat:/usr/src/linux# hdparm -i /dev/hda
/dev/hda:
Model=Maxtor 6Y120L0, FwRev=YAR41BW0, SerialNo=Y3LHY05E
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
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
root@tarat:/usr/src/linux#
##########################################################################
root@tarat:/usr/src/linux# hdparm /dev/hda
/dev/hda:
multcount = 0 (off)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 122942324736, start = 0
root@tarat:/usr/src/linux#
##########################################################################
root@tarat:/usr/src/linux# hdparm -tT /dev/hdc
/dev/hdc:
Timing buffer-cache reads: 3340 MB in 2.00 seconds = 1670.00 MB/sec
Timing buffered disk reads: 142 MB in 3.04 seconds = 46.71 MB/sec
root@tarat:/usr/src/linux#
##########################################################################
Creo que lo tengo bastante bien, ya que el dico duro que tengo no es que
sea una maravilla... Un Maxtor 120Gb varatito ATA133. A lo mejod tu
WesternDigital va mejor ^^
Espero que te sirva =)
Reply to:
- References:
- DMA y/o UDMA
- From: Agustín Ciciliani <agustin@maderonet.net.ar>