PDA

View Full Version : Actual speed on the usb 2 port



tech291083
13th May 2007, 01:51 PM
Hi,

Is there any way one can write a small program C++, Java etc) to know what is the actual speed on the usb 2 port on the system with Fedora on it? As per the technical specs, it has to be 480 Mbps. But in real world it depends upon the quality of the hardware in question such as a usb pen drive of 2 GB storage capacity. Thanks...

paul matthijsse
13th May 2007, 02:41 PM
try this:
# dd if=/dev/zero of=/media/disk/test bs=4k count=125000

this creates a file called test on your usb stick (suppoed that is located in /media/disk) of about 500 MB and gives a throughput number.

Paul.

tech291083
13th May 2007, 09:49 PM
try this:
# dd if=/dev/zero of=/media/disk/test bs=4k count=125000

this creates a file called test on your usb stick (suppoed that is located in /media/disk) of about 500 MB and gives a throughput number.

Paul.
Hi thanks,

Can you please give me a number that is less than 500 mb, my stick does not take that much, something around 100 mb will be nice. Cheers....

paul matthijsse
13th May 2007, 10:06 PM
try to divide 125000 by 5 and see if that fits