Is a 12 MB/s microSD overkill for what the glamo driver does?

Mike Montour mail at mmontour.net
Thu Jul 31 07:07:14 CEST 2008


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.





More information about the support mailing list