USB 2.0 transferrate/bandwidth per port

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
my computer has 6 usb ports on the back of the motherboard and has 2
ports on the front (8 ports all). The system is pretty new (chipset
Intel 965 Express if i remember well).

The Windows XP device manager shows up:
5x Intel ICH8 Family USB Universal Host Controller
2x Intel ICH8 Family USB2 Enhanced Host Controller
1x USB Mass Storage Device
7x USB Root Hub

I would like to know:
a) how many USB 2.0 devices can i connect to the computer that will
also work in usb 2.0 (in high speed 480mbit/s!) each??
only 2 (because of only 2 enhanced host controllers!?)?
is every port woking in 2.0 high speed or only 2 ports (2x usb 2.0; 5x
usb 1.x!?)?

b) will i only be able to connect 7 devices to it (without hub)? so i
will have one physical port unused?

c) is every usb 2.0 port woking in high speed each? or do they all
share the 480mbit/s?

d) if i connect a usb hub to a port on my motherboard will all devices
that are connected to the usb hub share the bandwidth?

I need the best possible performance because i plan to use a
professional usb 2.0 asio soundcard, 4x external PATA harddisks in
external usb 2.0 cases, keyboard, mouse and digicam.

Thank you, toebens

Re: USB 2.0 transferrate/bandwidth per port

toebens wrote:
Quoted text here. Click to load it

This is from the ICH8 datasheet. is the source of
such things...

USB EHCI Host Controllers (D29:F7 and D26:F7)

The ICH8 contains two Enhanced Host Controller Interface (EHCI) host controllers
which support up to ten USB 2.0 high-speed root ports. USB 2.0 allows data
up to 480 Mb/s using the same pins as the ten USB full-speed/low-speed ports. The
ICH8 contains port-routing logic that determines whether a USB port is
controlled by
one of the UHCI controllers or by one of the EHCI controllers. USB 2.0 based
Port is also implemented in the ICH8.

A summary of the key architectural differences between the USB UHCI host
and the EHCI host controller are shown in Table 78.

Table 78. UHCI vs. EHCI
Parameter                            USBUHCI                 USBEHCI
Accessible by                        I/O space               Memory Space
Memory Data Structure                Single linked list      Separated in to
                                                              Periodic and
                                                              Asynchronous lists
Differential Signaling Voltage       3.3V                    400 mV
Ports per Controller                 2                       6 (controller #1)
                                                              4 (Controller #2)

To explain how this works, would require drawing an ugly diagram. So I'll try
words instead.

The datasheet claims there are up to 10 ports. Sometimes a port or two is used
some motherboard purpose. Or in some cases, there are so many USB ports, they
just don't
provide headers for them all.

Say there are 10 ports. There are five USB 1.1 logic blocks inside the
Each USB 1.1 block, connects to a "stack" of two USB connectors. So for best
data transfer performance at the USB 1.1 level, use only one of the two USB
connectors in a stack. (Both 2x5 motherboard headers, and the USB connectors on
back of the computer, are grouped as pairs of ports.)

As well as five USB 1.1 logic blocks, there are also USB2 logic blocks. The
connecting of these blocks is dynamic. A dynamic binding if you will.

If it is determined a device is USB2 capable, the USB I/O is disconnected
from the USB 1.1 logic block, and is connected to a USB2 logic block.

The excerpt from the datasheet above, claims there are two USB2 controllers. One
controller serves three stacks of two connectors each. If any of those I/O
require USB2 services, that particular USB2 controller is used.

A separate USB2 controller handles two stacks of two connectors each.

For absolute best performance, where I/O were overlapped by software (i.e.
is not limiting you to synchronous I/O and only accessing one USB at a time),
want to plug a USB2 device, into a port on the 6 connector pool. And a second
on the 4 connector pool. You would have a total of 120MB/sec I/O bandwidth,
60MB/sec on each device.

The USB2 controller logic block, has a total of 60MB/sec of bandwidth. It is
over the pool of connectors it controls. If you had six identical devices, and
async software access, then each would get a 10MB/sec share. Looking at the four
connector pool, the 60MB/sec there, would result in 15MB/sec average being
available to the four connected devices. Note that the data rate on the cables,
is still 480 megabits/sec, but the duty cycle (how often packets can be on any
link) is limited by the available bandwidth of the USB2 logic block. As far as
I know, USB "polls" the endpoints, for work to do, so a USB2 controller would
be scanning the up to six bound ports, sequentially, looking for work to do.

The reason they are not split "5 + 5", is because of the "stack of two"
You wouldn't want a "stack of two", that uses the same USB 1.1 logic block, to
the domain of two USB2 logic blocks. So in that sense, one USB2 block is paired
three USB1.1 blocks, while the second USB2 block is paried with two USB1.1

Probably clear as mud... :-)

OK, I did find a figure in the datasheet. See PDF page 218, Figure 16.

And if that doc isn't big enough for you, the USB20 spec is here.
At 650 pages, designers use a paper copy of this, to keep their
office door open :-)


Site Timeline