Jim Colton wrote:
> Hi Mike,
> 
> I looked at the code your wrote.  It doesn't do anything that 'time dd' 
> already can do.

It includes an fsync() in the timing measurement when writing the file, 
and does a posix_fadvise() before reading it back (both intended to make 
sure that the I/O is going to the device under test rather than just 
hitting cache memory). You can do the same things in a 'dd'-based test, 
but it requires a few additional steps.


_______________________________________________
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support

Reply via email to