How to calculate bandwidth of harddisk with dd command

Publication Date:  2012-12-25 Views:  128 Downloads:  0
Issue Description
To test the bandwidth of a storage system, third-party is usually introduced, iometer, etc
this case is intended to introduce dd, which is build-in command in Linux, and easy to use
Alarm Information
N/A
Handling Process
1.read bandwidth test command:
dd if=/volume/file1 of=/dev/null bs=<block size> count=<number>

2.write bandwidth test command:
dd if=/dev/zero of=/volume/file1 bs=<block size> count=<number>

3.read and write bandwidth test command:
dd if=/volume/file1 of=/volume/file2
Root Cause
N/A
Suggestions
if you do not have any performance tools on hand, dd is an alternative

END