Mitigating E Egregi egiou ous A ACK CK Delays in Ce n Cellular - - PowerPoint PPT Presentation

mitigating e egregi egiou ous a ack ck delays in ce n
SMART_READER_LITE
LIVE PREVIEW

Mitigating E Egregi egiou ous A ACK CK Delays in Ce n Cellular - - PowerPoint PPT Presentation

Mitigating E Egregi egiou ous A ACK CK Delays in Ce n Cellular Da Data Ne Networks b by Eliminating T TCP A CP ACK Cl CK Cloc ocking Wai Kay Leong, Yin Xu, Ben Leong, Zixiao Wang National University of Singapore Asymmetry i in C


slide-1
SLIDE 1

Mitigating E Egregi egiou

  • us A

ACK CK Delays in Ce n Cellular Da Data Ne Networks b by Eliminating T TCP A CP ACK Cl CK Cloc

  • cking

Wai Kay Leong, Yin Xu, Ben Leong, Zixiao Wang

National University of Singapore

slide-2
SLIDE 2

Asymmetry i in C Cellula lar r Network rks

  • Congestion in Uplink

‒ Concurrent Upload

▪ RSFC [Xu et al. 2012]

‒ Other Users

Downlink Uplink

slide-3
SLIDE 3

Egregi giou

  • us A

ACK D CK Delays

  • TCP congestion control is ACK-

clocked

Data ACK Data

slide-4
SLIDE 4

Egregi giou

  • us A

ACK D CK Delays

  • TCP congestion control is ACK-

clocked

  • Congested uplink can delay ACKs

‒ Downlink becomes idle

Data ACK Data

slide-5
SLIDE 5

Egregi giou

  • us A

ACK D CK Delays

  • TCP congestion control is ACK-

clocked

  • Congested uplink can delay ACKs

‒ Downlink becomes idle

Data ACK

Idle Downlink Under Utilization Reduced Throughput

slide-6
SLIDE 6

Sol

  • lut

ution

  • n: E

Eliminate A ACK Cl CK Cloc

  • cki

king

Idea: If we know the bandwidth,

we can send at maximum rate.

Bandwidth: X Mb/s ACK Not dependent on ACK arrival Data Data Send Data at X Mb/s Data

cwnd

slide-7
SLIDE 7

Cha Challenge 1 e 1: Estimating Ban Bandwidth

Bandwidth ≡ Receive Rate Idea

  • Use receiving rate as equivalent of available

bandwidth

Done Passively Condition

  • To avoid modifications at the receiver

Use TCP Timestamps Solution

  • Enabled by default on Android and iPhones
slide-8
SLIDE 8

Estimating R Rec ecei eive R e Rate

TSval = tr0

Sender Mobile Receiver

TSval = tr0 TSval = tr1 TSval = tr1 tr1 – tr0 = Δt

ΔACK/Δt=ρ

Receive Rate ρ

slide-9
SLIDE 9

Chal Challenges es

  • 1. Estimating Bandwidth
  • 2. Timestamp Granularity too

Coarse

‒ Cannot estimate with high accuracy

  • 3. Bandwidth variation

‒ Have to keep updating estimation

slide-10
SLIDE 10

Sol

  • lut

ution

  • n

Self-oscillating Feedback Loop

‒ Estimate Receive Rate ρ ‒ Send Rate σ

Send Faster ( σ > ρ ) Send slower ( σ < ρ )

No Congestion Link Congested

How to detect congestion?

slide-11
SLIDE 11

Detect ect Cong Conges estion

  • n
  • Idea: Monitor Queuing Delay
  • How?

‒ TCP Timestamps ‒ Relative Difference between sender and receiver Buffer

tbuff > 0 tbuff = 0

slide-12
SLIDE 12

Detect ecting Cong g Conges estion

Relative Delay (RD) Min Delay (RDmin)

Sender Mobile Receiver

x x

Queuing Delay (tbuff)

TSval = tr1 TSval = tr1 ts1

A

RD = tr1 – ts1

RD – RDmin ≈ tbuff

Congestion detected when tbuff >T

slide-13
SLIDE 13

