当前位置:网站首页>TimerTasks笔记
TimerTasks笔记
2022-06-23 17:37:00 【巴川笑笑生】
TimerTasks:迈向可编程数据平面的时间驱动执行
TimerTasks: Towards Time-driven Execution in Programmable Dataplanes
意义
当前可编程数据平面提供了基于匹配操作范例的事件驱动执行模型。根据匹配规范定义的数据包到达时触发动作。任何被编程的逻辑只在有包事件时执行,否则不会触发任何动作。
近年来,可编程数据平面被用于实现以前没有想到的高级应用程序,如网络内缓存、共识协议等。许多此类系统的实现需要在没有数据包到达的情况下采取行动。
数据平面中的时间驱动执行可以帮助协议和应用程序将新功能转移到数据平面。
挑战
主要的挑战是在现有的事件驱动硬件上实现时间驱动的执行。
方案
TimerTasks可以作为可编程交换机模型的新硬件扩展来实现。
我们的主要思想是拥有一个周期性事件框架,它使用周期性事件来协调时间驱动的执行。周期性事件是通过生成周期性数据包(称为数据平面刻度)来实现的。
周期性事件框架使用片上内存为所有TimerTask实例维护计时器。对于每个数据平面标记,计时器将被递减,对于过期的计时器,将执行相应的操作。
TimerTask是一个新的P4对象,它可以与P4程序的其余部分结合起来形成所需的逻辑。TimerTask编译器可以首先将TimerTasks添加到周期性事件框架中(在P4中实现),然后将框架与程序的其余部分合并。得到的P4程序可以提交给常规的P4编译器。
TimerTask提供了高级抽象和更丰富的语义避免使用手工制作的匹配动作表。
开放问题
当支持大量TimerTask实例时,这会增加额外的管道处理开销。如何支持大量TimerTask实例。
TimerTask编译器需要变得更复杂才能适当地组合多个TimerTask。
TimerTasks应该在硬件上得到本地支持。
总结
数据平面中的时间驱动执行如何帮助协议和应用程序将新功能转移到数据平面,提出了一个新的称为TimerTasks的抽象。它允许用扩展的P4语言语法来表达所需的时间驱动语义。并在现有的事件驱动硬件上实现了TimerTask原语,并通过三个新的应用程序展示了它的实用性。
边栏推荐
- 基于FPGA的电磁超声脉冲压缩检测系统 论文+源文件
- After the Computer College changed its examination, the College of Cyberspace Security also changed its examination! Nanjing University of technology computer postgraduate entrance examination
- 【剑指Offer】46. 把数字翻译成字符串
- Self training multi sequence learning with transformer for weakly supervised video animation
- STM32(九)------- CAN
- 【剑指Offer】45. 把数组排成最小的数
- [unity] instructions for beginners of textanimator plug-in
- 用软件可编程FPGA加速网络边缘的移动应用总结
- 微机原理第五章笔记整理
- [win10 vs2019 opencv4.6 configuration reference]
猜你喜欢

反直觉的三门问题,80%的人都会错?

Improving efficiency or increasing costs, how should developers understand pair programming?

What does the science and technology interactive sand table gain popularity by virtue of

用软件可编程FPGA加速网络边缘的移动应用总结
![[failure announcement] there is a problem with the redis that replaces memcached, causing the website to fail](/img/b5/447faaee6d5d2d88927e84e17403ed.png)
[failure announcement] there is a problem with the redis that replaces memcached, causing the website to fail

Redis cluster
![微信小程序报错[ app.json 文件内容错误] app.json: app.json 未找到](/img/ab/5c27e1bb80ad662d1a220d29c328e0.png)
微信小程序报错[ app.json 文件内容错误] app.json: app.json 未找到

计算机学院改考后,网络空间安全学院也改考了!南京理工大学计算机考研

Wiley-中国科学院文献情报中心开放科学联合研讨会第二讲:开放获取期刊选择及论文投稿...

yapi安装
随机推荐
知道创宇:内容向善,AI+人工赋能
uniapp项目中防止用户重复提交
Landing of global organizational structure control
可编程的,协议独立的软件交换机(论文阅读)
如何利用好每天的时间高效复习?
异步or线程池
【華中科技大學】考研初試複試資料分享
Paper reading (50):a novel matrix game with payoffs of maximal belt structure
Wiley- Open Science Joint Symposium of the documentation and information center of the Chinese Academy of Sciences, lecture 2: open access journal selection and paper submission
[websocket] knowledge points for developing online customer service system meaning of status code returned by websocket
Paper reading (49):big data security and privacy protection (Kopp)
Reading papers (51):integration of a holonic organizational control architecture and multiobjective
After the Computer College changed its examination, the College of Cyberspace Security also changed its examination! Nanjing University of technology computer postgraduate entrance examination
高级计网笔记(九)
微信小程序报错[ app.json 文件内容错误] app.json: app.json 未找到
为什么要创建公开的OKR?
CSDN salary increase secret script: Jenkins integrated allure test report complete tutorial
[unity] instructions for beginners of textanimator plug-in
Wechat applet reports an error [app.json file content error] app json: app. JSON not found
Video anomaly detection data set (shanghaitech)