hdparm - manejar el disco a bajo nivel
Una utilidad que no conocía para manejar los parámetros del disco al más bajo nivel en Linux
Primero ver los datos del disco
# hdparm -i /dev/hda
o # hdparm /dev/hda
Algunos datos importantes que devuelve esta utilidad
# MaxMultSect - The maximum number of sectors your hard disk can read at a time.
# MultSect - The current number of sectors being read at a time.
# PIO modes, DMA and UDMA modes - The modes supported by your hard drive. The one marked with an asterisk (*) is the one currently set.
# AdvancedPM - Indicates whether or not your hard drive supports Advanced Power Management.
Luego testear la performance
# hdparm -Tt /dev/hda1
luego setear parámetros como por ejemplo el modo de operación ..
# -c0 - Sets operating mode to 16-bits
# -c1 - Sets operating mode to 32-bits
# -c3 - Sets operating mode to 32-bits synchronized
# hdparm -c1 /dev/hda
y luego volver a testear para ver como afectaron los cambios
Por supuesto todos los cambios pueden hacerse permanentes agregando los comandos a un script al inicio del sistema opertivo
Pero esto es solo un resumen de última hora.. hay muchisimo más acá muy interesante !
Slds