03.02.2014 Views

Medianet Reference Guide - Cisco

Medianet Reference Guide - Cisco

Medianet Reference Guide - Cisco

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2<br />

<strong>Medianet</strong> Bandwidth and Scalability<br />

TxRing<br />

Table 2-1<br />

CIR <strong>Guide</strong>lines (continued)<br />

Policed Bc or interface buffer (Kbyte)<br />

CIR (Mbit/sec)<br />

Less than<br />

But more than<br />

15 12 20<br />

12 11 25<br />

11 10 30<br />

10 8.8 40<br />

6.50 3.0 100<br />

3.0 0.0 N/A<br />

Because shapers can send Bc bytes at the beginning of each Tc time interval, and because shapers feed<br />

indirectly into the TxRing of the interface, it is possible to tune the TxRing to accommodate this traffic.<br />

TxRing<br />

The TxRing and RxRings are memory structures shared by the main processor and the interface<br />

processor (see Figure 2-7). This memory is arranged as a first in, first out (FIFO) queue. The ring can be<br />

thought of as a list of memory pointers. For each ring, there is a read pointer and a write pointer. The<br />

main processor and interface process each manage the pair of pointers appropriate to their function. The<br />

pointers move independently of one another. The difference between the write and read pointers gives<br />

the depth of the queue. Each pointer links a particle of memory. Particles are an efficient means of<br />

buffering packets of all different sizes within a pool of memory. A packet can be spread over multiple<br />

particles depending on the size of the packet. The pointers of a single packet form a linked list.<br />

Figure 2-7<br />

TxRings and RxRings<br />

CPU<br />

(IOS)<br />

Interface<br />

Queue<br />

Rx<br />

Memory<br />

Tx<br />

Memory<br />

MAC<br />

PHY<br />

4b/5b<br />

Magnetics<br />

Interface<br />

Queue<br />

Rx<br />

Memory<br />

Tx<br />

Memory<br />

MAC<br />

PHY<br />

4b/5b<br />

Magnetics<br />

228642<br />

The rest of the discussion on <strong>Cisco</strong> IOS architecture is out of scope for this section, but some key points<br />

should be mentioned. Because a shaper can deposit Bc bytes of traffic onto an interface at the beginning<br />

of each Tc time period, the TxRing should be at least large enough to handle this traffic. The exact<br />

number of particles required depends on the average size of the packets to be sent, and the average<br />

number of particles that a packet may link across. It may not be possible to know these values in all cases.<br />

OL-22201-01<br />

<strong>Medianet</strong> <strong>Reference</strong> <strong>Guide</strong><br />

2-11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!