Hdparm: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
m (→‎Opzioni e Argomenti: prima formattazione)
Nessun oggetto della modifica
Riga 18: Riga 18:
Le opzioni disponibili sono tante, alcune delle quali '''critiche''', quindi sconsiglio vivamente l'utilizzo di opzioni che non si conoscono, per evitare danni e/o malfunzionamenti/perdite di dati... (declino ogni responsabilit� su questi).
Le opzioni disponibili sono tante, alcune delle quali '''critiche''', quindi sconsiglio vivamente l'utilizzo di opzioni che non si conoscono, per evitare danni e/o malfunzionamenti/perdite di dati... (declino ogni responsabilit� su questi).


:'''-a''' Get/set sector count for filesystem read-ahead. This is used to improve performance in sequential reads of large files, by  prefetching  additional blocks  in  anticipation  of  them being needed by the running task.  In the current kernel version (2.0.10) this has a default setting of 8 sectors (4KB).  This value seems good for most purposes, but in a system where most file accesses are random seeks, a smaller setting might  provide  better performance.  Also, many IDE drives also have a separate built-in read-ahead function, which alleviates the need for a filesystem read-ahead in many situations.
; -a:Get/set sector count for filesystem read-ahead. This is used to improve performance in sequential reads of large files, by  prefetching  additional blocks  in  anticipation  of  them being needed by the running task.  In the current kernel version (2.0.10) this has a default setting of 8 sectors (4KB).  This value seems good for most purposes, but in a system where most file accesses are random seeks, a smaller setting might  provide  better performance.  Also, many IDE drives also have a separate built-in read-ahead function, which alleviates the need for a filesystem read-ahead in many situations.
:'''-A''' Disable/enable the IDE drive's read-lookahead feature (usually ON by default).  Usage: -A0 (disable) or -A1 (enable).
:'''-A''' Disable/enable the IDE drive's read-lookahead feature (usually ON by default).  Usage: -A0 (disable) or -A1 (enable).
:'''-b''' Get/set bus state.
:'''-b''' Get/set bus state.