Hi,

On Fri, 15 Apr 2005, Olav Kongas wrote:
> Leaving aside what may be "the best" way to measure the USB 
> performance, I did it with usb-2.0 memory stick, which was 
> the only device attached at the measurement time. With this 
> controller, it's in full speed mode, of course. Mounting a 
> stick that contained a 16 MB file and issuing:
> 
> time if=a_16MB_file_on_stick of=/dev/null bs=16k
> 
I'd rather read data from the raw device than from a file system on
top of it, thus:
time dd if=/dev/sda of=/dev/null bs=16k count=1024

This eliminates the influence of the file systems drivers and caches.
It also eliminates the need to mount the file system and create a
testfile.


HTH,
Lothar Wassmann


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to