How to calculate bandwidth of harddisk with dd command

Publication Date:  2012-12-25 Views:  107 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
Handling Process 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> and write bandwidth test command:
dd if=/volume/file1 of=/volume/file2
Root Cause
if you do not have any performance tools on hand, dd is an alternative