Android Performance Test iozone, androidiozone

Source: Internet
Author: User

Android Performance Test iozone, androidiozone
I. Introduction
Iozone is a file system's benchmark tool,
Used to test the read/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


Ii. Use
Example:
./Iozone-az-y 64-g 4G-I 0-I 1-f test.txt-B iozone_result.xls

Parameter description:
-:
This function is used to generate reports including all test operations in fully automated mode.
The block size is from 4 k to 16 M, and the file size is from 64 k to 512 M.
-Z:
The Union-a parameter is used to forcibly test all possible record values.
By default, when iozone is tested with a large record value, a small record value is ignored.
-Y:
Sets the minimum block size (Kbytes) used in automatic mode)
-G:
Set the maximum test file, usually twice the memory size.
-I 0-I 1:
Specify the test method. Now, only read/write is tested.
If this parameter is not specified, all the methods above are tested.
-F filename
Specifies the name of the test file, which is automatically deleted after completion.
This file must specify the hard disk you want to test
-B filename
Output result from iozone to excel File

Iii. Results


Is part of the test result of the ext4 File System in emmc.
Analysis:
1: This form is about the write test result.
2: The left column shows the test file size (Kbytes ).
In the example table, "512" indicates that the size of the written test file is 512 Kbytes.
3: the top row is the record size.
In the example table, "128" is transmitted with the record size of 128 Kbytes.
4: The intermediate data is the test transmission speed.
5: In the example table, "524288 on the left side 512"
That is, when the size of the test file is 524288, the record size is 512 KB.
The transmission speed is 16254 Kbytes/s.
6: import the above data into excel



1: we can see that the number of files written between 128 kb and 256 kb is 32 KB to 256 kb.
The maximum write speed is about 60 M, but it is affected by the buff cache.
2: When writing a 32 M file, the write speed is stable at around 14 M.
Write emmc. The write speed of emmc is about 14 M/s.

Appendix:Write: test the performance of writing data to a new file.
Re-write: test the performance of writing data to an existing file.
Read: test the performance of reading an existing file.
Re-Read: test the performance of reading a recently Read file.
Random Read: tests the performance of reading Random offsets in a file.
Random Write: test the performance of writing Random offsets in a file.
Backwards Read: test the performance of reading a file in reverse order.
Record Rewrite: test the performance of writing and overwriting a specific block in a file.
Strided Read: test the performance of skipping a file.
Fwrite: test the performance of calling the database function fwrite () to write new files.
Frewrite: test the performance of calling the database function fwrite () to write existing files.
Fread: test the call library function fread () to read a recent read performance.
Random mix: Random reading and writing of a file
Refer:
Http://baike.baidu.com/view/3502720.htm? Fr = aladdin
Http://www.iozone.org/









Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.