Resolving the Loop in High-Level SDN Program for Multi-table Pipeline Compilation
Software-Defined Networking (SDN) is one of the key technologies to support smart computing and communication in the network domain. Though recent developments in high-level SDN programming have improved programming flexibility, loops (e.g., while) in an SDN program cannot yet be deployed in a datapath due to existing hardware constraints. In this paper, we conduct a novel study of loops in SDN programs for pipeline design, and propose the repeated software pipeline (RSP) transformation as a solution to compiling loops in a program. The proposed approach supports dynamic loop conditions and proves efficient at scale, even when the number of loops is very large. Evaluations found that the efficiency of RSP is 10x faster than the unrolling approach in some cases.
KeywordsSDN High-level programming Loop
The authors would like to thank the anonymous reviewers for their insightful comments. This work is partly supported by National Key R&D Project 2018YFB2100800; NSFC 61972253, 61672349.
- 1.Broadcom: of-dpa. https://docs.broadcom.com/docs/12378911/
- 2.Floodlight openflow controller. http://floodlight.openflowhub.org/
- 3.The opendaylight project. https://www.opendaylight.org
- 4.Arashloo, M.T., Koral, Y., Greenberg, M., Rexford, J., Walker, D.: SNAP: stateful network-wide abstractions for packet processing. In: Proceedings of the 2016 Conference on ACM SIGCOMM 2016 Conference, pp. 29–43. ACM (2016)Google Scholar
- 7.Erickson, D.: The beacon openflow controller. In: Proceedings of the Second ACM SIGCOMM Workshop on Hot Topics in Software Defined Networking, pp. 13–18. ACM (2013)Google Scholar
- 14.Monsanto, C., Reich, J., Foster, N., Rexford, J., Walker, D.: Composing software defined networks. In: 10th USENIX Symposium on Networked Systems Design and Implementation (NSDI 2013), pp. 1–13 (2013)Google Scholar
- 15.Sivaraman, A., et al.: Packet transactions: high-level programming for line-rate switches. In: Proceedings of the 2016 ACM SIGCOMM Conference, pp. 15–28. ACM (2016)Google Scholar
- 16.Voellmy, A., Wang, J., Yang, Y.R., Ford, B., Hudak, P.: Maple: simplifying SDN programming using algorithmic policies. In: ACM SIGCOMM Computer Communication Review, vol. 43, pp. 87–98. ACM (2013)Google Scholar