Yin Xu, Wai Kay Leong, Ali Razeen Ben Leong Duke University - - PowerPoint PPT Presentation

yin xu wai kay leong ali razeen ben leong
SMART_READER_LITE
LIVE PREVIEW

Yin Xu, Wai Kay Leong, Ali Razeen Ben Leong Duke University - - PowerPoint PPT Presentation

Yin Xu, Wai Kay Leong, Ali Razeen Ben Leong Duke University National University of Singapore 1 US smartphone penetration exceeded 50% in Q2, 2012 Mobile data traffic growing rapidly as well Source:


slide-1
SLIDE 1

Yin Xu, Wai Kay Leong, Ben Leong

National University of Singapore

1

Ali Razeen

Duke University

slide-2
SLIDE 2

 US smartphone penetration

exceeded 50% in Q2, 2012

 Mobile data traffic

growing rapidly as well

2

Source: http://www.chetansharma.com/USmarketupdateQ22012.htm

slide-3
SLIDE 3

 Users uploading significant amounts of

data in the form of photos and videos

e.g. AT&T observed 40% more data uploaded than downloaded during a football match

(7 Feb 2012)

 Uploads often conducted

in the background

3

slide-4
SLIDE 4

4

Hmm… I got the new HTC

  • ne X…lala

Hmm…I still have 10GB

  • f data….lolo

Hmm…I got 25GB extra DropBox space!! Hmm…Upload all my photo to DropBox!!! Hmm…Show

  • ff my new

phone!! …Facebook… …blabla…. ah!! I cannot refresh my facebook wall! !!Stupid phone!! Stupid network!! ….....I should complain!! What happened?

slide-5
SLIDE 5

Background uploads can degrade downloads significantly!

5

slide-6
SLIDE 6

 Android Phones  3 Local Telcos

7.2 Mbps downlink 2.0 Mbps uplink

Server Client Upload 1MB Download 1MB without upload Download 1MB Upload until download completion

slide-7
SLIDE 7

7

Without Upload (s) With Upload (s)

slide-8
SLIDE 8

8

Without Upload (kbps) With Upload (kbps)

slide-9
SLIDE 9

9

Uplink Bandwidth (kbps) Download Performance

slide-10
SLIDE 10

Server Client Download 1MB Continuous background upload

slide-11
SLIDE 11

11

Packet arrival time (s) Delay (s)

slide-12
SLIDE 12

 NOT caused by ACK Compression  Data Pendulum Problem [Heusse et al. 2011]

 Sized properly, buffers take turns to fill up  Sized improperly, low-speed link with large buffer

becomes the sole bottleneck

 Uplink is the bottleneck in a

3G/HSPA mobile network

12

slide-13
SLIDE 13

13

slide-14
SLIDE 14

14

NOPE! CANNOT USE A FIXED SIZE BUFFER!

Time of Day (24 hours) Upload Throughput (kbps)

slide-15
SLIDE 15

 Optimizing how the ACKs are sent

[Balakrishnan et al. 1999/2002]

 Using different queues for data

and ACK packets [Podlesny et al. 2012]

 TCP Vegas [Brakmo et al. 1995]

All Sender-Side Solutions

15

slide-16
SLIDE 16

 Not General

 Only works for the devices already

deployed with the solution

 Devices may use network interfaces

  • ther than 3G/HSPA (e.g. Wi-Fi)

 “Implement complexity

at the server, not the client”

 It may take years to update

client-side software [Adya et al. 2011]

16

slide-17
SLIDE 17

Receiver-Side Flow Control (RSFC)

17

slide-18
SLIDE 18

Our Our Appr Approa

  • ach

Can implement at ISP

network proxies

Works transparently for any

device using the 3G/HSPA mobile network

Changes immediately

deployable

slide-19
SLIDE 19

Easily deployed at ISP proxy

19

Base station Proxy Internet A go A good d pl plac ace f for RS RSFC FC

slide-20
SLIDE 20

Freeze-TCP [Goff et al. 2000] Reducing delay for interactive

applications while maintaining throughput for bulk transfers

[Spring et al. 2000]

Improving fairness

[Kalampoukas et al. 2002, Andrew et al. 2008]

Used for Other Purposes

20

slide-21
SLIDE 21

