Linux
Logiciels
hdparm
Benchmark de disque dur et ssd
Pour : Linux
hdparm est un logiciel en ligne de commande dans le but de benchmarker vos disques durs et ssd sous linux.
Syntaxe:
hdparm [options] [device ...]
apt-get install hdparm
hdparm -i /dev/sda1
root@pc-sport:/home/cedric# hdparm -i /dev/sda1 /dev/sda1: Model=ST3320620AS, FwRev=3.AAE, SerialNo=23QF70HY2LCB Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=625142448 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=no WriteCache=enabled Drive conforms to: Unspecified: ATA/ATAPI-1,2,3,4,5,6,7 * signifies the current active mode
hdparm -t /dev/sda1
root@pc-sport:/home/cedric# hdparm -t /dev/sda1 /dev/sda1: Timing buffered disk reads: 212 MB in 3.01 seconds = 70.54 MB/sec
hdparm -T /dev/sda1
root@pc-sport:/home/cedric# hdparm -T /dev/sda1 /dev/sda1: Timing cached reads: 3512 MB in 2.00 seconds = 1755.74 MB/sec
fdisk -lOu bien
df -h