Top Banner
My Experiences, results and remarks to TCP BW and CT Measurements Tools Jiří Navrátil SLAC
69

My Experiences, results and remarks to TCP BW and CT Measurements Tools

Jan 31, 2016

Download

Documents

linh

My Experiences, results and remarks to TCP BW and CT Measurements Tools. Jiří Navrátil SLAC. My interests concerns o n. How to achieve full BW utilization Analysis of Tools for BW estimation New methods of CT detection. Inspira tion Les Cottrell IEPM metrics - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

My Experiences, results and remarks to TCP BW and CT

Measurements Tools

Jiří Navrátil

SLAC

Page 2: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

My interests concerns on

• How to achieve full BW utilization • Analysis ofTools for BW estimation• New methods of CT detection

Page 3: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

• Inspiration– Les Cottrell IEPM metrics – Jin Gujun (LBNL) netest-2 recommendation– Feng Wu-Chun (LANL) simulations– Diana Katabi, Charles Blake (MIT) bottleneck

detection

Page 4: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

• Area of saturation = area of full utilization

– TCP windows size (not sufficient for HSL)– Parallel streams– combination

Page 5: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Parallel TCP via Iperf (SLAC to LABS)

0

100

200

300

400

500

600

1 2 4 8 16 24 32 64 96 128

#N parallel TCP streams (WS=1024K)

Ag

gre

ga

ted

sp

ee

d [

Mb

ps]

ARGONE

CALTECH

LANL

RAL-uk

CERN-ch

IN2P3-fr

INFN-it

Page 6: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Parallel TCP via Iperf (SLAC-LANL)

0

100

200

300

400

500

600

2 4 8 16 24 32 64 96 128

#N parallel streams

To

tal

spe

ed

[M

bp

s]

Řada1

Řada2

Řada3Saturation point

Page 7: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Parallel TCP - Bandwidth allocation (1)

0

10

20

30

40

50

60

70

80

90

100

#N parallel TCP streams (SLAC-IN2P3.fr)

To

tal s

pe

ed

as

SU

M o

f p

art

ial s

tre

am

s s

pe

ed

[M

bp

s]

Page 8: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

0 Mbytes MbitsMedian Median Average Sdev1 26,4 222 26,3 220 52,7 44 22 22 01 28,3 23,62 28,3 23,63 28,4 23,74 28,4 23,70 113,4 94,6 23,65 23,65 0,0577351 28,3 23,62 28,6 23,93 27,7 23,24 28,6 23,95 28,3 23,76 28 23,47 26,8 22,48 28,4 23,70 224,7 188 23,65 23,475 0,494975

Page 9: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Parallel TCP via Iperf (SLAC-LANL)

0

5

10

15

20

25

2 4 8 16 24 32 64 96 128

#N parallel stream

Str

eam

sp

ee

d [

Mb

ps

]

Řada1

Řada2

Řada3

Inflexion point

Page 10: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Parallel TCP via Iperf (SLAC-LANL)

0

100

200

300

400

500

600

2 4 8 16 24 32 64 96 128

#N parallel streams

To

tal

spe

ed

[M

bp

s]

Řada1

Řada2

Řada3

Parallel TCP via Iperf (SLAC-LANL)

0

5

10

15

20

25

2 4 8 16 24 32 64 96 128

#N parallel stream

Str

eam

sp

ee

d [

Mb

ps

]

Řada1

Řada2

Řada3

Parallel TCP via Iperf (SLAC-CALTECH)

0

50

100

150

200

250

300

2 4 8 16 24 32 64 96 128

#N Parallel streams

To

tal

spe

ed

[M

bp

s]

Řada2

Řada3

Řada4

Parallel TCP via Iperf (SLAC-CALTECH)

0

5

10

15

20

25

30

2 4 8 16 24 32 64 96

#N parallel stream

Str

ea

m S

pe

ed

[M

bp

s]

Řada1

Řada2

Řada3

Page 11: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Why such distribution of throughput for individual

streams ?

Page 12: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Virtual queue

In

Out

Internet path

Page 13: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Problems of slow and high loaded lines

• All parallel streams share same “virtual queue”

• All “my traffic” share same queue with outside CT

visible in statistics for “streams speed”visible in time reports (In iperf)

Page 14: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Bandwidth allocation(SLAC-IN2P2)

0

0,5

1

1,5

2

2,5

3

3,5

2 4 8 16 24 32 64 96 128

#N parallel streams

Mbp

s per

stre

am

Max

Min

Mean

Aggregated speed (SLAC-IN2P3)

0

20

40

60

80

100

120

#N parallel streams

Mbps

ex-1

ex-2

ex-3

ex-4

Page 15: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Parallel TCP Bandwidth(iperf from SLAC-CERN)

0

10

20

30

40

50

60

70

80

90

100

#N parallel streams

Tota

l spe

ed [M

bps]

sample-1

sample-2

sample-3

sample-4

Parallel TCP Bandwidth(iperf from SLAC-CERN)

0

0,5

1

1,5

2

2,5

3

3,5

4

#N parallel streams

Stre

am sp

eed

sample-1

sample-2

sample-3

sample-4

sample-5

Page 16: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Why I cannot achieve more bandwidth with less

streams?

Is there a CT ?

I don’t know !

Page 17: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

BW allocation SLAC-CERN(32 streams)

