A: Introduction
IOzone is a benchmark tool for file systems,
For testing the read and write performance of file systems in different operating systems,
You can test the following 13 modes
0=write/rewrite
1=read/re-read
2=random-read/write
3=read-backwards
4=re-write-record
5=stride-read
6=fwrite/re-fwrite
7=fread/re-fread
8=random Mix
9=pwrite/re-pwrite
10=pread/re-pread
11=pwritev/re-pwritev
12=preadv/re-pread
Two: Use
Cases:
./iozone-az-y 64-g 4g-i 0-i 1-f test.txt-b Iozone_result.xls
parameter Description:
-A :
used in fully automatic mode to generate reports that include all test operations.
The block size used is from 4k to 16M and the file size is from 64k to 512M.
- Z:
the union-a parameter is used to force testing of all possible record values.
by default, small record values are ignored when IOzone is tested with a large record value
- y:
Set the minimum block size to use in automatic mode (Kbytes)
- G:
set the maximum test file, typically twice times the memory
-I 0-i 1:
specify how the test will be tested, and now only read and write.
if not specified, test all the above methods
- f filename
Specifies the name of the test file, which is automatically deleted when completed.
This file must be specified in the hard drive you are testing.
- b filename
IOzone output results to excel file
III: Results
is part of the test results for the Ext4 file system in eMMC
Analysis:
1: This form is a test result about write
2: The left column is the test file size (Kbytes).
Example table "512" is written to test file size is Kbytes
3: The top row is the record size.
Example table "128" is the record size of Kbytes for transmission
4: The corresponding intermediate data is the transmission speed of the test.
5: "Left 524288 Upper side 512" in the example table
That is: When the test file size is 524288, the record size is 512K
To transmit at a speed of 16254kbytes/s
6: Import the above data into Excel
1: It is possible to read and write 128k-256k files, the record value is 32K to 256K
, the maximum write rate, about Around 60M, but at this time by the impact of the buff cache
2: About writing 32M files, the speed of writing stable around 14M, at this time is the real
write eMMC, both eMMC write speed about 14m/s
attached: write: Tests the performance of writing to a new file.
re-write: Tests the performance of writing to an existing file.
read: Test read the performance of an existing file.
re-read: Test read the performance of a recently read file.
random read: Tests the performance of a random offset in a file.
random write: Tests the performance of writing a random offset in a file.
backwards read: Test the performance of reading a file using reverse
strided read: Test jump read performance of a file
Span style= "font-size:18px" >fwrite: Test Call library function Fwrite () to write the performance of the new file
frewrite: Test Call library function fwrite () to write the performance of an existing file
fread: Test Call library function Fread () to read a recently read performance
Random mix: Randomly read and write a file
Reference:
Http://baike.baidu.com/view/3502720.htm?fr=aladdin
http://www.iozone.org/
Android Performance Test IOzone