Paper summary
Avoid repeating container packet-processing work
Remembering recent forwarding decisions can leave more CPU time for an IoT application.
Container networking repeatedly performs routing, header and filtering operations for packets from the same connection. SCON targets that work inside the Linux networking stack while keeping the existing application interface.
Reuse decisions along an express path
A regular path processes a new connection and records its decisions in a per-container table. An express path reuses those decisions for later packets, while retaining required per-packet checks. A flusher removes expired entries and refreshes state when TCP connections restart.
View full-size figureMeasure CPU use and TCP throughput
In Raspberry Pi 4 HTTP tests using Nginx and 64-byte files, SCON reduces average request-and-reply latency tenfold and SoftIRQ CPU cycles by 26% relative to an ordinary container. In single-core TCP microbenchmarks with 32-byte to 1-KB messages, SCON lowers SoftIRQ CPU use by 19% on average and increases throughput by 20% relative to the ordinary container.
| Metric | Average change |
|---|---|
| SoftIRQ CPU use | 19% lower |
| Throughput | 20% higher |
Cached connection state
The regular path handles the first packets of a connection. A per-container table records decisions used by the express path; the flusher expires records and handles TCP connection restarts.