P4DB: On-the-fly debugging of the programmable data plane

Cheng Zhang, J. Bi, Yu Zhou, Jianping Wu, Bingyang Liu, Zhaogeng Li, A. B. Dogar, Yangyang Wang
{"title":"P4DB: On-the-fly debugging of the programmable data plane","authors":"Cheng Zhang, J. Bi, Yu Zhou, Jianping Wu, Bingyang Liu, Zhaogeng Li, A. B. Dogar, Yangyang Wang","doi":"10.1109/ICNP.2017.8117548","DOIUrl":null,"url":null,"abstract":"While extending network programmability to a larger degree, P4 also raises the risks of incurring runtime bugs after the deployment of P4 programs. These runtime bugs, if not handled promptly and properly, can ruin the functionality and performance of networks. Unfortunately, the absence of runtime debuggers makes troubleshooting of P4 program bugs challenging and intricate for operators. This paper is devoted to the on-the-fly debugging of runtime bugs in P4-enabled networks. We propose P4DB, a general debugging platform that empowers operators to debug P4 programs in three levels of visibility by provisioning operator-friendly primitives. By P4DB, operators can use the watch primitive to quickly narrow the debugging scope from network level or device level to table level, then use the break and next primitives to decompose the match-action table into three steps and troubleshoot the runtime bugs step by step. We implemented a prototype of P4DB and evaluated the performance in terms of the data plane, control plane and control channel. On P4-specific programmable data plane, P4DB merely introduces a small throughput penalty (1.3%∼13.8%) and imposes a little-increased delay (0.6%∼11.9%).","PeriodicalId":6462,"journal":{"name":"2017 IEEE 25th International Conference on Network Protocols (ICNP)","volume":"34 1","pages":"1-10"},"PeriodicalIF":0.0000,"publicationDate":"2017-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE 25th International Conference on Network Protocols (ICNP)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICNP.2017.8117548","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 11

Abstract

While extending network programmability to a larger degree, P4 also raises the risks of incurring runtime bugs after the deployment of P4 programs. These runtime bugs, if not handled promptly and properly, can ruin the functionality and performance of networks. Unfortunately, the absence of runtime debuggers makes troubleshooting of P4 program bugs challenging and intricate for operators. This paper is devoted to the on-the-fly debugging of runtime bugs in P4-enabled networks. We propose P4DB, a general debugging platform that empowers operators to debug P4 programs in three levels of visibility by provisioning operator-friendly primitives. By P4DB, operators can use the watch primitive to quickly narrow the debugging scope from network level or device level to table level, then use the break and next primitives to decompose the match-action table into three steps and troubleshoot the runtime bugs step by step. We implemented a prototype of P4DB and evaluated the performance in terms of the data plane, control plane and control channel. On P4-specific programmable data plane, P4DB merely introduces a small throughput penalty (1.3%∼13.8%) and imposes a little-increased delay (0.6%∼11.9%).
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
P4DB:可编程数据平面的动态调试
在将网络可编程性扩展到更大程度的同时,P4也增加了在部署P4程序后产生运行时错误的风险。这些运行时错误,如果不及时和适当地处理,可能会破坏网络的功能和性能。不幸的是,运行时调试器的缺失使得P4程序错误的故障排除对操作人员来说具有挑战性和复杂性。本文致力于在支持p4的网络中实时调试运行时错误。我们提出了P4DB,这是一个通用的调试平台,通过提供对操作人员友好的原语,使操作人员能够在三个可见性级别上调试P4程序。通过P4DB,操作员可以使用watch原语将调试范围从网络级或设备级快速缩小到表级,然后使用break和next原语将匹配-动作表分解为三个步骤,并逐步排除运行时错误。我们实现了P4DB的原型,并从数据平面、控制平面和控制通道三个方面对其性能进行了评估。在特定于p4的可编程数据平面上,P4DB仅带来了很小的吞吐量损失(1.3% ~ 13.8%),并施加了少量增加的延迟(0.6% ~ 11.9%)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Multi-tier Collaborative Deep Reinforcement Learning for Non-terrestrial Network Empowered Vehicular Connections Message from the General Co-Chairs Algorithm-data driven optimization of adaptive communication networks Planning in compute-aggregate problems as optimization problems on graphs General ternary bit strings on commodity longest-prefix-match infrastructures
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1