15.4 Shared Buffer Switch 569
And the packet loss probability is given from the conservation of flow by
L = 1 −Th = 1 − p
a
(15.84)
15.4 Shared Buffer Switch
Figure 15.7 shows a shared buffer switch. In a shared buffer switch, there is one
common memory that is accessed by all input and output ports. The memory is
organized, using linked lists, into several FIFO queues such that each output port
has associated with it at least one queue. At the beginning of each time step, packets
arrive at the inputs and are temporarily stored in a small buffer at each input port
until the shared memory controller services them. The shared memory controller
scans each input port in turn and appends incoming packets to the correct FIFO
queue associated with each output port.
We make the following assumptions to simplify our analysis:
1. The shared buffer is divided into N linked lists (or queues) such that each linked
list is associated with an output port.
2. The maximum size of each linked list is B and the total size of the shared memory
is NB.
3. Each queue has N inputs and one output.
4. a is the packet arrival probability at any input of the switch.
5. Packet departure probability from any queue is 1.
6. Packets could be served in the same time step at which they arrive.
7. Each arriving packet has equal probability 1/N of being appended at the end of
any linked list associated with an output port.
8. Data broadcast or multicast are not implemented.
9. Packets will be lost when more than one packet are destined to an output port
whose linked list is full.
N
1
Shared Buffer
Write
Controller
2
N
1
2
Inputs
Outputs
Read
Controller
N
1
2
Fig. 15.7 The shared buffer switch