Sum ummary of

  • f Al

Algor

  • rithm
  • Send 10 packets
  • Estimate ρ using

replies

  • 1. Initial Receive

Rate Estimation

  • 2. Buffer

Management Mode

Send Faster (σ >ρ) a) Buffer Fill State Send Slower (σ <ρ) b) Buffer Drain State

  • Probe network
  • Details in paper
  • 3. Monitor Mode

tbuff > T tbuff < T

Significant changes in network

TCP-RRE

(Receiver-Rate Estimation)

slide-14
SLIDE 14

Para rameters rs?

  • How much faster or slower to

send?

  • What threshold T to use?
  • When to switch to monitor state?

See details in paper

slide-15
SLIDE 15

ns-2 E 2 Evaluation

Measured real networks to get simulation parameters

slide-16
SLIDE 16

ns-2 E 2 Evaluation

1. Single Download with Slow Uplink 2. Single Download under Normal Conditions 3. Download with Concurrent Upload 4. Handling Network Fluctuation 5. TCP Friendliness

slide-17
SLIDE 17

ns-2 E 2 Evaluation

1. Single Download with Slow Uplink 2. Single Download under Normal Conditions 3. Download with Concurrent Upload 4. Handling Network Fluctuation 5. TCP Friendliness

slide-18
SLIDE 18

Do Download w with S Slow Up Uplink

Data ACK Downlink Speed (Mb/s) Uplink Speed (kb/s) 1 200 20 8 1MB

ns-2

slide-19
SLIDE 19

Do Download w with S Slow Up Uplink

Uplink speed decreases ns-2

slide-20
SLIDE 20

Do Downloa

  • ad u

unde der N Normal C Condi ditions

  • ns

ns-2

slide-21
SLIDE 21

Do Downloa

  • ad u

unde der N Normal C Condi ditions

  • ns

Packet Loss

ns-2

1400+

slide-22
SLIDE 22

Do Downloa

  • ad u

unde der N Normal C Condi ditions

  • ns

ns-2

slide-23
SLIDE 23

Download w with C Con

  • ncurrent U

Uploa

  • ad

Downlink Speed (Mb/s) Uplink Speed (kb/s) 0.5 3000 250 8 Download 1MB Upload until download completion

ns-2

slide-24
SLIDE 24

Download w with C Con

  • ncurrent U

Uploa

  • ad

ns-2 2.5X

slide-25
SLIDE 25

Eval aluation

  • n i

in n Linux

  • Several Places, different ISPs
  • Multiple times
  • CDF of all experiments at each place

for each ISP

Upload until download completion Download 1MB with TCP-RRE Download 1MB with CUBIC

slide-26
SLIDE 26

Eval aluation

  • n i

in n Linux

slide-27
SLIDE 27

Eval aluation

  • n i

in n Linux

+50%

slide-28
SLIDE 28

Eval aluation

  • n i

in n Linux

slide-29
SLIDE 29

Eval aluation

  • n i

in n Linux

+25%

slide-30
SLIDE 30

Conc Conclusion

  • n

Congested Uplink Delayed ACKs Poor Download Performance

slide-31
SLIDE 31

Conc Conclusion

  • n
  • TCP-RRE

‒ ACK Clocking ‒ Rate Control with Feedback Loop

  • Use TCP Timestamp

‒ Estimate Receive Rate ‒ Detect Congestion

  • Improves TCP

‒ Uplink is Slow ‒ Uplink is Congested

  • Keep the Delay Low
  • Fair to Other TCP Flows
slide-32
SLIDE 32

Than ank Y You

  • u

QUE QUESTI TIONS

slide-33
SLIDE 33

Han andling g Network F k Fluct ctuation

  • ns

CUBIC

slide-34
SLIDE 34

Han andling g Network F k Fluct ctuation

  • ns

TCP-RRE

slide-35
SLIDE 35

TCP F CP Friendliness

  • Run two RSFC uploads

concurrently

  • Calculate Jain fairness index:

)) ( 2 /( ) (

2 2 2 1 2 2 1

R R R R + +

slide-36
SLIDE 36

TCP F CP Friendliness