Evaluation of variance for TCP throughput Olga I. Bogoiavlenskaia - - PowerPoint PPT Presentation

evaluation of variance for tcp throughput
SMART_READER_LITE
LIVE PREVIEW

Evaluation of variance for TCP throughput Olga I. Bogoiavlenskaia - - PowerPoint PPT Presentation

Evaluation of variance for TCP throughput Olga I. Bogoiavlenskaia PetrSU, Department of Computer Science olbgvl@cs.karelia.ru TCP Congestion Control In distributed packet switching network a sender is not aware about the workload


slide-1
SLIDE 1

Evaluation of variance for TCP throughput

Olga I. Bogoiavlenskaia

PetrSU, Department of Computer Science

  • lbgvl@cs.karelia.ru
slide-2
SLIDE 2

TCP Congestion Control

  • In distributed packet switching network a sender is not aware about

the workload experienced by key elements of the networking environment (links and routers)

  • Distrubuted flow control is one of the basic networking problems
  • Congestion collapse

1

slide-3
SLIDE 3

TCP Congestion Control

  • End-to-end transport layer decides which data and when are to be

injected in the network and provides delivery control as well

  • TCP vs UDP
  • Diversification of the networking applications and the bearers of the

signal provide more sophisticated requirements to the flow control algorithms

  • Reno and NewReno performance defines model behavior for TCP-

friendliness (BIC, CUBIC, HTCP, etc)

2

slide-4
SLIDE 4

Distributed Flow Control

  • Data delivery control is done by sliding window and explicit acknowledgme
  • Sliding window is amount of data which sender is allowed to inject in

the network without acknowledgment

  • Flow control means control on sliding window size. TCP uses set of

algorithms to control its window size W Additive Increase Multiplicative Decrease Algorithm (AIMD) W delivery − − − − − → W + 1 ↓ loss W/2

3

slide-5
SLIDE 5

wi

i+1

τ

w

α

t w(t)

w td td

i i+1 i i+1

τ

td i−1

’triple−duplicate’ periods

TCP NewReno ’Saw’

4

slide-6
SLIDE 6

’Root Square’ Lows Let us denote

  • p TCP segment loss probability
  • RTT Round Trip Time
  • RTO Round Trip Timeout
  • MSS Minimal Segment Size
  • S. Floyd for p ≤ 0.025

T = MSS RTT 3 2p (1)

  • D. Towsley group for p > 0.025

T = MSS RTT

  • 2p

3 + RTOmin(1, 3

  • 3p

8 )p(1 + 32p2)

(2)

5

slide-7
SLIDE 7

Variance evaluation

  • Throughput variance is nowadays important for many networking

applications

  • Variance is V ar[X] = E[X2] − (E[X]2)
  • Root square lows are derived thorough Goelders’s inequality i.e.

E[X] ≤

  • E[X2]

6

slide-8
SLIDE 8

Variance evaluation

  • X2

n+1 = αX2 n + 2bSn, where 0 < α < 1, b - is growth ratio and Sn

is amount of data sent without loss

  • Expanding, one gets

X2

k+n = 2b n

  • i=0

α2iSk+n−i

  • r
  • Xk+n =
  • 2b

n

  • i=0

α2iSk+n−i

7

slide-9
SLIDE 9

Variance evaluation

E[Xk+n] = E  

  • 2b

n

  • i=0

α2iSk+n−i   ≤ √ 2b

n

  • i=0

E

  • α2iSk+n−i
  • Transforming to stationary state one gets

E[X] = lim

n→∞ E[Xn] ≤ lim

√ 2b

n

  • i=0

E

  • α2iSi
  • =

√ 2b 1 − αE[

  • Sn]

For b = 1 and α = 1

2 one gets

E[X] ≤ 2 √ 2E[

  • Sn]

8

slide-10
SLIDE 10

Variance evaluation Now we have two estimations of sliding window size expectation

  • E[X] ≤ A =
  • 8

3E[S2 n]

  • E[X] ≤ B = 2

√ 2E[√Sn] If B < A then it could be used for estimation variance V ar[X] ≤ A2 − B2. This holds if E[

  • Sn] <
  • E[Sn]

3 .

9

slide-11
SLIDE 11

Variance evaluation. Examples Lets p.d.f. of Sn is F(x) = 1 − eλx then E[Sn] = 1 λ and E[

  • Sn] =

√π 2

  • 1

λ. Condition does not hold.

10

slide-12
SLIDE 12

Variance evaluation Lets p.d.f of Sn is Pierson root square distribution then its moments can be calculated through Γ-function and E[Sn] = 2

1 2Γ(n+1

2 )

Γ(n

2)

and E[

  • Sn] = 2

1 4Γ(2n+1

4 )

Γ(n

2) .

The result depends on parameter n. Condition holds for e.g. n = 10.

11