Pagina 1 di 1

ottimizzazione harddisk: ho fatto qualche cavolata ?

Inviato: mar 3 gen 2006, 11:45
da first
Ciaa a tutti, ho letto in giro un modo per ottimizzare l'harddisk e vi chiedo se ho fatto bene e se qualcuno mi spiega cosa ho modificato :D

Codice: Seleziona tutto

root@enterprise:/home/diego# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   468 MB in  2.01 seconds = 232.59 MB/sec
 Timing buffered disk reads:   24 MB in  3.02 seconds =   7.95 MB/sec
root@enterprise:/home/diego# man hdparm
root@enterprise:/home/diego# hdparm -X66 -d1 -u1 -m16 -c3 /dev/hda

/dev/hda:
 setting 32-bit IO_support flag to 3
 setting multcount to 16
 setting unmaskirq to 1 (on)
 setting using_dma to 1 (on)
 setting xfermode to 66 (UltraDMA mode2)
 multcount    = 16 (on)
 IO_support   =  3 (32-bit w/sync)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
root@enterprise:/home/diego# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   460 MB in  2.01 seconds = 229.07 MB/sec
 Timing buffered disk reads:   60 MB in  3.02 seconds =  19.89 MB/sec
Vi ringrazio in anticipo delle spiegazioni.

Inviato: mar 3 gen 2006, 12:05
da Bart
hdparm è un comando utilizzato per settare alcune funzionalità del tuo hd.
L'opzione -c3 abilita il supporto 32-bit I/O.
Per quanto riguarda l'opzione -X66 -d1 ti rimando alle pagine man:
-X Set the IDE transfer mode for newer (E)IDE/ATA drives. This is typi-
cally used in combination with -d1 when enabling DMA to/from a drive on
a supported interface chipset, where -X mdma2 is used to select multi-
word DMA mode2 transfers and -X sdma1 is used to select simple mode 1
DMA transfers.
-u1
-u Get/set interrupt-unmask flag for the drive. A setting of 1 permits the
driver to unmask other interrupts during processing of a disk interrupt,
which greatly improves Linux's responsiveness and eliminates "serial
port overrun" errors.
-m16
-m Get/set sector count for multiple sector I/O on the drive. Most drives support
the minimum settings of 2, 4, 8, or 16 (sectors). Larger settings may
also be possible, depending on the drive. A setting of 16 or 32 seems
optimal on many systems.

Inviato: mar 3 gen 2006, 20:34
da first
no comment