Paper record
W1435603161Compiling packet programs to reconfigurable switches
Lavanya Jose, Lisa Yan, George Varghese, Nick McKeown
- Year
- 2015
- Venue
- Networked Systems Design and Implementation
- References
- 13
- Cited by
- 203
Details and counts from OpenAlex.
Abstract
Programmable switching chips are becoming more com-monplace, along with new packet processing languages to configure the forwarding behavior. Our paper explores the design of a compiler for such switching chips, in par-ticular how to map logical lookup tables to physical ta-bles, while meeting data and control dependencies in the program. We study the interplay between Integer Linear Programming (ILP) and greedy algorithms to generate solutions optimized for latency, pipeline occupancy, or power consumption. ILP is slower but more likely to fit hard cases; further, ILP can be used to suggest the best greedy approach. We compile benchmarks from real pro-duction networks to two different programmable switch architectures: RMT and Intel’s FlexPipe. Greedy solu-tions can fail to fit and can require up to 38 % more stages, 42 % more cycles, or 45 % more power for some bench-marks. Our analysis also identifies critical resources in chips. For a complicated use case, doubling the TCAM per stage reduces the minimum number of stages needed by 12.5%. 1