Skip to content

terminalcrazy1/benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Benchmark

This is only a disk benchmark for now, although I might add other benchmarks in the feature. To test a disk, cd into a directory mounted on the disk, then run the script.

Example Usage

user@host:/mnt/disktotest$ ./benchmark.sh all
Running sequential write
Sequential write 75 mb/s
Running sequential read
Sequential read 102 mb/s
Running random write
Random write 1002 kb/s
Running random read
Random read 521 kb/s

Usage Help

Usage: {all|seq_write|seq_read|rand_write|rand_read}
    all: returns all other benchmarks
    seq_write: returns QD1 sequential write maximum over 60 seconds
    seq_read: returns QD1 sequential read maximum over 60 seconds
    rand_write: returns QD1 random write maximum over 60 seconds
    rand_read: returns QD1 random read maximum over 60 seconds
    
By default, the value returned by fio is in kb/s. This
script converts it to mb/s. However, if the value returned 
by fio falls below 1000 kb/s, it is outputed in kb/s.

About

A small benchmark script for HDDs and SSDs.

Resources

License

Stars

Watchers

Forks

Languages