当前位置:网站首页>Timertasks notes
Timertasks notes
2022-06-23 19:08:00 【Bachuan Xiaoxiaosheng】
TimerTasks: Time driven execution towards programmable data plane
TimerTasks: Towards Time-driven Execution in Programmable Dataplanes
significance
The current programmable data plane provides an event driven execution model based on matching operation paradigm . The action is triggered when the data packet defined according to the matching specification arrives . Any programmed logic is executed only when there are package Events , Otherwise, no action will be triggered .
In recent years , Programmable data planes are used to implement high-level applications that were never thought of before , Such as network cache 、 Consensus agreement, etc . The implementation of many such systems requires action without the arrival of data packets .
Time driven execution in the data plane can help protocols and applications transfer new functions to the data plane .
Challenge
The main challenge is to implement time driven execution on existing event driven hardware .
programme
TimerTasks It can be implemented as a new hardware extension of the programmable switch model .
Our main idea is to have a framework of periodic events , It uses periodic events to coordinate time-driven execution . Periodic events are generated by generating periodic packets ( Called the data plane scale ) To achieve .
The periodic event framework uses on-chip memory for all TimerTask Instance maintenance timer . For each data plane marker , The timer will be decremented , For expired timers , The corresponding operation will be performed .
TimerTask It's a new one P4 object , It can work with P4 The rest of the program is combined to form the required logic .TimerTask The compiler can first TimerTasks Add to the recurring events framework ( stay P4 To realize ), Then merge the framework with the rest of the program . Got P4 The program can be submitted to regular P4 compiler .
TimerTask It provides high-level abstraction and richer semantics, avoiding the use of hand-made matching action tables .
Open questions
When supporting a large number of TimerTask When an instance , This adds additional pipeline processing overhead . How to support a large number of TimerTask example .
TimerTask The compiler needs to become more complex to properly combine multiple TimerTask.
TimerTasks Should be supported locally on hardware .
summary
How time driven execution in the data plane helps protocols and applications move new functionality to the data plane , A new method called TimerTasks The abstraction of . It allows the use of extended P4 Language grammar to express the required time driven semantics . It is implemented on the existing event driven hardware TimerTask The original language , And three new applications show its practicability .
边栏推荐
- 杰理之添加定时器中断【篇】
- (10) Binary tree
- Jerry's adding timer interrupt [chapter]
- [one by one series] identityserver4 (VIII) uses entityframework core to persist data
- 【云动向】华为云云商店品牌全新发布 4大亮点都在这儿
- Shunted Self-Attention | 源于 PvT又高于PvT,解决小目标问题的ViT方法
- Advanced network accounting notes (III)
- 吃顿饭的时间,学会simulink之BLDC基本原理
- Borui data attends Alibaba cloud observable technology summit, and digital experience management drives sustainable development
- 19 classic cases of generator functions
猜你喜欢

涂鸦智能通过聆讯:拟回归香港上市 腾讯是重要股东

STM32 (IX) -- can

How long do you need to prepare for the PMP Exam?

Heavyweight: the domestic ide was released, developed by Alibaba, and is completely open source! (high performance + high customization)

凸优化笔记
![Develop small programs and official account from zero [phase II]](/img/09/8be73fdadc7b1f0fa1ee4db8267094.jpg)
Develop small programs and official account from zero [phase II]

Task management of embedded development foundation (thread management)

Docker搭建redis集群

This year, Anhui master fund exploded

IDEA控制台显示中文乱码
随机推荐
【One by One系列】IdentityServer4(八)使用EntityFramework Core对数据进行持久化
亚香香料深交所上市:市值40亿 鼎龙博晖与涌耀投资是股东
从零开发小程序和公众号【第二期】
高级计网笔记(四)
杰理之串口设置好以后打印乱码,内部晶振没有校准【篇】
CV image classification
【NOI2014】15. Difficult to get up syndrome [binary]
[one by one series] identityserver4 (VIII) uses entityframework core to persist data
学习编程只需要这三条建议!
STM32 (IX) -- can
#20Set介绍与API
When Jerry's serial port is set up, it prints garbled code, and the internal crystal oscillator is not calibrated [chapter]
杰理之添加定时器中断【篇】
How to make a list sort according to the order of another list
吃顿饭的时间,学会simulink之BLDC基本原理
微机原理第六章笔记整理
【One by One系列】IdentityServer4(四)授权码流程
Shengke communication IPO meeting: annual revenue of 460million China Zhenhua and industry fund are shareholders
盘点四种WiFi加密标准:WEP、WPA、WPA2、WPA3
Jerry's broadcast MP3 prompt sound function [chapter]