On 03-08-09 13:08, zuowenping wrote:
I am testing the speed of sd/mmc in dm355 which using kernel 2.6.18.

bash-3.00# mount /dev/mmcblk0p1 /mnt -o sync
bash-3.00# time cp /tmp/ramdisk.img.gz /mnt/

That's not testing how fast the sd card is, that's testing how sucky the interaction between the block and fs schedulers is for sync mounts.

A better test would be to do 'hdparm -tT /dev/mmcblk0' or 'dd if=/dev/mmcblk0 of=/dev/null bs=512k'.

regards,

Koen


_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to