# Relaxing state-access constraints in stateful programmable data planes

**Authors:** Carmelo Cascone, Roberto Bifulco, Salvatore Pontarelli, Antonio Capone

arXiv: 1703.05442 · 2019-01-29

## TL;DR

This paper proposes a flexible model for stateful data plane programming that allows longer execution times for functions without sacrificing line rate performance, by using memory locking to prevent hazards.

## Contribution

It introduces a novel approach to relax strict timing constraints in stateful programmable data planes, enabling more complex functions to run efficiently.

## Key findings

- Support for longer function execution times with minimal throughput impact
- Memory locking effectively prevents data hazards
- Simulation results validate the model's practicality

## Abstract

Supporting the programming of stateful packet forwarding functions in hardware has recently attracted the interest of the research community. When designing such switching chips, the challenge is to guarantee the ability to program functions that can read and modify data plane's state, while keeping line rate performance and state consistency. Current state-of-the-art designs are based on a very conservative all-or-nothing model: programmability is limited only to those functions that are guaranteed to sustain line rate, with any traffic workload. In effect, this limits the maximum time to execute state update operations. In this paper, we explore possible options to relax these constraints by using simulations on real traffic traces. We then propose a model in which functions can be executed in a larger but bounded time, while preventing data hazards with memory locking. We present results showing that such flexibility can be supported with little or no throughput degradation.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1703.05442/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/1703.05442/full.md

## References

21 references — full list in the complete paper: https://tomesphere.com/paper/1703.05442/full.md

---
Source: https://tomesphere.com/paper/1703.05442