Compiling Packet Programs to Reconfigurable Switches
نویسندگان
چکیده
Programmable switching chips are becoming more commonplace, along with new packet processing languages to configure the forwarding behavior. Our paper explores the design of a compiler for such switching chips, in particular how to map logical lookup tables to physical tables, 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 production networks to two different programmable switch architectures: RMT and Intel’s FlexPipe. Greedy solutions can fail to fit and can require up to 38%more stages, 42% more cycles, or 45% more power for some benchmarks. 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%.
منابع مشابه
Compiling Logical Packet Programs to Reconfigurable Switches: Table Mapping as a First Step
Today’s fixed-function switch chips result in new features taking years to develop, and in routers being designed bottom-up. This is changing with the emergence of software designed networks (SDNs), new chips such as Intels FlexPipe that allow flexible packet processing, and higher level languages for expressing packet processing such as P4. However, this vision requires compilers that translat...
متن کاملScheduling and Reconfiguration of Interconnection Network Switches
Interconnection networks are important parts of modern computing systems, facilitating communication between a system’s components. Switches connecting various nodes of an interconnection network serve to move data in the network. The switch’s delay and throughput impact the overall performance of the network and thus the system. Scheduling efficient movement of data through a switch and config...
متن کاملPlanar Optical Space Switch Architectures
Optical space switches are important subsystems in optical crossconnects (OXCs) and reconfigurable optical add/drop multiplexers (R-OADMs), while also having applications in more long-term communications scenarios, such as optical packet switching. This chapter develops the theory of operation of planar optical space switches, and illustrates the interrelationship that exists between device cha...
متن کاملInstruction-Level Parallelism for Reconfigurable Computing
Reconngurable coprocessors can exploit large degrees of instruction-level parallelism (ILP). In compiling sequential code for re-conngurable coprocessors, we have found it convenient to borrow techniques previously developed for exploiting ILP for very long instruction word (VLIW) processors. With some minor adaptations, these techniques are a natural match for automatic compilation to a reconn...
متن کاملA Dynamically Adaptive Switching Fabric on a Multicontext Reconfigurable Device
A framework of dynamically adaptive hardware mechanism on multicontext reconfigurable devices is proposed, and as an example, an adaptive switching fabric is implemented on NEC’s novel reconfigurable device DRP(Dynamically Reconfigurable Processor). In this switch, contexts for the full crossbar and alternative hardware modules, which provide larger bandwidth but can treat only a limited patter...
متن کامل