Reducing Flow Table Update Costs in Software-Defined Networking
Author:
Wang Wen1ORCID, Yang Lin1, Yang Xiongjun1, Wang Jingchao1
Affiliation:
1. Academy of Military Sciences, Beijing 100141, China
Abstract
In software-defined networking (SDN), the traffic forwarding delay highly depends on the latency associated with updating the forwarding rules in flow tables. With the increase in fine-grained flow control requirements, due to the flexible control capabilities of SDN, more rules are being inserted and removed from flow tables. Moreover, the matching fields of these rules might overlap since multiple control domains might generate different rules for similar flows. This overlap implies dependency relationships among the rules, imposing various restrictions on forwarding entries during updates, e.g., by following update orders or storing entries at specified locations, especially in flow tables implemented using ternary content addressable memory (TCAM); otherwise, mismatching or packet dropping will occur. It usually takes a while to resolve and maintain dependencies during updates, which hinders high forwarding efficiency. To reduce the delay associated with updating dependent rules, in this paper, we propose an updating algorithm for TCAM-based flow tables. We formulate the TCAM maintenance process as an NP-hard problem and analyze the inefficiency of existing moving approaches. To solve the problem, we propose an optimal moving chain for single rule updates and provide theoretical proof for its minimum moving steps. For multiple rules arriving at a switch simultaneously, we designed a dynamic approach to update concurrent entries; it is able to update multiple rules heuristically within a restricted TCAM region. As the update efficiency concerns dependencies among rules, we evaluate our flow table by updating algorithms with different dependency complexities. The results show that our approach achieves about 6% fewer moving steps than existing approaches. The advantage is more pronounced when the flow table is heavily utilized and rules have longer dependency chains.
Subject
Electrical and Electronic Engineering,Biochemistry,Instrumentation,Atomic and Molecular Physics, and Optics,Analytical Chemistry
Reference31 articles.
1. TCAM-efficient flow table mapping scheme for OpenFlow multiple-table pipelines;Liu;J. Tsinghua Univ. Technol.,2014 2. Curtis, A.R., Mogul, J.C., Tourrilhes, J., Yalagandula, P., Sharma, P., and Banerjee, S. (2011, January 15–19). DevoFlow: Scaling Flow Management for High-Performance Networks. Proceedings of the ACM SIGCOMM 2011 Conference, Toronto, ON, Canada. 3. Mahajan, R., Ming, Z., Kandula, S., Liu, H., and Xin, J. (2014, January 17–22). Dynamic scheduling of network updates. Proceedings of the 2014 ACM SIGCOMM Workshop on Capacity Sharing Workshop, Chicago, IL, USA. 4. Content-Addressable Memory (CAM) Circuits and Architectures: A Tutorial and Survey;Pagiamtzis;IEEE J. Solid-State Circuits,2006 5. FastRule: Efficient Flow Entry Updates for TCAM-Based OpenFlow Switches;Qiu;IEEE J. Sel. Areas Commun.,2019
|
|