EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx...

21
1 Review Test 2 EECS 563 Fall 2013 Review Test 2

Transcript of EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx...

Page 1: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

1Review Test 2

EECS 563 Fall 2013

Review Test 2

Page 2: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

2Review Test 2

Network traffic � Request for resources

� Rate of requests= λ � Average resource hold time = Th

� Common Assumptions– Time between arrivals ~ exponentially– Holding time ~ exponentially

� Voice� λ = call/sec� Th= average holding time sec/call� Load = λ*Th Erlangs

Page 3: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

3Review Test 2

Network traffic � Packet Voice

�Constraint� limit on end-to-end delay� Packetization time (ms/packet)� Role of the Jitter buffer

– Too small � lose packets– Too large � increase delay

Page 4: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

4Review Test 2

Network traffic � Packet Voice

�Components of end-to-end delay (delay budget) & trade-offs– Packetization time– Clocking time– Network delay (random)– Jitter buffer

�VoIP Rate calculation

Page 5: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

5Review Test 2

Network traffic � Video

�MPEG� Frame types

� Data� Burstyness = (Peak rate)/(Average rate)� Large Burstyness leads to effective statistical multiplexing.

Page 6: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

6Review Test 2

Performance Anaysis� Given

� Traffic

�QoS

� Design system

� Find C

� System size

� Find Number of Servers� Assumptions

� Service time ~ Exponentially distributed

� Interarrival time ~ Exponentially distributed

Page 7: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

7Review Test 2

M/M/1

1[ ]

1

L

CE Tµ λ ρ

= =− −

Where Average Service Rate, Average Arrival Rate, C= Capacity, L = Average Packet Lengthµ λ= =

inrL

C C

λρ λ

µ= = =

[ ]

[ ] 1

P System Busy

P System Empty

ρ

ρ

=

= −

Given on Test

Page 8: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

8Review Test 2

M/M/1/N and M/M/N/N

� M/M/1/N

� M/M/N/N � Erlang B

1

(1 )

1

N

B NP

ρ ρρ +

−=

− Given on Test

Table Given on Test

Page 9: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

9Review Test 2

MAC

� Scaling & trade-offs WRT: rate (b/s), number of users, and size (km)

� Deterministic (Polling)

�Operation (why called deterministic)

�Calculate effective rate & efficiency'

' where

As Max

a Ring LatencyL

C

a S

ττ= =

↑ ↓

Page 10: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

10Review Test 2

MAC

� Random Access

�Collision process

– Time vulnerable to collision

– Detecting Collisions

� Time

– Unslotted

– Slotted

� Role of backoff

Page 11: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

11Review Test 2

MAC (Random Access-continued)

� Types (all can be slotted/unslotted)� ALOHA (for unslotted Smax=18%, for slotted Smax= 36%)

� CSMA

– p-persistent (1-persistent)

– Non-persistent

– CSMA/CD

� Leads to specification of Min/Max Packet size

where End-to-End Propagation TimeaL

C

ττ= =

As and as 1,Max Max

a S a S ALOHA↑ ↓ → →

Page 12: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

12Review Test 2

MAC

� Collision Free Protocols

� Random Access and Reservation Systems

� In upstream send requests to transmit – Use part of frame (contention slots) to send requests

– Use random access to share contention slots

� Receive grants in the downstream

� No contention in downstream

� If no grant in downstream then assume collision for the request, backoff and resend request in upstream

Page 13: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

13Review Test 2

MAC- Ethernet

� IEEE 802.3

� Evolution

– Bus

– Hub

– Switch

– 10 Mb/s � 100 Gb/s

� Role of CSMA/CD

Page 14: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

14Review Test 2

Network Elements

� Repeater

� Bridge

� Switch

� Router� Layer 2 Switch

� Layer 3 Switch

� Layer 4 Switch

� Layer “Any” Switch

Page 15: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

15Review Test 2

MAC- Wireless Networks

� Issues

�Noise

� Signal Fading

�Hidden terminal

� RTS/CTS

Page 16: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

16Review Test 2

MAC- Cable Networks

� DOCSIS

� Access protocol

� CM, Headend, CMTS

Page 17: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

17Review Test 2

DLC

� Goal� point-to-point error free link

� Functions

� Framing� Flags & bit stuffing

� Error recovery

� Flow control

Page 18: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

18Review Test 2

DLC

� Sliding window flow control

� n bits/SN in packet header

� Max window �N= 2n-1

� N=1 � Stop and Wait

� When to retransmit?– Timeout

– RNR (NACK)

� What to retransmit?– SN

– Go-back-N

– Selective Repeat

Page 19: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

19Review Test 2

DLC

� Piggybacking

� Frame structure

� HDLC

Page 20: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

20Review Test 2

DLC

� Performance

� Stop&Wait*

� Sliding window*

#

Time to tx #

eff

eff

R

R

bitsR

bits

η =

=

&

1

21

stop wait

f

R

n

ητ

=+

21 if N 1

2 if 1

21

f

SlidingWindow

f

f

R

n

N RN

R n

n

τ

η ττ

≥ +

= < +

+

* Understand assumptions behind these equations

Page 21: EECS 563 Fall 2013 Review Test 2 - KU ITTCMicrosoft PowerPoint - Review-Test-2-563-Fall-2013.pptx [Read-Only] Author: frost Created Date: 12/3/2013 11:01:26 AM ...

21Review Test 2

DLC

� Open Loop Control

�DE bit

�Methods

– CIR, Bc, Be

– Token bucket� Average rate

� Maximum burst size