Re: Interesting speed benchmarks



Hans Petter Selasky wrote:
On Friday 26 January 2007 13:41, Stefan Ehmann wrote:
On Friday 26 January 2007 13:35, Andrew Pantyukhin wrote:
On 1/26/07, Stefan Ehmann <shoesoft@xxxxxxx> wrote:
On Friday 26 January 2007 11:00, Alexey Karagodov wrote:
what manufacturer says about usb speeds?
that is the question
Well, "up to 56MB/s" which is pretty much full USB2 speed.

It is called high speed USB, and it can go up 53 MB/s with a payload of 512
bytes per packet according to "Table 5-10. High-speed Bulk Transaction
Limits" in the USB 2.0 specification. The table does not say anything about
whether this include bit-stuffing or not. If bit stuffing is not included,
then you have to divide this value by 1.20 approximately for the worst case,
all 1's. 53 MB/s div 1.20 = 44 MB/s.

But writing it on the box doesn't mean the speed can actually be
reached.

Benchmarking on windows might be interesting, but I don't know how to
measure raw disk io on windows.
Format the disk, copy a large file to/from it, divide
its size by time spent, add the word "approximately" :-)
I'd rather not format a drive with my backups and other stuff on it :-)

Results with the new USB stack*:

Changing the interrupt delay from 2 microframes to 1 microframe gave me
2MBytes more per second on the EHCI controller.

I connected two high speed "umass" capable devices to the same EHCI controller
on my computer, and did a "dd" on both devices at the same time, with a block
size of 131072 bytes.

The one device transferred 22 MB/s. The other device transferred 16 MB/s.
Summed up this yields 38 MB/s. Used alone these devices can transfer 27 MB/s
and 20 MB/s. It seems clear that the EHCI controller is saturated at 38 MB/s.

%dmesg |grep ehci
ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xe0100000-0xe01003ff
irq 10 at device 29.7 on pci0
usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0
%


Just FYI.

I get about the same performance on my laptop running Windows XP when
moving between local 100 mb 5400 rpm ATA and 250 mb 7200 rpm USB2.0 disk.
I have the same controller.

--
Sten Daniel Sørsdal

_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • ohci_hcd, usb scanner and kernel 2.6.8.1 or 2.6.10 troubles
    ... Powering on scanner (usb hub unplugged, ... 0001, 12 Mb/s ... roothub.portstatus = 0x00100103 PRSC PPS PES CCS ... controller (state 0x8 ...
    (Linux-Kernel)
  • Re: FW vs. USB 2.0 transfer rates to 4G iPod
    ... I expect it will be considerably faster on Firewire, ... (The Intel iMac doesn't support FW800.) ... Firewire 400 40 MB/s ... The poor performance of USB 2 in this case may be partly due to protocol ...
    (comp.sys.mac.system)
  • Re: Questions about a self powered USB Hub
    ... I have to deal with even more esoteric bus systems than just a simple USB ... little observable bandwidth impact from the USB1.1 items (of which there ... You picked an unfortunate example of a single 12 Mb/s webcam and a 480 ...
    (comp.sys.laptops)
  • Re: WD My Book Essential drive questions
    ... it remains connected across a restart of Windows. ... and it is claimed to be good for USB 2.0, ... Mb/s, which I believe should be the equivalent of about 40 MB/s. ... Olin McDaniel ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Interesting speed benchmarks
    ... Limits" in the USB 2.0 specification. ... Changing the interrupt delay from 2 microframes to 1 microframe gave me ... 2MBytes more per second on the EHCI controller. ... The one device transferred 22 MB/s. ...
    (freebsd-current)