View Single Post
Posts: 209 | Thanked: 31 times | Joined on Oct 2006
#6
Originally Posted by Riff-Raff View Post
Thanks for testing.
When using 64M file most (or at least some) of it are probably still in cache when copy finishes. I wonder if there is any good way to bypass caching for testing purposes.
You could use the following command before you start your time measurement and after copy!
Code:
sync
sync will write the cache to your mmc (in this case).
So you could try something like this (untested! probably you will need bash):
Code:
sync; time ( dd if=/dev/zero of=/media/mmc1/64m bs=1024 count=65536; sync )
or you use this command with the build in shell (also untested):
Code:
sync; time dd if=/dev/zero of=/media/mmc1/64m bs=1024 count=65536; time sync
Then you will have to sum up the two time results!

Last edited by N770-Freak; 2007-01-18 at 09:10.