Download the latest version of iozone @ https://www.iozone.org/src/current
Build the code
1 2 3 4 5 |
wget https://www.iozone.org/src/current/iozone3_494.tgz tar xvf iozone3_494.tgz cd iozone3_494/src/current make –j4 linux–arm sudo cp iozone /usr/local/bin/ |
There may be an error
1 2 |
pit_server.o: file npit_server.o: file not recognized: file format not recognized collect2: error: ld returned 1 exit status ot recognized: file format not recognized collect2: error: ld returned 1 exit status |
But that’s after iozone is built, and you may ignore it.
Typical command to run in a directory on your storage device:
1 |
iozone –e –I –a –s 100M –r 4k –r 16k –r 512k –r 1024k –r 16384k –i 0 –i 1 –i 2 |
Leave a Reply