Re: Interesting speed benchmarks



On Friday 26 January 2007 17:28, M. Warner Losh wrote:
In message: <45B99A59.6070902@xxxxxxxxxxx>

Colin Percival <cperciva@xxxxxxxxxxx> writes:
: M. Warner Losh wrote:
: > In message: <45B9895B.9020709@xxxxxxxxxxx>
: >
: > Colin Percival <cperciva@xxxxxxxxxxx> writes:
: > : M. Warner Losh wrote:
: > : > Firewire does around 40MB/s, while USB 2.0 maxes out at about
: > : > 12MB/s.
: > :
: > : I get 25MB/s from my Vantec Nexstar3
: > : USB 2.0 enclosure:
: > :
: > : http://www.daemonology.net/blog/2006-01-28-vantex-nexstar3.html
: >
: > Still, 25MB/s is no 40MB/s...
:
: Sure, but it means that the performance issues aren't simply a global
: "USB 2.0 is bad". What does `diskinfo -c` say about your firewire and
: USB interfaces?



I haven't tested the Hans Petter Selasky usb stack to see if it is any
better. It appears there's no scatter gather there, so that might
make the numbers even worse. But if the command queueing is better,
then it might make up for it.

Yes, it has scatter and gather since August last year :-) But all USB drivers
currently use copy-in/copy-out to/from the DMA buffer. With regard to "umass"
there is one copy-out/copy-in per transfer. Currently all transfers are done
in bulks of 131072 bytes, so there is not too much overhead.

I am considering direct buffer loading.

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

  • Re: HEADSUP new usb code coming in.
    ... M. Warner Losh wrote: ... :> Subject: Re: HEADSUP new usb code coming in. ... :>> Accidentally unplugging a mounted USB disk (without ...
    (freebsd-current)
  • Re: Interesting speed benchmarks
    ... On Friday 26 January 2007 03:24, M. Warner Losh wrote: ... some crude benchmarks, and I was surprised by what I found. ... on a fairly stock -current kernel. ... while USB 2.0 maxes out at about 12MB/s. ...
    (freebsd-current)
  • Re: Interesting speed benchmarks
    ... M. Warner Losh wrote: ... I get 25MB/s from my Vantec Nexstar3 ... : USB 2.0 enclosure: ... but it means that the performance issues aren't simply a global "USB 2.0 ...
    (freebsd-current)
  • Re: startup disk
    ... John Holmes spewed out this bit, and i'll scatter a few bits myself: ... been living under a rock for the past few years. ... a slow floppy drive when you can use a high-speed USB stick? ...
    (alt.os.windows-xp)
  • Re: startup disk
    ... and i'll scatter a few bits myself: ... have been living under a rock for the past few years. ... earth needs a slow floppy drive when you can use a high-speed USB ...
    (alt.os.windows-xp)