Re: Interesting speed benchmarks



On Friday 26 January 2007 07:43, Andrew Pantyukhin wrote:
On 1/26/07, Colin Percival <cperciva@xxxxxxxxxxx> wrote:
M. Warner Losh wrote:
On a lark, I just got a combo USB/Firewire external disk drive. I ran
some crude benchmarks, and I was surprised by what I found. This is
on a fairly stock -current kernel.

Firewire does around 40MB/s, while USB 2.0 maxes out at about 12MB/s.

Either amd64 is slower than i386, there has been a performance regression
between 6.2-RELEASE and whatever version of FreeBSD you're running, or
you have a rather slow external drive. I get 25MB/s from my Vantec
Nexstar3 USB 2.0 enclosure:

http://www.daemonology.net/blog/2006-01-28-vantex-nexstar3.html

I've always (since 5.x I think) got 25Mb/s on i386
and half that on amd64, no matter what equipment I
try.

1) Maybe this has something to do with the interrupt threshold. Does changing:
EHCI_CMD_ITC_2 into EHCI_CMD_ITC_1 increase performance, in "ehci.c" ?

2) You could try setting the transfer multiplier, "EHCI_QH_SET_MULT()" to 3
for HIGH-speed bulk/control transfers, but not interrupt transfers. The EHCI
manual states that the USB host controller can choose to ignore this field,
but what if it doesn't?

3) How about the new USB stack? Any difference?

--HPS
_______________________________________________
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

  • USB loses devices
    ... I have some annoying problems with USB support on i386 and amd64. ... controller deactivates devices sometimes. ... On i386 I'm losing a Cherry G83 keyboard and Logitech mouse (both USB) ...
    (freebsd-stable)
  • Re: USB loses devices
    ... I have some annoying problems with USB support on i386 and amd64. ... controller deactivates devices sometimes. ... Usually reattaching helps to re-enable the devices, ... On i386 I'm losing a Cherry G83 keyboard and Logitech mouse (both USB) ...
    (freebsd-stable)
  • AMD64 Advice
    ... I also have some USB Thumb Drives all Sony, ... Rip audio CDs into MP3s ... I would prefer a true 64 bit distro but am not opposed to a 32 bit if it ... Anyone have any experience with AMD64 distros good or bad? ...
    (alt.linux)
  • Maxtor Problem with XP
    ... XP/SP2 each time the cable is plugged into the USB ... ports on an Averatec laptop using AMD64 3000+ ...
    (microsoft.public.windowsxp.hardware)