21

Reduce # of packets in the uplink buffer by adjusting the TCP receiver window (rwnd)

What is the right rwnd?

slide-22
SLIDE 22

rwnd Value ue

Set to bandwidth-delay

product (BDP)?

Not so simple…

How do we estimate BDP? Network fluctuations

slide-23
SLIDE 23

Appr Approa

  • ach: Ne

: Nega gativ ive Feedba dback

Esti

Estima mate ti time me pack packet spe spends i in b buffer tbuff usin ing TCP Ti CP Time mest stamp

Se

Set a thre t a threshold shold T

tbuff > T, clamp rwnd tbuff < T, increase rwnd

slide-24
SLIDE 24

x

Timestamp:

TSval = ts

Estimating tbu

buff

24

tbuff

x

time = tr

Time

x x x

tu

Sender Receiver

tr – ts = RD Relative Delay

Packets in buffer

ts

slide-25
SLIDE 25

x

Timestamp:

TSval = ts

Estimating tbu

buff

25

x

time = tr

Time

tu

Sender Receiver

tr – ts = RDmin Minimal Relative Delay

Packets in buffer

ts

tbuff = RD – RDmin

No need to synchronize sender and receiver!

slide-26
SLIDE 26

 Measure receive rate ρ at

receiver

 Minimal RTT (RTTmin)  Ideal window is the

bandwidth-delay product:

  • rwnd = ρ× RTTmin

26

slide-27
SLIDE 27

tbuff > T, rwnd = ρ× RTTmin

(fast state)

tbuff < T, rwnd++

(slow state)

In our implementation

T is set to RTTmin

27

slide-28
SLIDE 28

Changes in bandwidth Decrease in the delay Increase in the delay

Slight increase:

detect increased receive rate ρ

Large increase: monitor state

28

?

See details in paper!

slide-29
SLIDE 29

 Reduces RTT  Improves download throughput  Reduces webpage loading time  Fair and efficient  Adapts to changes in network

conditions

 Compatible with sender-side

algorithms

29

slide-30
SLIDE 30

 Reduces RTT  Improves download throughput  Reduces webpage loading time  Fair and efficient  Adapts to changes in network

conditions

 Compatible with sender-side

algorithms

30

slide-31
SLIDE 31

Server

Upload 1MB with Cubic Upload 1MB with RSFC

Client

slide-32
SLIDE 32

32

slide-33
SLIDE 33

33

slide-34
SLIDE 34

35

slide-35
SLIDE 35

Server Client Download 1MB (d1) Upload (u1)with Cubic until download completes Download (d0) 1MB without upload Download 1MB (d2) Upload (u2)with RSFC until download completes

slide-36
SLIDE 36

37

slide-37
SLIDE 37

38

slide-38
SLIDE 38

39

slide-39
SLIDE 39

41

slide-40
SLIDE 40

Client Web surfing without upload

Alexa top 100 sites

Web surfing Upload with Cubic until website is loaded Server Web surfing Upload with RSFC until website is loaded

slide-41
SLIDE 41

43

slide-42
SLIDE 42

44

slide-43
SLIDE 43

45

slide-44
SLIDE 44

Con Concl clusion ion

Saturated uplink can cause serious

performance degradation

Receiver-Side Flow Control

 Reduces queuing delay significantly  Improves downstream performance  Reduces loading time of webpages  Compatible with existing TCP variants  Easily deployed at ISP proxies

slide-45
SLIDE 45

47

slide-46
SLIDE 46

 Run two RSFC uploads

concurrently

 Calculate Jain fairness index:

48

)) ( 2 /( ) (

2 2 2 1 2 2 1

R R R R + +

slide-47
SLIDE 47

49

slide-48
SLIDE 48

 Run two RSFC uploads

concurrently

 Compare the aggregate

throughput to a single TCP:

50

tcp

R R R / ) (

2 1 +

slide-49
SLIDE 49

51

slide-50
SLIDE 50

52

slide-51
SLIDE 51

 Compare with one RSFC

version without:

Checking ρ Monitor state

53

slide-52
SLIDE 52

54

Delay increase cannot be detected. Inefficient!

Without the two methods

slide-53
SLIDE 53

55

Delay increase can be detected. Efficient!

With the two methods