On estimating the number of flows Bruce Spang, Nick McKeown - - PowerPoint PPT Presentation

on estimating the number of flows
SMART_READER_LITE
LIVE PREVIEW

On estimating the number of flows Bruce Spang, Nick McKeown - - PowerPoint PPT Presentation

On estimating the number of flows Bruce Spang, Nick McKeown December 3, 2019 How big should a bu ff er be? BDP : Villamizar and Song 1994 Depends on the number of flows BDP/ n : Appenzeller, McKeown, Keslassy 2004 O(n) : Dhamdhere, Jiang,


slide-1
SLIDE 1

On estimating the number of flows

Bruce Spang, Nick McKeown December 3, 2019

slide-2
SLIDE 2

BDP: Villamizar and Song 1994 BDP/√n: Appenzeller, McKeown, Keslassy 2004 O(n): Dhamdhere, Jiang, Dovrolis 2005 O(1): Enachescu, Ganjali, Goel, McKeown, Roughgarden 2006

How big should a buffer be?

Depends on the number of flows

slide-3
SLIDE 3

Setting in existing work

Flow 1 Flow 2 … Flow n

slide-4
SLIDE 4

Ideally: 1. A flow starts with a SYN

  • 2. Ends with a FIN/RST
  • 3. Sends data in between
  • 4. We get to observe 1-3

What is the number of flows?

slide-5
SLIDE 5

In practice: 1. A flow starts with a SYN

  • 2. Ends with a FIN/RST
  • 3. Sends data in between
  • 4. We get to observe 1-3

What is the number of flows?

slide-6
SLIDE 6

Not all flows have SYN packets

slide-7
SLIDE 7

Suggestion: count the number of unique five tuples

slide-8
SLIDE 8

Not all flows send data in between

slide-9
SLIDE 9

Suggestion: count the number of unique five tuples in a measurement interval

slide-10
SLIDE 10

Number of flows depends on interval

slide-11
SLIDE 11

Suggestion: count the number of unique five tuples in a few measurement intervals

slide-12
SLIDE 12

We don’t get to see all packets

Sampled Sampled

slide-13
SLIDE 13

Estimating the unseen

slide-14
SLIDE 14

Biological techniques give a good estimate of the number of flows (in certain settings)

slide-15
SLIDE 15

But biological estimators give a bad estimate in the network setting

slide-16
SLIDE 16

Suggestion: don’t sample (or solve a cool statistics problem)

slide-17
SLIDE 17

Count the number of unique five tuples

  • ver a few RTTs

If infeasible, count SYNs and FIN/RSTs over a very long period and sanity check.

Suggestions

slide-18
SLIDE 18

Thanks!