ACM: Accuracy-Aware Collaborative Monitoring for Software-Defined Network-Wide Measurement
Abstract
:1. Introduction
- We propose a mechanism of Accuracy-aware Collaborative Monitoring (ACM) for software-defined network-wide measurements to make full use of monitor resources, and improve the estimation accuracy for large flows.
- We translate the problem of network-wide measurements into a two-stage load-balance problem. We propose an approximation algorithm named improved longest processing time algorithm (iLPTA), and prove that its approximation ratio is .
- We provide a two-stage online distribution algorithm (TODA) to adapt the actual network environment. Then we prove that its approximation ratio is .
2. Related Work
3. Problem of Network-Wide Measurement
3.1. System Overview
3.2. Accuracy-Aware Network-Wide Measurement
4. Collaborative Monitoring
4.1. Merging Sketches
- The probability of multiple Count–Min sketches through merging decreases exponentially, from original to , where p is the number of Count–Min sketches involved in measuring .
- The error range of multiple Count–Min sketches increases, from to . represents the max total traffic of monitors that is assigned to.
4.2. Collaborative Monitoring
5. Algorithms of Accuracy-Aware Collaborative Monitoring
5.1. Problem of Accuracy-Aware Network-Wide Measurements
5.2. Approximation Algorithm
Algorithm 1: Improved longest processing time algorithm (iLPTA). |
5.3. Two-Stage Online Distribution Algorithm (TODA)
Algorithm 2: Two-stage online distribution algorithm (TODA). |
5.4. Discussion
6. Experiments
6.1. Performance Metrics and Benchmarks
6.2. Experiment Settings
6.3. Impact of Sketch Size
6.4. Impact of Fraction of Large Flows
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Yu, M.; Jose, L.; Miao, R. Software defined traffic measurement with OpenSketch. In Proceedings of the 10th USENIX Symposium on Networked Systems Design and Implementation (NSDI’13), Lombard, IL, USA, 2–5 April 2013. [Google Scholar]
- Moshref, M.; Yu, M.; Govindan, R.; Vahdat, A. DREAM: Dynamic resource allocation for software-defined measurement. In Proceedings of the ACM SIGCOMM Computer Communication Review, Berkeley, CA, USA, 17–22 August 2014. [Google Scholar]
- Moshref, M.; Yu, M.; Govindan, R.; Vahdat, A. SCREAM: Sketch resource allocation for software-defined measurement. In Proceedings of the Conference on emerging Networking Experiments and Technologies (ACM CoNEXT), Heidelberg, Germany, 1–4 December 2015. [Google Scholar]
- Sekar, V.; Reiter, M.K.; Willinger, W.; Zhang, H.; Kompella, R.R.; Andersen, D.G. CSAMP: A system for network-wide flow monitoring. In Proceedings of the 5th USENIX Symposium on Networked Systems Design & Implementation, NSDI 2008, San Francisco, CA, USA, 16–18 April 2008. [Google Scholar]
- Feldmann, A.; Greenberg, A.; Lund, C.; Reingold, N.; Rexford, J.; True, F. Deriving traffic demands for operational IP networks: Methodology and experience. IEEE/ACM Trans. Netw. 2001, 9, 265–279. [Google Scholar] [CrossRef] [Green Version]
- Yang, K.; Li, Y.; Liu, Z.; Yang, T.; Zhou, Y.; He, J.; Xue, J.; Zhao, T.; Jia, Z.; Yang, Y.; et al. SketchINT: Empowering INT with TowerSketch for Per-flow Per-switch Measurement. In Proceedings of the IEEE 29th International Conference on Network Protocols (ICNP), Dallas, TX, USA, 1–5 November 2021. [Google Scholar]
- Xu, H.; Chen, S.; Ma, Q.; Huang, L. Lightweight flow distribution for collaborative traffic measurement in software defined networks. In Proceedings of the IEEE INFOCOM 2019—IEEE Conference on Computer Communications, Paris, France, 29 April–2 May 2019. [Google Scholar]
- Zhou, Y.; Yang, T.; Jiang, J.; Cui, B.; Yu, M.; Li, X.; Uhlig, S. Cold filter: A meta-framework for faster and more accurate stream processing. In Proceedings of the 2018 International Conference on Management of Data (SIGMOD), Houston, TX, USA, 10–15 June 2018. [Google Scholar]
- Roy, P.; Khan, A.; Alonso, G. Augmented Sketch: Faster and more accurate stream processing. In Proceedings of the ACM SIGMOD International Conference on Management of Data, San Francisco, CA, USA, 26 June–1 July 2016. [Google Scholar]
- Yang, T.; Zhang, H.; Li, J.; Gong, J.; Uhlig, S.; Chen, S.; Li, X. HeavyKeeper: An accurate algorithm for finding top-k elephant flows. IEEE/ACM Trans. Netw. 2019, 27, 1845–1858. [Google Scholar] [CrossRef]
- Yang, T.; Jiang, J.; Liu, P.; Huang, Q.; Gong, J.; Zhou, Y.; Miao, R.; Li, X.; Uhlig, S. Elastic sketch: Adaptive and fast network-wide measurements. In Proceedings of the 2018 Conference of the ACM Special Interest Group on Data Communication, Budapest, Hungary, 20–25 August 2018. [Google Scholar]
- Huang, Q.; Xin, J.; Lee, P.P.C.; Li, R.; Gong, Z. SketchVisor: Robust network measurement for software packet processing. In Proceedings of the Conference of the ACM Special Interest Group on Data Communication, Los Angeles, CA, USA, 21–25 August 2017. [Google Scholar]
- Yu, Y.; Qian, C.; Li, X. Distributed and collaborative traffic monitoring in software defined networks. In Proceedings of the Third Workshop on Hot Topics in Software Defined Networking (ACM HotSDN), Chicago, IL, USA, 22 August 2014. [Google Scholar]
- Chang, C.W.; Huang, G.; Lin, B.; Chuah, C.N. LEISURE: Load-balanced network-wide traffic measurement and monitor placement. IEEE Trans. Parallel Distrib. Syst. 2013, 26, 1059–1070. [Google Scholar] [CrossRef] [Green Version]
- Sivaraman, A.; Subramanian, S.; Alizadeh, M.; Chole, S.; Chuang, S.T.; Agrawal, A.; Balakrishnan, H.; Edsall, T.; Katti, S.; McKeown, N. Programmable packet scheduling at line rate. In Proceedings of the ACM SIGCOMM Conference, Florianopolis, Brazil, 22–26 August 2016. [Google Scholar]
- Lakhina, A.; Crovella, M.; Diot, C. Characterization of network-wide anomalies in traffic flows. In Proceedings of the 2004 Conference on Applications, Technologies, Architectures, and Protocols for Computer Communications (ACM SIGCOMM), Portland, OR, USA, 30 August–3 September 2004. [Google Scholar]
- Rottenstreich, O.; Tapolcai, J. Optimal rule caching and lossy compression for longest prefix matching. IEEE/ACM Trans. Netw. 2016, 25, 864–878. [Google Scholar] [CrossRef]
- Zhao, B.; Li, X.; Tian, B.; Mei, Z.; Wu, W. DHS: Adaptive Memory Layout Organization of Sketch Slots for Fast and Accurate Data Stream Processing. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, Singapore, 14–18 August 2021. [Google Scholar]
- Cormode, G.; Muthukrishnan, S. An improved data stream summary: The count-min sketch and its applications. J. Algorithms 2005, 55, 58–75. [Google Scholar] [CrossRef] [Green Version]
- Li, Y.; Miao, R.; Kim, C.; Yu, M. FlowRadar: A better NetFlow for data centers. In Proceedings of the 13th USENIX Symposium on Networked Systems Design and Implementation (NSDI ’16), Santa Clara, CA, USA, 16–18 March 2016. [Google Scholar]
- Liu, Z.; Manousis, A.; Vorsanger, G.; Sekar, V.; Braverman, V. One sketch to rule them all: Rethinking network flow monitoring with univmon. In Proceedings of the ACM SIGCOMM Conference, Florianopolis, Brazil, 22–26 August 2016. [Google Scholar]
- Schweller, R.; Li, Z.; Chen, Y.; Gao, Y.; Gupta, A.; Zhang, Y.; Dinda, P.A.; Kao, M.Y.; Memik, G. Reversible sketches: Enabling monitoring and analysis over high-speed data streams. IEEE/ACM Trans. Netw. 2007, 15, 1059–1072. [Google Scholar] [CrossRef] [Green Version]
- Liu, X.; Shirazipour, M.; Yu, M.; Zhang, Y. MOZART: Temporal Coordination of Measurement. In Proceedings of the Symposium on SDN Research, Santa Clara, CA, USA, 14–15 March 2016. [Google Scholar]
- Qian, Y.; Liu, Y.; Kong, L.; Wu, M.; Mumtaz, S. ReFeR: Resource Critical Flow Monitoring in Software-Defined Networks. In Proceedings of the 2018 IEEE Global Communications Conference (GLOBECOM), Abu Dhabi, United Arab Emirates, 9–13 December 2018; pp. 1–7. [Google Scholar]
- Yang, G.; Yoo, Y.; Kang, M.; Jin, H.; Yoo, C. Accurate and Efficient Monitoring for Virtualized SDN in Clouds. IEEE Trans. Cloud Comput. 2021. [Google Scholar] [CrossRef]
- Shih, W. A branch and bound method for the multiconstraint zero-one knapsack problem. J. Oper. Res. Soc. 1979, 30, 369–378. [Google Scholar] [CrossRef]
- CPLEX. 2022. Available online: https://www.ibm.com/analytics/cplex-optimizer (accessed on 1 January 2021).
- Gurobi. 2022. Available online: https://www.gurobi.com/ (accessed on 1 January 2021).
- Graham, R.L.; Lawler, E.L.; Lenstra, J.K.; Kan, A.R. Optimization and approximation in deterministic sequencing and scheduling: A survey. In Annals of Discrete Mathematics; Elsevier: Amsterdam, The Netherlands, 1979; Volume 5, pp. 287–326. [Google Scholar]
- Graham, R.L. Bounds on multiprocessing timing anomalies. Siam J. Appl. Math. 1969, 17, 416–429. [Google Scholar] [CrossRef]
- CAIDA Trace. 2022. Available online: http://www.caida.org/data/monitors/passive-equinix-chicago.xml (accessed on 2 March 2021).
Notation | Description |
---|---|
ith data flow | |
ith monitor | |
Threshold to distinguish large flow and small flow | |
Small flow set/Large flow set | |
Number of monitors / Number of flows | |
, | Actual and estimated flow size |
D | Flow-monitor mapping matrix |
Whether flow is measured on | |
Total measured flow size on monitor | |
Upper bound of the number of measured flows at monitor | |
Lower bound of the number of monitors | |
Routing path of | |
l | Minimum number of monitors all flows pass through |
Width and height of Count–Min sketch |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gu, J.; Song, C.; Dai, H.; Shi, L.; Wu, J.; Lu, L. ACM: Accuracy-Aware Collaborative Monitoring for Software-Defined Network-Wide Measurement. Sensors 2022, 22, 7932. https://doi.org/10.3390/s22207932
Gu J, Song C, Dai H, Shi L, Wu J, Lu L. ACM: Accuracy-Aware Collaborative Monitoring for Software-Defined Network-Wide Measurement. Sensors. 2022; 22(20):7932. https://doi.org/10.3390/s22207932
Chicago/Turabian StyleGu, Jiqing, Chao Song, Haipeng Dai, Lei Shi, Jinqiu Wu, and Li Lu. 2022. "ACM: Accuracy-Aware Collaborative Monitoring for Software-Defined Network-Wide Measurement" Sensors 22, no. 20: 7932. https://doi.org/10.3390/s22207932
APA StyleGu, J., Song, C., Dai, H., Shi, L., Wu, J., & Lu, L. (2022). ACM: Accuracy-Aware Collaborative Monitoring for Software-Defined Network-Wide Measurement. Sensors, 22(20), 7932. https://doi.org/10.3390/s22207932