Vahendid kettatestiks
Allikas: Kuutõrvaja
Sisukord
dd
Alustuseks kõige lihtsam lugemise ja kirjutuskiiruse testimise utiliit
# dd if=/dev/sda of=/dev/null bs=1024k count=1000 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB) copied, 17.0656 s, 61.4 MB/s
dd käsku võib peal juurutada ntx nii:
# kirjutamine, algusse ja lõppu dd bs=1024K count=1024 if=/dev/zero of=/dev/hdc dd bs=1024K count=1024 if=/dev/zero of=/dev/hdc seek=75000 # lugemine dd bs=1024K count=1024 if=/dev/hdc of=/dev/null dd bs=1024K count=1024 if=/dev/hdc of=/dev/null skip=75000
Linux hdparm
# hdparm -tT /dev/sda /dev/sda: Timing cached reads: 8688 MB in 2.00 seconds = 4349.14 MB/sec Timing buffered disk reads: 174 MB in 3.00 seconds = 57.91 MB/sec
Bonnie
Kirjutus ja lugemistestid
# /usr/local/bin/bonnie File './Bonnie.81484', size: 104857600 Writing with putc()...done Rewriting...done Writing intelligently...done Reading with getc()...done Reading intelligently...done Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done... -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU 100 163734 81.9 280862 22.1 384488 57.6 127538 97.3 2539304 98.2 214041.1 253.4