page 110/21/2015 cse 40373/60373: multimedia systems networks strive for fairness assuming we want...

19
page 1 07/04/22 CSE 40373/60373: Multimedia Systems Networks strive for fairness Assuming we want to support ‘n’ network flows over a network link of capacity ‘m’ Approach 1: reserve equally, say n/m per flow or proportional to flow requirements Wasteful if flow doesn’t use a particular allocation Sharing can help customers even though ISP get paid Approach 2: Best effort Each flow can be aggressive and pump as much as they possibly can. Network will experience congestion and drop packets. You will get the best of what can be supported Each flow can be “nice”. One form of niceness is TCP friendly. TCP internally probes the network bandwidth using additive increase multiplicative decrease (AIMD) scheme. It increases the amount of data slowly in additive fashion till it experiences congestion (packet drop). At that point, it drops quickly and tries again to calculate the bottle neck bandwidth in a distributed fashion

Upload: sarah-mccormick

Post on 13-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 104/21/23 CSE 40373/60373: Multimedia Systems

Networks strive for fairness

Assuming we want to support ‘n’ network flows over a network link of capacity ‘m’ Approach 1: reserve equally, say n/m per flow or

proportional to flow requirements Wasteful if flow doesn’t use a particular allocation

– Sharing can help customers even though ISP get paid

Approach 2: Best effort Each flow can be aggressive and pump as much as they

possibly can. Network will experience congestion and drop packets. You will get the best of what can be supported

Each flow can be “nice”. One form of niceness is TCP friendly. TCP internally probes the network bandwidth using additive increase multiplicative decrease (AIMD) scheme. It increases the amount of data slowly in additive fashion till it experiences congestion (packet drop). At that point, it drops quickly and tries again to calculate the bottle neck bandwidth in a distributed fashion

Page 2: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 204/21/23 CSE 40373/60373: Multimedia Systems

Multimedia traffic

Isochronous traffic: somewhere between synchronous (constant traffic) and asynchronous (unpredictable). Sort of predictable, sort of bursty Peak burst not necessarily equal to the network capacity

(unlike for file transfer application which can use as much bandwidth as you can throw at it).

Traffic bursty and will interact with TCP traffic that are competing for resources

Page 3: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 304/21/23 CSE 40373/60373: Multimedia Systems

Microsoft media for various networks

Page 4: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 404/21/23 CSE 40373/60373: Multimedia Systems

Microsoft Media

Packets arrive at fairly regular intervals Large packets (up to 16 KB): Uses network

fragmentation Losing one fragment loses the entire packet Fragments arrive back to back

can assist adaptation policy

Lossy network - adapts to a low quality stream fragmentation makes this effect worse

Page 5: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 504/21/23 CSE 40373/60373: Multimedia Systems

Real video for various networks

Page 6: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 604/21/23 CSE 40373/60373: Multimedia Systems

Real

Variable packet size (50-1500 bytes) Packet arrivals almost regular Packets sent closer to each other

Packet size less than MTU No network level fragmentation

Lossy networks - lower quality video

Page 7: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 704/21/23 CSE 40373/60373: Multimedia Systems

Quicktime video for various networks

Page 8: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 804/21/23 CSE 40373/60373: Multimedia Systems

Quicktime

Variable packet size Packets sent in “clusters” – burst and extended idle

Application level fragmentation?

Packet size less than MTU No network fragmentation

Lossy networks – lower quality video

Page 9: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 904/21/23 CSE 40373/60373: Multimedia Systems

Networking technologies - wired

Ethernet: modern Ethernet 100 Mbps or 1 Gbps Switched, full duplex and so no congestion No notion of bandwidth reservation Network is bounded by the packet processing duration,

small packets require more per packet overhead (not amortized over the size of the packet)

Page 10: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 1004/21/23 CSE 40373/60373: Multimedia Systems

Network technologies

ATM – allows for bandwidth reservation. ISPs love technology but for the most part, relegated to fringe networks.

Wide area networks Iptv topology – courtesy Misha Rabinovich @CWRU

Page 11: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 1104/21/23 CSE 40373/60373: Multimedia Systems

Wireless - broadband

3G wireless – higher bandwidth, clients use bandwidth allocated by cellular provider, no competition

WiMAX – broadband metro area broadband

Page 12: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 1204/21/23 CSE 40373/60373: Multimedia Systems

Wireless LANs

IEEE 802.11 Bandwidth: 1 or 2 Mbps 802.11b - 11 Mbps (2.4 GHz) 802.11g - 54 Mbps (2.4 GHz) 802.11a - 54 Mbps (5 GHz) 802.11n – up to 300 Mbps

Physical Media spread spectrum radio (2.4 GHz) diffused infrared (10 m)

Wireless LAN irDA Bluetooth

Page 13: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 1304/21/23 CSE 40373/60373: Multimedia Systems

Spread Spectrum

Idea spread signal over wider frequency band than required originally designed to thwart jamming

Frequency Hopping transmit over random sequence of frequencies sender and receiver share…

pseudorandom number generator seed

802.11 uses 79 x 1MHz-wide frequency bands

Page 14: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 1404/21/23 CSE 40373/60373: Multimedia Systems

A B C D

Collisions Avoidance

Similar to Ethernet - CSMA Problem: hidden and exposed nodes

Page 15: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 1504/21/23 CSE 40373/60373: Multimedia Systems

A B C

Hidden Terminal Problem

Node B can communicate with A and C both A and C cannot hear each other

When A transmits to B, C cannot detect the transmission using the carrier sense mechanism

If C transmits, collision will occur at node B

Nitin Vaidya @ UIUC

Page 16: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 1604/21/23 CSE 40373/60373: Multimedia SystemsApr 21, 2023

4/598N: Computer Networks

BH

AF

G

D

AP-2AP-3AP-1

C E

Distribution system

Supporting Mobility

Case 1: ad hoc networking Case 2: access points (AP)

tethered each mobile node associates with an AP

Page 17: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 1704/21/23 CSE 40373/60373: Multimedia Systems

Challenges

Limited wireless transmission range Broadcast nature of the wireless medium

Hidden terminal problem

Packet losses due to transmission errors Mobility-induced route changes Mobility-induced packet losses Battery constraints Potentially frequent network partitions Ease of snooping on wireless transmissions

(security hazard)

Nitin Vaidya @ UIUC

Page 18: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 1804/21/23 CSE 40373/60373: Multimedia Systems

Bluetooth

A cable replacement technology 1 Mb/s symbol rate Range 10+ meters Single chip radio + baseband

at low power & low price point

Why not use Wireless LANs?- power- cost

Pravin Bhagwat @ AT&T Labs

Page 19: Page 110/21/2015 CSE 40373/60373: Multimedia Systems Networks strive for fairness  Assuming we want to support ‘n’ network flows over a network link of

page 1904/21/23 CSE 40373/60373: Multimedia Systems

Cordless Headset

User benefits Multiple device access Cordless phone benefits Hands free operation

Cordlessheadset

Pravin Bhagwat @ AT&T Labs