Cs/ee 143 Communication Networks Chapter 3 Ethernet: Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech
Cs/ee 143 Communication Networks Chapter 3 Ethernet: Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech
Chapter 3 Ethernet
Text: Walrand & Parakh, 2010
Steven Low
CMS, EE, Caltech
Warning
These notes are not self-contained,
probably not understandable,
unless you also were in the lecture
Agenda
Ethernet history/devices
Switch Ethernet forwarding table
Spanning tree protocol
Littles theorem (informal proof)
Ethernet
R( p) np 1 p
n1
n1
0 R'( p ) n 1 p
* n1
1 p (n1)p
*
n(n1)p 1 p
*
1
p
n
*
max utilization = R( p )
n1
1
1
= 1
n
e
as n
* n2
n1
0 R'( p ) n 1 p
* n1
1 p (n1)p
*
n(n1)p 1 p
*
1
p
n
*
max utilization = R( p )
n1
1
1
= 1
n
e
as n
* n2
n1
0 R'( p ) n 1 p
* n1
1 p (n1)p
*
n(n1)p 1 p
*
1
p
n
*
max utilization = R( p )
n1
1
1
= 1
n
e
as n
* n2
R( p) np 1 p
n1
S( p) p 1 p 1 p = p 1 p
2
K: 1 time slots
S( p) p 1 p 1 p = p 1 p
2
K: 1 time slots
n1 K
0 S'( p ) 1 p
*
n1 K
(n1)Kp 1 p
*
1 p (n1)Kp
*
1
p
(n1)K 1
*
n1 K 1
n1 K
0 S'( p ) 1 p
*
n1 K
(n1)Kp 1 p
*
n1 K 1
1 p (n1)Kp
*
1
p
(n1)K 1
*
n1 K
n
1
1
(n1)K 1
(n1)K 1
n1 K
n
1
1
n1 K
(n1)K 1
n1
1
k 2
as n and 0
2e
n1 K
n
1
1
(n1)K 1
(n1)K 1
n1 K
n
1
1
n1 K
(n1)K 1
n1
1
k 2
as n and 0
2e
n1 K
n
1
1
(n1)K 1
(n1)K 1
n1 K
n
1
1
n1 K
(n1)K 1
n1
1
k 2
as n and 0
2e
Ethernet switch
x y:
[ y | x | data ]
Agenda
Ethernet history/devices
Switch Ethernet forwarding table
Spanning tree protocol
Littles theorem (informal proof)
Goal
Operation
Example
Performance
x y:
[ y | x | data ]
STP: example
Im 3
I think root is 3
my distance to root is 0
STP: example
Im 3
I think root is 3
my distance to root is 0
STP: example
a new initiation
before previous
converges
STP: example
a new initiation
before previous
converges
STP: example
a new initiation
before previous
converges
STP: example
x y:
[ y | x | data ]
Agenda
Ethernet history/devices
Switch Ethernet forwarding table
Spanning tree protocol
Littles theorem (informal proof)
Littles law
L T
capacity:
pkts/s (> )
arrival rate:
pkts/s
L pkts
Littles law
L
Ti
t : #packets arrived by t
t : #packets departed by t
Ti : delay of packet i
Lt t t : #packets in system at t
Littles law
t L t
Ti
t
t
L d
0
Littles law
t L t
Ti
t
t
i1
t
t
L d
0
Littles law
t L t
Ti
t
t
i1
t
t
L d
0
i1
Littles law
t L t
Ti
t
t
i1
t 1
Ti
t t i1
t
t
L d
0
1
L d
t0
i1
t 1
Ti
t t i1
Littles law
t L t
Ti
T
t
t 1
Ti
t t i1
L
t
as t
1
L d
t0
T
t
t 1
Ti
t t i1
Queueing system
random arrival
process with rate
with average
pkts/s
Littles law
1
s/pkt
L T
M/M/1 queue
Poisson arrival
process with rate
pkts/s
1
avg total delay T
1 /
avg waiting time Tq T
1
s/pkt
Queueing system
random arrival
process with rate
1
s/pkt
with average
pkts/s
L T
T
Tq T
Lq
Lq Tq
Tq