Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3605731.3605747acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicppConference Proceedingsconference-collections
research-article

NFCache: Fine-grained and Flexible Offloading of Network Functions to Programmable Switches

Published: 07 September 2023 Publication History

Abstract

A Service Function Chain (SFC) consists of a sequence of Network Functions (NFs) in order, and plays an important role in network performance and security. In recent years, due to the low throughput and high latency of network functions in the context of Network Function Virtualization (NFV), some NF implementation solutions consider offloading network functions to programmable switches. However, existing offloading efforts either perform coarse-grained offloading or are not flexible enough to adapt to dynamic and unbalanced traffic. In this paper, we propose NFCache, which offloads network functions at the granularity of NF rules and implements a general network function module, allowing different stateful or stateless network functions to share switch resources. When the traffic changes, the control plane of NFCache can flexibly offload the required network function rules that can bring the most significant offloading gain. We also implement NFCache on a commodity programmable switch to evaluate its performance. Experimental results show that compared with the state-of-the-art solutions, NFCache increases the average throughput by 72% and decreases the packet latency by 52% under dynamic and unbalanced traffic.

References

[1]
Pat Bosshart, Dan Daly, Glen Gibb, Martin Izzard, Nick McKeown, Jennifer Rexford, Cole Schlesinger, Dan Talayco, Amin Vahdat, George Varghese, 2014. P4: Programming protocol-independent packet processors. ACM SIGCOMM Computer Communication Review 44, 3 (2014), 87–95.
[2]
Jiamin Cao, Ying Liu, Yu Zhou, Lin He, Chen Sun, Yangyang Wang, and Mingwei Xu. 2021. CoFilter: High-Performance Switch-Accelerated Stateful Packet Filter for Bare-Metal Servers. IEEE Transactions on Parallel and Distributed Systems 33, 9 (2021), 2249–2262.
[3]
Ruixin Chen. 2020. NFCache. https://github.com/crx892476808/NFCache/tree/C++-python Accessed April 3, 2023.
[4]
Xiang Chen, Qun Huang, Peiqiao Wang, Zili Meng, Hongyan Liu, Yuxin Chen, Dong Zhang, Haifeng Zhou, Boyang Zhou, and Chunming Wu. 2021. LightNF: Simplifying Network Function offloading in programmable networks. (2021), 1–10.
[5]
Xiang Chen, Hongyan Liu, Qun Huang, Peiqiao Wang, Dong Zhang, Haifeng Zhou, and Chunming Wu. 2020. Speed: Resource-efficient and high-performance deployment for data plane programs. In 2020 IEEE 28th International Conference on Network Protocols (ICNP). IEEE, 1–12.
[6]
Xiang Chen, Dong Zhang, Xiaojun Wang, Kai Zhu, and Haifeng Zhou. 2019. P4sc: Towards high-performance service function chain implementation on the p4-capable device. In 2019 IFIP/IEEE Symposium on Integrated Network and Service Management (IM). IEEE, 1–9.
[7]
Bo Han, Vijay Gopalakrishnan, Lusheng Ji, and Seungjoon Lee. 2015. Network function virtualization: Challenges and opportunities for innovations. IEEE communications magazine 53, 2 (2015), 90–97.
[8]
Xin Jin, Xiaozhou Li, Haoyu Zhang, Robert Soulé, Jeongkeun Lee, Nate Foster, Changhoon Kim, and Ion Stoica. 2017. Netcache: Balancing key-value stores with fast in-network caching. In Proceedings of the 26th Symposium on Operating Systems Principles. 121–136.
[9]
Srikanth Kandula, Sudipta Sengupta, Albert Greenberg, Parveen Patel, and Ronnie Chaiken. 2009. The nature of data center traffic: measurements & analysis. In Proceedings of the 9th ACM SIGCOMM conference on Internet measurement. 202–208.
[10]
Daehyeok Kim, Zaoxing Liu, Yibo Zhu, Changhoon Kim, Jeongkeun Lee, Vyas Sekar, and Srinivasan Seshan. 2020. TEA: Enabling state-intensive NFs on programmable switches. In Proceedings of the Annual conference of the ACM Special Interest Group on Data Communication on the applications, technologies, architectures, and protocols for computer communication SIGCOMM ’20. ACM, 90–106.
[11]
Guanyu Li, Menghao Zhang, Shicheng Wang, Chang Liu, Mingwei Xu, Ang Chen, Hongxin Hu, Guofei Gu, Qi Li, and Jianping Wu. 2021. Enabling performant, flexible and cost-efficient DDoS defense with programmable switches. IEEE/ACM Transactions on Networking 29, 4 (2021), 1509–1526.
[12]
Junte Ma, Sihao Xie, and Jin Zhao. 2020. P4SFC: Service function chain offloading with programmable switches. (2020), 1–6.
[13]
Silvano Martello and Paolo Toth. 1990. Knapsack problems: algorithms and computer implementations. John Wiley & Sons, Inc.
[14]
Rui Miao, Hongyi Zeng, Changhoon Kim, Jeongkeun Lee, and Minlan Yu. 2017. Silkroad: Making stateful layer-4 load balancing fast and cheap using switching asics. In Proceedings of the Conference of the ACM Special Interest Group on Data Communication. 15–28.
[15]
Paul Quinn, Uri Elzur, and Carlos Pignataro. 2018. Network service header (NSH). In RFC 8300. RFC Editor.
[16]
P Quinn and T Nadeau. 2015. RFC 7498: Problem Statement for Service Function Chaining.
[17]
Justine Sherry, Shaddi Hasan, Colin Scott, Arvind Krishnamurthy, Sylvia Ratnasamy, and Vyas Sekar. 2012. Making middleboxes someone else’s problem: Network processing as a cloud service. ACM SIGCOMM Computer Communication Review 42, 4 (2012), 13–24.
[18]
tooyum. 2020. openmesh bf32z2x. http://www.tooyum.com/products/OpenMesh_BF32Z2X.html Accessed April 3, 2023.
[19]
Dingming Wu, Ang Chen, TS Eugene Ng, Guohui Wang, and Haiyong Wang. 2019. Accelerated service chaining on a single switch ASIC. In Proceedings of the 18th ACM Workshop on Hot Topics in Networks. 141–149.
[20]
Kaicheng Yang, Yuanpeng Li, Zirui Liu, Tong Yang, Yu Zhou, Jintao He, Tong Zhao, Zhengyi Jia, Yongqiang Yang, 2021. SketchINT: Empowering INT with TowerSketch for per-flow per-switch measurement. In 2021 IEEE 29th International Conference on Network Protocols (ICNP). IEEE, 1–12.
[21]
Tong Yang, Jie Jiang, Peng Liu, Qun Huang, Junzhi Gong, Yang Zhou, Rui Miao, Xiaoming Li, and Steve Uhlig. 2018. Elastic sketch: Adaptive and fast network-wide measurements. In Proceedings of the 2018 Conference of the ACM Special Interest Group on Data Communication. 561–575.
[22]
Yinda Zhang, Zaoxing Liu, Ruixin Wang, Tong Yang, Jizhou Li, Ruijie Miao, Peng Liu, Ruwen Zhang, and Junchen Jiang. 2021. CocoSketch: High-performance sketch-based measurement over arbitrary partial key query. In Proceedings of the 2021 ACM SIGCOMM 2021 Conference. 207–222.
[23]
Yu Zhou, Jun Bi, Cheng Zhang, Mingwei Xu, and Jinaping Wu. 2020. Flexmesh: Flexibly chaining network functions on programmable data planes at runtime. In 2020 IFIP Networking Conference (Networking). IEEE, 73–81.

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
ICPP Workshops '23: Proceedings of the 52nd International Conference on Parallel Processing Workshops
August 2023
217 pages
ISBN:9798400708428
DOI:10.1145/3605731
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 07 September 2023

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Network Functions
  2. Programmable Data Plane
  3. Service Function Chains

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Conference

ICPP-W 2023

Acceptance Rates

Overall Acceptance Rate 91 of 313 submissions, 29%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 50
    Total Downloads
  • Downloads (Last 12 months)34
  • Downloads (Last 6 weeks)1
Reflects downloads up to 18 Nov 2024

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media