View Single Post
Posts: 19 | Thanked: 2 times | Joined on Nov 2006 @ Paris, FRANCE
#16
Originally Posted by Milhouse View Post
As for testing "write" performance - this is tricky as the OS will buffer writes giving unrealistic performance figures. Hopefully someone else can suggest a methodology to test write performance.
To test write speed I use something like that:

$ sync; time sh -c "dd if=/dev/zero of=testw1 bs=1M count=100;sync"

dd will output a useless MB/s, but time "real" output is what you're looking for, 100/"real time" will give you MByte/second.

Hope this helps,

Laurent