by onosendai · 13y ago · 0 comments
> sync && time sh -c "dd if=/dev/zero of=foo bs=1M count=10000 && sync"
Then just divide 10000 (or whatever value you choose) by the number of seconds elapsed and you should get a much closer approximation of the sequential write speed, taking into account completely flushing the buffer to disk.