Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Data Storage Intel Software Upgrades Linux

Intel Developers Demo USB 3.0 Throughput On Linux 231

Sarah Sharp writes "Intel's Open Source Technology Center is working on USB 3.0 support for Linux. USB 3.0 has wire speeds of 5Gbps and promises to be 10 times faster than USB 2.0. A recent video demo shows speeds that are 3.5 times faster than USB 2.0. The USB 3.0 drivers will be submitted to the mainline kernel when the eXtensible host controller interface (xHCI) specification reaches a 1.0 release."
This discussion has been archived. No new comments can be posted.

Intel Developers Demo USB 3.0 Throughput On Linux

Comments Filter:
  • by Swizec ( 978239 ) on Saturday December 13, 2008 @05:56PM (#26106015) Homepage
    What I'm wondering with the SSD computer + USB3 + Flash camera combo is ... does the computer even have enough processing power to complete the transaction while letting the user multitask somewhat normally?

    Or would the whole thing somehow circumvent the need to tell the OS what's going on with the file system?
  • by Mad Merlin ( 837387 ) on Saturday December 13, 2008 @06:00PM (#26106039) Homepage

    The thing is that USB is bursty, in practice you'll probably still get much better speed out of Gigabit ethernet than you will with USB 3.0.

    As for Gigabit ethernet, it's a massive upgrade from 100 megabit ethernet, at least in my usage. It only takes 2 modern drives in RAID 0 to saturate Gigabit ethernet, or just 1 fast SSD.

  • by John Allsup ( 987 ) <<ten.euqsilahc> <ta> <todhsals>> on Saturday December 13, 2008 @06:11PM (#26106111) Homepage Journal

    I guess for hard drives, the question is how close to eSATA it gets.
    Also, does USB3 still have the CPU overhead and latency of earlier USB compared to FW?

  • by _merlin ( 160982 ) on Saturday December 13, 2008 @06:19PM (#26106159) Homepage Journal

    USB3 will make wire speeds faster, and devices more expensive, but it won't deliver the performance we need, because they haven't fixed the root issues. USB is a silly polling system where the host has to ask each device in the tree if it has anything to say, and then (if it's a "bulk" endpoint), allocate time and finally do the transfer (interrupt and iso endpoints have time allocated all the time). Unless they make fundamental changes (which they won't), USB will load up the host excessively and give disappointing performance. But at least with USB3, the price to add it to a device shouldn't be that much lower than FireWire, so we might see more people making the right choice for what to support.

  • Motherboards (Score:3, Interesting)

    by Enderandrew ( 866215 ) <enderandrew&gmail,com> on Saturday December 13, 2008 @06:24PM (#26106189) Homepage Journal

    When can I buy my first motherboard that is USB 3.0 compliant? I want to build a rig in the spring. I'd consider holding off until the summer to get USB 3 so it is more future proof, but I won't wait another year.

  • by metalhed77 ( 250273 ) <andrewvc@gmaCOUGARil.com minus cat> on Saturday December 13, 2008 @06:39PM (#26106287) Homepage

    That USED to be true. It's not the hard drive, all the layers that get put in between when you access a disk over the network. Modern hard drives can easily do 60MB/s sustained.

    For instance, I have a couple raid6 arrays which clock in at about 250 MB/s and 150MB/s natively. If I hook that machine up directly to another machine's ethernet port I only get about 30MB/s sharing the device w/ iSCSI. SMB and NFS yield similar results. This is true even though I can get over 900Mbps using iperf.

    Sharing disks over gig-e sucks when you actually need throughput. It's great for when you just need to expand a SAN and speed is secondary. I've heard that bonding two Gig-e cards doesn't realize much of an improvement FWIW, so I assume latency is part of the reason it's slower.

  • by Hal_Porter ( 817932 ) on Saturday December 13, 2008 @07:02PM (#26106445)

    Honestly, Intel didn't have much choice, the NT kernel can't exactly be obtained, modified and distributed for free

    At the moment Windows supports three host controller drivers. OHCI and UHCI for USB 1.0 and EHCI for USB 2.0. There's nothing special about host controller drivers, anyone can write one. If they wanted they could write a host controller driver for xHCI and then Windows would support USB 3.0.

  • latency badness (Score:5, Interesting)

    by r00t ( 33219 ) on Saturday December 13, 2008 @07:07PM (#26106477) Journal

    USB suffers from 1 ms time quantization and thus latency. I see nothing about fixing this.

    Example badness:

    When running MIDI over USB, timing is forced onto 1 ms slots. Normally when playing a chord, the keys don't all hit at exactly the same moment. You can't really tell, except that this makes the music sound natural. With the 1 ms problem, the keys happen at exactly the same moment (bad) or spread out into two separate events (worse).

  • Compared to USB 1... (Score:5, Interesting)

    by MonoSynth ( 323007 ) on Saturday December 13, 2008 @07:07PM (#26106479) Homepage

    This shows where Linux is nowadays. It took literally years before USB1 was even supported and now Intel uses Linux to prove USB3's performance!

  • by Anonymous Coward on Saturday December 13, 2008 @07:11PM (#26106517)

    Whenever a story about USB3 is written, the following caveats should be mandated by law if necessary:

    1. Speed claims are theoretical, and do not reflect real-world results by a long shot. Lots of overhead, CPU dependence, etc.

    USB2 promised 480Mbps and never delivered it. You get 250Mbps on a good day. Now we have marketing claims that USB3 will be "10x faster," yet a video demo shows it's 3.5x faster. That's 1.5Gbps, not 5Gbps.

    2. Firewire 3200 is approved and on the way. It will be faster than USB3, backward-compatible with FW800 (same cables and ports) and should begin appearing on Macs in January. Firewire isn't dead; Firewire 400 is being eased out in favour of faster versions.

    If FW 3200 performs like its predecessors, it should be (in real-world usage) routinely about 2x faster than USB3.

    Moral of the story: don't settle for mediocre.

  • by Gazzonyx ( 982402 ) <scott,lovenberg&gmail,com> on Saturday December 13, 2008 @07:27PM (#26106639)
    Well, I get high throughput with my NIC drivers that poll (I can't remember the kernel compile option for this ATM), but this is at the cost of a higher latency. The trade off is that I've got 5 NICs on this box and it turns out that without polling I get close to having an interrupt storm and spend all my time switching context to execute the drivers bottom half of the interrupt. With polling, the interrupt gets masked and I don't have to worry about servicing every interrupt coming down the line. My latency is higher, but I get more throughput for every time I service the bus as it has more packets to process. This also means I'm trading off space for time (I need larger ring buffers to queue packets) such that I have less memory for the system, but processes get more time on the processor between interrupts.

    While not having to do with USB, the driver architect and concepts are likely very much the same.
  • Re:Wha? (Score:5, Interesting)

    by lysergic.acid ( 845423 ) on Saturday December 13, 2008 @07:48PM (#26106759) Homepage

    so why do FireWire 400 readers still consistently beat out USB 2 [scribd.com]:

    While USB 2.0's theoretical 480Mbp/s (60MBp/s) throughput should be sufficient for UDMA 4 CompactFlash, realthroughput is significantly less. Top hard drive manufacturers typically cite USB 2.0's best speed at 33MB/s, or abouthalf the speed of UDMA 4 CompactFlash, or 25% of UDMA 6 CompactFlash. There are myriad reasons for USB 2.0's'real world' speeds including: CPU overhead from its master/slave arrangement, NRZI encoding, and inexpensivechipset implementations. The USB 2.0 UDMA reader used in the benchmarks above uses one of the latest USBchipsets from Genesys Logic. While a new generation of that chipset should soon be available, we don't foresee itproviding throughput close to half of that of FireWire.

    heck, those benchmarks show that even using FireWire 400 to read a PIO CompactFlash card still beats USB 2.0 UDMA reading a UDMA-enabled CompactFlash card.

  • by Anonymous Coward on Saturday December 13, 2008 @07:54PM (#26106787)

    Do you have some benchmarks to back that up? The best I have seen with Linux is around 25MB/s (that was a couple of years back though), with XP x64 (which is more or less Windows 2003) I get 32MB/s with a good enclosure.

  • by More_Cowbell ( 957742 ) * on Saturday December 13, 2008 @08:05PM (#26106871) Journal
    I appreciate the answer, but you replied to the bit where I was trying (poorly) for humor. I know what burst speed vs sustainable speed is all about. What I wanted you to explain is what makes you think a medium that has a burst speed of 4.8 Gbit/s will not be able to sustain > 1 Gbit/s (like your ethernet). I have read a bit, and not seen any info either way...
  • Re:Wha? (Score:1, Interesting)

    by Anonymous Coward on Saturday December 13, 2008 @08:17PM (#26106987)

    Intel likes USB because it requires a host (aka PC).

  • Comment removed (Score:5, Interesting)

    by account_deleted ( 4530225 ) on Saturday December 13, 2008 @08:37PM (#26107125)
    Comment removed based on user account deletion
  • by billcopc ( 196330 ) <vrillco@yahoo.com> on Saturday December 13, 2008 @09:51PM (#26107639) Homepage

    Why are they wasting everyone's time with USB 3.0, when the rest of the universe is shifting toward Ethernet as a common interconnect ? Note I didn't say IP, just Ethernet - good old CAT-5.

    Frig, if the audio folks have already started that transition, then what the hell is Intel doing ? The audio industry is probably the most retarded in the world (according to my failed expectations), and even they see that Ethernet is a cost-effective and braindead simple replacement for all these proprietary cables we've had to contend with over the years.

  • Re:Wha? (Score:5, Interesting)

    by lysergic.acid ( 845423 ) on Saturday December 13, 2008 @11:07PM (#26108087) Homepage

    good point. and to be honest, most people don't need FireWire 800/1600 just to transfer a few documents or spreadsheets--or even photos & mp3s--to their computer. the few seconds saved doesn't justify the added cost of FireWire over USB. nor do they need to use a high-speed data bus for their mouse, keyboard, webcam, printer, scanner, or what have you. so it makes sense that USB is more prevalent than FireWire.

    however, FireWire is still extremely useful (and crucial) to certain professionals who regularly work with large files or have to move around large amounts of data, like hi-res/raw images, lossless audio, hi-def video, etc. that's why FireWire is still pretty standard in high-end music & video production equipment. so the idea that FireWire is dead (or can simply be replaced with USB 2.0/3.0) is just poorly informed.

    even the military still uses FireWire for things like the the F-35's vehicle systems network [itwire.com]:

    1394b is playing a pivotal role in the F-35 Lightning II program, providing guaranteed quality of service with predictable latencies in real-time control applications. More than 70 1394 devices are delivering information about mission details, communication systems, weapon systems, engine controls, and flight controls.

    the IEEE-1394B data bus is similarly employed in the F-22 Raptor [aviationspectator.com] for which it was developed. and NASA also uses it [findarticles.com] to monitor debris during launches amongst other mission-critical applications [daptechnology.com].

  • by mmcuh ( 1088773 ) on Sunday December 14, 2008 @03:55AM (#26109225)
    One thing that is at least as important for free software systems as speed increases is class compliance. Take audio and MIDI devices for example. Almost all USB 1.0 audio and MIDI devices are class compliant, and thus work reasonably well with the standard kernel module snd-usb-audio. But with USB 2.0 that changed for some reason - now many more devices require special drivers that often do not exist for Linux. It would be nice if Intel and friends could somehow push for more class compliant USB devices.
  • by LarsG ( 31008 ) on Sunday December 14, 2008 @10:07AM (#26110495) Journal

    I seem to recall that some Linux drivers try to handle this automatically (Intel gigabit chips?). They do interrupts when the traffic is below some threshold and switch to polling when things get busy. The main reason, as you say, is to avoid interrupt storms; polling becomes cheaper on CPU time than interrupts when there is a higher than x% chance of there being packets waiting. It is also more resilient to DoS or server overload - if f.ex. an Apache server receives more requests than it can handle, throttling the polling speed makes more CPU available for handling requests instead of wasting it in interrupts receiving packets that the web server is too overloaded to handle anyway.

The one day you'd sell your soul for something, souls are a glut.

Working...