Harbinger Systems
 

Posts Tagged ‘ USB 3.0 ’

Demystifying USB 3.0 legacy compatibility testing

Wednesday, September 29th, 2010 at 10:37 am   - Posted by Subodh Bhide

USB 2.0 and 1.1 devices have been around for a long time and will continue to sustain even in the presence of the new, faster and efficient 3.0 version. These two oldies, which I like to call legacy specification are so popular, that till 2008, 2 billion USB devices were sold every year, taking the total number to 6 billion devices (source Wikipedia); making USB the most successful computing interface of all time.

Computer hardware manufacturers are already gearing up to ship USB 3.0 devices and controllers in huge volumes. With 1 million PC sold each day in 2010, the PC market is booming and alarmingly spreading. This has set a perfect stage for USB 3.0 to become the mainstream of computing interfaces to replace USB 2.0.

But what about the 6 billion legacy devices and the older USB controllers. Would they connect to USB 3.0 devices?

The SuperSpeed USB specification has provisions for this backward compatibility. Also, USB 3.0 manufacturers cannot afford to not support the vast USB 2.0 user base. This means that USB 3.0 legacy compatibility will become critical.

Legacy compatibility testing with 6 billion devices is impossible, but we thought that practically it could be made simpler. We analyzed different USB use cases and identified five (5) different compatibility test nodes (highlighted in blue in the image).

  1. The devices segmented into 9 functional buckets
  2. The connectors / cables
  3. Intermediate hubs
  4. Controllers / add-on cards
  5. Operating system drivers

Combinations of these 5 testable areas would will yield compatibility test scenarios. But the scenario count will be pretty high, making it difficult to exercise. However, a careful and intelligent way of partitioning these test areas, can help achieve optimum number of test scenarios without loss of coverage.

 

SuperSpeed USB 3.0: A Perfect Complement to Solid-state Drives?

Monday, April 5th, 2010 at 4:51 am   - Posted by Subodh Bhide

Super fast USB 3.0 and colossal SSD seems to be like a perfect marriage, with the two clearly complementing each other.

The SuperSpeed USB 3.0, as the name suggests, aims to be much faster than its predecessors, the Hi-Speed USB 2.0. With a signaling rate of 5 Gbps, usb.org claims a 10x performance boost over Hi-Speed. As I had mentioned in my previous post on SSD, the capacity of flash NAND based SSDs is on the rise. Few hundreds of giga bytes have now become standard capacities. As this type of storage reaches the enterprise world, the struggle for capacity increase will continue, and in the near future, we will have SSDs with terra byte capacities.

Now, even as SSD is a great improvement over traditional storage media, and enables massive storage spaces, without the fast speeds of data transfer, the large amount of storage would be severely restricted. To get a sense of the enormity of this problem, consider this: Based on a back-of-the-envelope calculation, USB 2.0 will take approximately 73 minutes to read 250 GB of data whereas USB 3.0 will take 7.5 minutes (not considering any types of latencies). So, combining USB 3.0 and SSD together will give us an almost perfect combination that includes a large capacity source (or a sink) and a very fast channel to move data in and out of it.

A close analysis of the specifications brings out 5 primary reasons that make USB 3.0 so fast –

  1. Physically, USB 3.0 implements 2 additional twisted signal pairs than USB 2.0 for carrying data.
  2. At a protocol level, SuperSpeed implements a dual-simplex unicast bus for concurrent bi-directional operations. Earlier versions of USB used the slow, half-duplex broadcast bus.
  3. Data Bursting in USB 3.0 allows the end points to send / receive data packets with no time wastage for handshakes. Though error prone, this gives greater efficiency when data is transferred in burst mode.
  4. USB 3.0 has introduced streaming capabilities for bulk type of transfers. This allows multiple streams (between 1 and 65533 in number) to be established over the same pipe. This gives a much greater bandwidth for data transfer.
  5. SuperSpeed USB 3.0 does not work on a serial transaction model like USB 2.0, where the host has to wait for an acknowledgment of a transaction before initiating a new transaction. Instead, USB 3.0 uses a sort of split transaction model, which allows multiple transactions at the same time. This kind of parallel processing results in improved response time.

The SuperSpeed USB 3.0 specification has surely set the stage for USB to be an ideal channel for data transfer from SSD. However, the real picture will emerge as USB 3.0 gets absorbed into the main stream by year 2011 and the way it stands up to competitive technologies like SATA and PCI Express.