{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T04:10:36Z","timestamp":1750219836333,"version":"3.41.0"},"reference-count":32,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2023,2,27]],"date-time":"2023-02-27T00:00:00Z","timestamp":1677456000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"Israeli Innovation Authority","award":["NetAction"],"award-info":[{"award-number":["NetAction"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Meas. Anal. Comput. Syst."],"published-print":{"date-parts":[[2023,2,27]]},"abstract":"<jats:p>Modern data center networks are required to support huge and complex forwarding policies as they handle the traffic of the various tenants. However, these policies cannot be stored in their entirety within the limited memory available at commodity switches. The common approach in such scenarios is to have SDN controllers manage the memory available at the switch as a fast cache, updating and changing the forwarding rules in the cache according to the workloads dynamics and the global policy at hand. Many such policies, such as Longest-prefix-match (LPM) policies, introduce dependencies between the forwarding rules. Ensuring that the cache content is always consistent with the global policy often requires the switch to store (potentially many) superfluous rules, which may lead to suboptimal performance in terms of delay and throughput.<\/jats:p><jats:p>To overcome these deficiencies, previous work suggested the concept of splicing, where modified Go-to-Controller rules can be inserted into the cache to improve performance while maintaining consistency. These works focused mostly on heuristics, and it was conjectured that the problem is computationally intractable. As our main result, we show that the problem of determining the optimal set of rules, with splicing, can actually be solved efficiently by presenting a polynomial-time algorithm that produces an optimal solution, i.e., for a given cache size we find an optimal set of rules, some of which are go-to-controller, which maximize the total weight of the cache while maintaining consistency. However, such optimality comes at a cost, encompassed by the fact that our algorithm has a significantly larger running time than SoTA solutions which do not employ splicing. Therefore, we further present a heuristic exhibiting close-to-optimal performance, with significantly improved running time, matching that of the best algorithm, which does not employ splicing. In addition, we present the results of an evaluation study that compares the performance of our solutions with that of SoTA approaches, showing that splicing can reduce the cache miss ratio by as much as 30%, without increasing the cache size. Lastly, we propose a simple and fast-to-compute metric (that is consistency-oblivious) in order to evaluate the potential benefits of splicing compared to classical LPM-caching, for a given policy and traffic distribution. We show that our metric is highly correlated with such benefits, thus serving as an indication of whether splicing should be incorporated within the system architecture.<\/jats:p>","DOI":"10.1145\/3579441","type":"journal-article","created":{"date-parts":[[2023,3,2]],"date-time":"2023-03-02T23:50:57Z","timestamp":1677801057000},"page":"1-33","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Go-to-Controller is Better: Efficient and Optimal LPM Caching with Splicing"],"prefix":"10.1145","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-1738-8377","authenticated-orcid":false,"given":"Itamar","family":"Gozlan","sequence":"first","affiliation":[{"name":"Ben-Gurion University of the Negev, Beer Sheva, Israel"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6647-8002","authenticated-orcid":false,"given":"Chen","family":"Avin","sequence":"additional","affiliation":[{"name":"Ben-Gurion University of the Negev, Beer Sheva, Israel"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6051-608X","authenticated-orcid":false,"given":"Gil","family":"Einziger","sequence":"additional","affiliation":[{"name":"Ben-Gurion University of the Negev, Beer Sheva, Israel"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4142-0549","authenticated-orcid":false,"given":"Gabriel","family":"Scalosub","sequence":"additional","affiliation":[{"name":"Ben-Gurion University of the Negev, Beer Sheva, Israel"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2023,3,2]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01585993"},{"volume-title":"Efficient prefix cache for network processors","author":"Akhbarizadeh Mohammad J","key":"e_1_2_1_2_1","unstructured":"Mohammad J Akhbarizadeh and Mehrdad Nourani. 2004. Efficient prefix cache for network processors. In IEEE HOTI. 41--46."},{"key":"e_1_2_1_3_1","doi-asserted-by":"crossref","unstructured":"Mohammad Alizadeh Albert Greenberg David A Maltz Jitendra Padhye Parveen Patel Balaji Prabhakar Sudipta Sengupta and Murari Sridharan. 2010. Data center tcp (dctcp). In SIGCOMM. 63--74.","DOI":"10.1145\/1851275.1851192"},{"key":"e_1_2_1_4_1","doi-asserted-by":"crossref","unstructured":"Arturs Backurs Piotr Indyk and Ludwig Schmidt. 2017. Better approximations for tree sparsity in nearly-linear time. In ACM-SIAM SODA. 2215--2229.","DOI":"10.1137\/1.9781611974782.145"},{"key":"e_1_2_1_5_1","doi-asserted-by":"crossref","unstructured":"Marcin Bienkowski Jan Marcinkowski Maciej Pacut Stefan Schmid and Aleksandra Spyra. 2017. Online tree caching. In SPAA. 329--338.","DOI":"10.1145\/3087556.3087558"},{"key":"e_1_2_1_6_1","volume-title":"The CAIDA UCSD Anonymized Internet Traces --","author":"CAIDA.","year":"2019","unstructured":"CAIDA. 2019. The CAIDA UCSD Anonymized Internet Traces -- 2019. https:\/\/catalog.caida.org\/details\/dataset\/passive_2019_pcap."},{"key":"e_1_2_1_7_1","doi-asserted-by":"crossref","unstructured":"R.P. Draves C. King S. Venkatachary and B.D. Zill. 1999. Constructing optimal IP routing tables. In INFOCOM. 88--97.","DOI":"10.1109\/INFCOM.1999.749256"},{"key":"e_1_2_1_8_1","doi-asserted-by":"crossref","unstructured":"Albert Greenberg James R Hamilton Navendu Jain Srikanth Kandula Changhoon Kim Parantap Lahiri David A Maltz Parveen Patel and Sudipta Sengupta. 2009. VL2: A scalable and flexible data center network. In SIGCOMM. 51--62.","DOI":"10.1145\/1594977.1592576"},{"key":"e_1_2_1_9_1","doi-asserted-by":"crossref","unstructured":"Garegin Grigoryan Yaoqing Liu and Minseok Kwon. 2020a. Boosting FIB Caching Performance with Aggregation. In ACM HPDC. 221--232.","DOI":"10.1145\/3369583.3392682"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNET.2020.3001904"},{"key":"e_1_2_1_11_1","doi-asserted-by":"crossref","unstructured":"Zhuo Huang Gang Liu and Jih-Kwon Peir. 2009. Greedy Prefix Cache for IP Routing Lookups. In I-SPAN. 92--97.","DOI":"10.1109\/I-SPAN.2009.139"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1287\/moor.8.1.1"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.comnet.2007.08.010"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/2890955.2890969"},{"key":"e_1_2_1_15_1","volume-title":"USENIX NSDI","author":"Kazemian Peyman","year":"2012","unstructured":"Peyman Kazemian, George Varghese, and Nick McKeown. 2012. Stanford backbone router forwarding configuration. Used in \u201dHeader Space Analysis: Static Checking for Networks\u201c, USENIX NSDI 2012. https:\/\/tinyurl.com\/yc2sezcv."},{"key":"e_1_2_1_16_1","doi-asserted-by":"crossref","unstructured":"Changhoon Kim Matthew Caesar Alexandre Gerber and Jennifer Rexford. 2009. Revisiting route caching: The world should be flat. In PAM. 3--12.","DOI":"10.1007\/978-3-642-00975-4_1"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.24846\/v27i2y201805"},{"key":"e_1_2_1_18_1","volume-title":"CRAFT: A cache reduction architecture for flow tables in software-defined networks","author":"Li Xianfeng","year":"2017","unstructured":"Xianfeng Li and Wencong Xie. 2017. CRAFT: A cache reduction architecture for flow tables in software-defined networks. In IEEE ISCC. 967--972."},{"key":"e_1_2_1_19_1","doi-asserted-by":"crossref","unstructured":"Huan Liu. 2001. Routing prefix caching in network processor design. In ICCCN. 18--23.","DOI":"10.1109\/ICCCN.2001.956214"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.comnet.2015.03.003"},{"volume-title":"Minimizing rulesets for TCAM implementation","author":"McGeer Rick","key":"e_1_2_1_21_1","unstructured":"Rick McGeer and Praveen Yalagandula. 2009. Minimizing rulesets for TCAM implementation. In IEEE INFOCOM. 1314--1322."},{"key":"e_1_2_1_22_1","unstructured":"Christopher Monsanto Joshua Reich Nate Foster Jennifer Rexford and David Walker. 2013. Composing software defined networks. In USENIX NSDI. 1--13."},{"volume-title":"Cooperative rule caching for SDN switches","author":"Rottenstreich Ori","key":"e_1_2_1_23_1","unstructured":"Ori Rottenstreich, Ariel Kulik, Ananya Joshi, Jennifer Rexford, G\u00e1bor R\u00e9tv\u00e1ri, and Daniel S Menasch\u00e9. 2020. Cooperative rule caching for SDN switches. In IEEE CloudNet. 1--7."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNET.2016.2611482"},{"key":"e_1_2_1_25_1","doi-asserted-by":"crossref","unstructured":"Arjun Roy Hongyi Zeng Jasmeet Bagga George Porter and Alex C Snoeren. 2015. Inside the social network's (datacenter) network. In SIGCOMM. 123--137.","DOI":"10.1145\/2829988.2787472"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/2096149.2096152"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1109\/TNSM.2016.2530687"},{"key":"e_1_2_1_28_1","doi-asserted-by":"crossref","unstructured":"E. Spitznagel D. Taylor and J. Turner. 2003. Packet classification using extended TCAMs. In ICNP. 120--131.","DOI":"10.1109\/ICNP.2003.1249762"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/296502.296503"},{"key":"e_1_2_1_30_1","volume-title":"T-cache: Dependency-free ternary rule cache for policy-based forwarding","author":"Wan Ying","year":"2020","unstructured":"Ying Wan, Haoyu Song, Yang Xu, Yilun Wang, Tian Pan, Chuwen Zhang, and Bin Liu. 2020. T-cache: Dependency-free ternary rule cache for policy-based forwarding. In IEEE INFOCOM. 536--545."},{"volume-title":"Approximation algorithms for dependency-aware rule-caching in software-defined networks","author":"Wu Jie","key":"e_1_2_1_31_1","unstructured":"Jie Wu, Yang Chen, and Huanyang Zheng. 2018. Approximation algorithms for dependency-aware rule-caching in software-defined networks. In IEEE GLOBECOM. 1--6."},{"key":"e_1_2_1_32_1","volume-title":"PBC: Effective Prefix Caching for Fast Name Lookups. In IFIP Networking. 1--9.","author":"Zhang Chuwen","year":"2020","unstructured":"Chuwen Zhang, Yong Feng, Haoyu Song, Beichuan Zhang, Yi Wang, Ying Wan, Wenquan Xu, and Bin Liu. 2020. PBC: Effective Prefix Caching for Fast Name Lookups. In IFIP Networking. 1--9."}],"container-title":["Proceedings of the ACM on Measurement and Analysis of Computing Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3579441","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3579441","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T16:46:41Z","timestamp":1750178801000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3579441"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,2,27]]},"references-count":32,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2023,2,27]]}},"alternative-id":["10.1145\/3579441"],"URL":"https:\/\/doi.org\/10.1145\/3579441","relation":{},"ISSN":["2476-1249"],"issn-type":[{"type":"electronic","value":"2476-1249"}],"subject":[],"published":{"date-parts":[[2023,2,27]]},"assertion":[{"value":"2023-03-02","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}