Iozone for linux hard disk Performance Testing

Source: Internet
Author: User
Article Title: Iozone for linux hard disk performance testing. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

The boss said that iozone is very good. Compared with other software, iozone provides the best functions. It is used by professional testing companies. In addition, the aio (asynchronous) feature above linux2.4 is well supported ..

However, it is not easy to use. No information ..

During the test, note that the size of the test file must exceed your memory size. Otherwise, linux will cache your read/write content. This will make the value very unauthentic.

Common iozone parameters.
-A full test. For example, the block size is automatically added.
-I N is used to select test items. For example, Read/Write/Random is commonly used as 0 1 2. You can specify-I 0-I 1-i2. For details, see man.
-R block size specifies the size of the block for one write/read operation.
-S file size: Specifies the size of the test file.
-F filename: Specifies the name of the test file, which will be automatically deleted after completion (this file must specify the hard disk you want to test)
-F file1 file2. .. specify the name of the file to be tested under multiple threads.

Batch test items:
-G-n specifies the size range of the test file. The maximum size of the test file is 4 GB.
-Y-q: specify the size range of the test block.

Output:
Below are several log record parameters. It seems that to output the data into an image for analysis, you need to specify the-a test to output the data.
-R: generate Excel to standard output
-B specifies the output to the specified file. For example,-Rb ttt.xls

My test instances:
#./Iozone-a-n 512 m-g 4g-I 0-I 1-I 5-f/mnt/iozone-Rb./iozone.xls

Note: perform a full test. The minimum test file is MB until 4G is tested. The test read, write, and Strided Read. The test place is under mnt. Generate an Excel file.

 

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.