Throughput test using dd

When installing or tuning storage, it is nice to benchmark write performance from several hosts simultaneously.  It is possible to accomplish this using the following command:

dd if=/dev/zero of=/Volumes/SAN/`hostname` bs=1g count=100

Assuming the hostname of the server is xserve01.domain.com, this command will write a 100GB file with the hostname of the computer to /Volumes/SAN/xserve01.domain.com

This command works well when run across several computers using Remote Desktop, and could be used to apply substantial load on a network server or SAN volume.



Leave a comment


Name

Email(will not be published)

Website

Your comment