0

1

2

3

0 8 16 24

#N parallel streams

Mb

ps

per

str

eam

32 streams

Page 18: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

BW allocation (SLAC-CERN)

0

0,5

1

1,5

2

2,5

3

3,5

0 16 32 48 63#N parallel streams

Mbp

s pe

r str

eam

N=24

N=32

N=64

N=16

Page 19: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Parallel TCP via Iperf ( 32 streams SLAC-IN2P3 )

0

0,2

0,4

0,6

0,8

1

1,2

1,4

1,6

1,8

2

#N paralel streams

str

ea

m s

pe

ed

[M

bp

s]

sample-1

sample-2

sample-3

sample-4

Page 20: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

BW allocation (SLAC LANL)

0

5

10

15

20

25

0 16 32 48 64 80 96

#N Parallel streams

Mb

ps

pe

r s

tre

am N=16

N=24

N=32

N=64

N=128

Page 21: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Conclusion:

The other TCP applications behave very

similarly in same environment

But not all applications are so aggressive as

Iperf !

Page 22: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Used tools for BW estimations

• Pathrate

• Pathload

• Iperf

• Netest-2

• Incite BWe

• UDPmon

Page 23: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Short characteristic of methodsPatharate

+ accurate

- not very reliable, long run time

Pathload+ accurate, fast, light

- limited range of operation ( < 155 Mbps)

Page 24: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 25: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 26: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Small comparisons

0

20

40

60

80

100

120

140

160

vid

conf-1

vid

conf-2

vid

conf-3

C-1

00-1

C-1

00-2

C-1

00-3

C1000-1

C1000-2

C1000-2

Iperf-max

Pload-min

Pload-max

Incite-BWe

PR-ADR

Page 27: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Short characteristic of methodsIperf

+ reliable

- must be configured to use full BW and postprocessed - heavy load of lines during operation

Netest-2+ reliable, good reports- must be configured to use full BW, - accurate (different timing scheme)

Page 28: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Iperf vers. Netest-2 SLAC - CERN(pcgiga)

0

20

40

60

80

100

120

2 4 8 16 24 32 64

#N parallel streams

Ag

gre

ga

ted

Sp

ee

d

Mb

ps Iperf

Netest-2

Page 29: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Iperf vers. Netetst-2 SLAC-Caltech

0

100

200

300

400

#N parallel streams

Ag

gre

ga

ted

sp

ee

d

Mb

ps Iperf

Netest-2 Apr

Netest-2 May

Page 30: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Iperf vers. Netest (SLAC-NERSC)

0

200

400

600

800

1000

1200

1400

1600

1800

2 4 8 16 24 32 64

#N parallel streams

Ag

gre

gate

d s

pe

ed

Mb

ps

netest-2

iperf

Page 31: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Netest-2 parallel streams

0

20

40

60

80

100

120

140

1 7 13

19

25

31

37

43

49

55

61

#N parallel streams

Mb

ps

pe

r s

tre

am Řada1

Řada2

Řada3

Řada4

Řada5

Řada6

Page 32: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

INCITE: Edge-based Traffic Processing and Service Inference for High-Performance Networks Richard Baraniuk, Rice University; Les Cottrell, SLAC; Wu-chun Feng, LANL

Page 33: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Time

P1 P2

P1 P2

P1

P2

P2

P1

dTS

(20 ms)

dtp2

dtp1

RTTdTR

BWe ~f(VQ) =f(dTR) dTR <0,RTT>

Page 34: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 35: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 36: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 37: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

freq= volume/dt

volume ~ pkt_length*8

dt ~ F(VQ) ~ F(Internet)

BWe=Mean(freq)

Open Problem

What is pkt_length?

Page 38: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

• All “my test traffic” share same queue with outside CT

(It means that delay caused to my pkts by VQ is not dependent only on my pkt_lengths !) The accuracy is dependent on knowlegde of packet distribution on particular path.

The average packet length ~1000 bytes gives reasonable results.

Virtual queue

Page 39: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 40: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 41: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 42: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 43: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 44: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 45: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 46: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 47: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 48: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 49: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 50: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 51: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

ANL

CERN

Current/Average

Filtering & Averaging

Current/Average

Page 52: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 53: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 54: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Good Morning !

Page 55: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

KPNQest

UK-problems

Page 56: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

Load balancing on one path router

Page 57: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

CT = f (dTR)

INCITE: Edge-based Traffic Processing and Service Inference for High-Performance Networks Richard Baraniuk, Rice University; Les Cottrell, SLAC; Wu-chun Feng, LANL

Page 58: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 59: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

MF-CT Features and benefits

• No need access to routers ! – Current monitoring systems for Load of traffic are based on

SNMP or Flows (needs access to routers)

• Low cost:– Allows permanent monitoring (20 pkts/sec ~ overhead 10

Kbytes/sec)– Can be used as data provider for ABW prediction

(ABW=BW-CT)

• We have 2 data points of CT per second !!• Weak point for common use

MATLAB code

Page 60: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 61: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 62: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 63: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 64: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 65: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 66: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 67: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 68: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools
Page 69: My Experiences, results and remarks to  TCP BW  and CT  Measurements Tools

SNMP counter

SNMP counter

MF-CT Simulator

SNMP counter

SNMP counter

UDP echo

UDP echo

SLAC IN2P3

CERN