2020 · 48 citations · 26 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureHardware-software Co-designInterprocess CommunicationKernel OffloadingAutomatic OffloadingCode OffloadingCompiler-assisted OffloadingConcurrent ComputationDomain-specific Language DesignDomain-specific Language EngineeringLatency MetricsLoad Balancer Design
Researchers have shown that offloading software middleboxes (e.g., NAT, firewall, load balancer) to programmable switches can yield orders-of-magnitude performance gains. However, it requires manually selecting the middle-box components to offload and rewriting the offloaded code in P4, a domain-specific language for programmable switches. We design and implement Gallium, a compiler that transforms an input software middlebox into two parts---a P4 program that runs on a programmable switch and an x86 non-offloaded program that runs on a regular middlebox server. Gallium ensures that (1) the combined effect of the P4 program and the non-offloaded program is functionally equivalent to the input middlebox program, (2) the P4 program respects the resource constraints in the programmable switch, and (3) the run-to-completion semantics are met under concurrent execution. Our evaluations show that Gallium saves 21-79% of processing cycles and reduces latency by about 31% across various software middleboxes.
26
Mark Weiser · IEEE Transactions on Software Engineering · 1984 · 3.2K citations
Pat Bosshart, Dan Daly, Glen Gibb et al. · ACM SIGCOMM Computer Communication Review · 2014 · 2.8K citations
Pat Bosshart, Glen Gibb, Hun-Seok Kim et al. · 2013 · 778 citations · Full text