Tuesday, May 10, 2011

How to measure linux performance

Check with dd command in unix/linux systems... for example

#time dd if=/dev/zero of=/dev/null bs=1024k count=10000000
10000000+0 records in
10000000+0 records out
10485760000000 bytes (10 TB) copied, 359.587 seconds, 29.2 GB/s

real    5m59.615s
user    0m4.403s
sys     5m54.958s


1 comment:

  1. I'm curious what you think this measures. or do you mean you'd be reading from (or writing to) a real disk? dd is handy because it's always installed, but real benchmarking programs tend to be more "on target".