on estimating the number of flows
play

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,


  1. On estimating the number of flows Bruce Spang, Nick McKeown December 3, 2019

  2. 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, Dovrolis 2005 O(1) : Enachescu, Ganjali, Goel, McKeown, Roughgarden 2006

  3. Setting in existing work Flow 1 Flow 2 … Flow n

  4. What is the number of flows? 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

  5. What is the number of flows? 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

  6. Not all flows have SYN packets

  7. Suggestion: count the number of unique five tuples

  8. Not all flows send data in between

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

  10. Number of flows depends on interval

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

  12. We don’t get to see all packets … Sampled Sampled

  13. Estimating the unseen

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

  15. But biological estimators give a bad estimate in the network setting

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

  17. Suggestions Count the number of unique five tuples over a few RTTs If infeasible, count SYNs and FIN/RSTs over a very long period and sanity check.

  18. Thanks!

Recommend


More recommend