real time network measurements
play

Real-time Network Measurements Ran Ben Basat, Technion Joint work - PowerPoint PPT Presentation

Real-time Network Measurements Ran Ben Basat, Technion Joint work with Gil Einziger, Erez Waisbard (Nokia Bell Labs) Roy Friedman (Technion) and Marcello Luzieli (UFGRS) ACC Annual Workshop & Feder Prize Ceremony Network Measurements ACC


  1. Real-time Network Measurements Ran Ben Basat, Technion Joint work with Gil Einziger, Erez Waisbard (Nokia Bell Labs) Roy Friedman (Technion) and Marcello Luzieli (UFGRS) ACC Annual Workshop & Feder Prize Ceremony

  2. Network Measurements ACC Annual Workshop & Feder Prize Ceremony

  3. Network Measurements Counting Distinct Elements Elephant Flows Detection Sliding Windows Statistics DDoS Identification Load Balancing Worm Propagation Traffic Engineering Link-based SEO Link Utilization Caching Trend Detection Computing Quantiles Estimating the fraction of rare flows Data Log Analysis Customer Satisfaction Network Health Monitoring DDoS Detection ACC Annual Workshop & Feder Prize Ceremony

  4. Heavy Hitters How many packets has sent? Which flows are larger than 𝑈 ? Traditionally – must fit in the SRAM Year 2012 2014 2016 7 (SilkRoad, SIGCOMM 2017) SRAM (MB) 10-20 30-60 50-100 Can ’ t allocate a counter for each flow! ACC Annual Workshop & Feder Prize Ceremony

  5. Distributed Denial of Service ACC Annual Workshop & Feder Prize Ceremony

  6. Hierarchical Heavy Hitters (HHH) Hierarchical Heavy Hitters identify traffic clusters. They are at the core of numerous DDoS mitigation systems … DDoS attack (Aug. 2014) DREAM: dynamic resource allocation for software-defined Counting . ACM SIGCOMM 2014 LADS: Large-scale Automated DDoS Detection System. USENIX ATC 2006 Automatically Inferring Patterns of Resource Consumption in Network Traffic. ACM SIGCOMM 2003 ACC Annual Workshop & Feder Prize Ceremony

  7. DDoS Mitigation 181.7.20.1 Can we block only the 181.7.20.2 attacking devices? … 181.7.21.1 181.7.21.2 … ACC Annual Workshop & Feder Prize Ceremony

  8. Hierarchical Heavy Hitters Hierarchical Heavy Hitters identifies frequent: Flows ( heavy hitters) • Source networks. • Source-Destination pairs. • 181.7.∗.∗ 181.7.20.∗ 220.7.16.∗ 220.7.16.9 181.7.20.13 ACC Annual Workshop & Feder Prize Ceremony

  9. State of the art “ Count each prefix independently. ” Level0 Counting Level0 Counting Level1 Counting Level1 Counting 181.7.20.6 1.7.20.6 181.7.20.* Compute all Level2 Counting Level2 Counting 181.7.*.* prefixes 181.*.*.* *.*.*.* Level3 Counting Level3 Counting Level4 Counting Level4 Counting Mitzenmacher et al., Hierarchical Heavy Hitters with the Space Saving Algorithm, ALENEX 2012 ACC Annual Workshop & Feder Prize Ceremony

  10. Randomized HHH (Our work) “ Select a prefix at random and count it ” Level0 Counting Level1 Counting Level1 Counting 1.7.20.6 Compute a Level2 Counting 181.7.20.* random prefix Level3 Counting Level4 Counting ACC Annual Workshop & Feder Prize Ceremony

  11. Additional Speedup Level0 Counting Level1 Counting Level1 Counting With Compute a 181.7.20.* probability random 181.7.20.2 181.7.20.3 181.7.20.6 188.3.12.3 188.67.7.1 92.67.7.81 Level2 Counting 90% prefix Level3 Counting Level4 Counting Ignore packet ACC Annual Workshop & Feder Prize Ceremony

  12. We did the math Accuracy and convergence guarantees . After enough packets there are: 1. No false negatives. 2. No counting errors. 3. Only a few false positives. ACC Annual Workshop & Feder Prize Ceremony

  13. How much traffic is needed for convergence? “ Accuracy improves with the number of packets ” Counting Errors False Negatives 128M 128M packets packets 32M 32M packets packets One prefix One prefix per packet 10 packets ACC Annual Workshop & Feder Prize Ceremony

  14. Comparison with other HHH algorithms “ Accuracy improves with the number of packets ” One prefix per 10 packets One prefix per packet Mitzenmacher et al. Cormode et al., Finding hierarchical heavy hitters in streaming data, TKDD 2008 ACC Annual Workshop & Feder Prize Ceremony

  15. Virtual Switching DRAM is cheap  VM1 VM2 VM3 VM4 APP APP APP APP VMK OS OS OS OS Virtual NIC vSwitch Physical NIC The new bottleneck: CPU Physical switch ACC Annual Workshop & Feder Prize Ceremony

  16. Open vSwitch Implementation Server A: Traffic Generator – We send min-sized packets with headers from Internet traces. Server B: DPDK enabled Open vSwitch – Performs HHH Counting in data plane Traffic Generator Open vSwitch ACC Annual Workshop & Feder Prize Ceremony

  17. Comparing Implementation Overhead Highlights: Only - 4% overheads for HHH in the OVS data plane! + 250% throughput improvement compared to previous work. OVS One prefix per packet One prefix per 10 packets Mitzenmacher et al. ACC Annual Workshop & Feder Prize Ceremony

  18. Takeaways Real time hierarchical heavy hitters • measurement in networking devices. • Provable accuracy guarantees. • Open source code: https://github.com/ranbenbasat/RHHH ACC Annual Workshop & Feder Prize Ceremony ow to detect the maximal-prefix networks?

  19. Limitations and current projects Support for weights Support for sliding windows – No convergence time! Allowing time-based queries – “ What are the HHH for Jan 20 th 2018, 4PM-5PM? ” ACC Annual Workshop & Feder Prize Ceremony

  20. Any Questions ACC Annual Workshop & Feder Prize Ceremony

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend