The 30-second version
- Presto runs memcached and nginx as untouched binaries through a POSIX interposition shim, and its prototype swaps TCP with Linux and TAS endpoints. That part is real, and it is the interesting part.
- The same repository tells ConnectX operators to switch off RDMA iCRC validation and tells every peer on the wire to pad its Ethernet frames. The application did not change. Everything around it did.
Presto, the match-action TCP stack built by the TCP Acceleration Service project, pulls off something genuinely rare: it lifts TCP processing out of the host kernel and into a programmable switch pipeline, and lets memcached and nginx keep running as the exact same binaries. The bill simply arrives one layer lower — in NIC register state, in Ethernet padding, in a peer stack that has to learn a wire convention RFC 9293 never asked it to learn. Application compatibility is not deployment compatibility. The distance between those two sentences is where infrastructure projects quietly go to die.
What “no application modification” actually buys you
The APNIC guest post by Rajath Shashidhara states it cleanly: nothing above the socket changes. Ordinary server programs run through Presto’s POSIX interface, and the prototype exchanges TCP with Linux and with the TCP Acceleration Service, or TAS. The page also carries APNIC’s standard guest-post disclaimer, which is worth reading as a boundary marker — these are the authors’ claims, not an APNIC policy position and not an APNIC validation.
The mechanism is concrete, not hand-waving. At repository commit a6c1ceec447c27a7b77035cc7d4a1868a4f7fcc1, libpresto_interpose.so emulates POSIX sockets and slides into an unmodified program via LD_PRELOAD. The repository also ships a lower-level zero-copy library that does require application adaptation. So the broad phrase is accurate for one deliberately provided path — not for every interface Presto exposes.
The fine print is written in NIC registers
Below the socket boundary, the prerequisites get very specific, very fast: a Tofino 2-class switch, ConnectX-5 or later adapters, a particular switch SDK generation, a named board-support commit, a minimum MLNX OFED release. None of that is a criticism. Those are the reproducibility coordinates of a prototype, and they are exactly what you would want pinned.
The sharper condition sits in the repository’s deployment instructions. The data path does not set RDMA’s invariant CRC. On ConnectX devices, the operator is told to disable iCRC validation; on ConnectX-6 and ConnectX-7, the operator is told to go ask NVIDIA support for the equivalent. Read that again: the compatibility claim now depends on a vendor support ticket.
Padding: the wire-side tax every peer pays
Then it leaves the box entirely. Any TCP peer that talks to the prototype must append enough Ethernet padding to each segment to leave room for that iCRC. The repository supplies a TAS variant that does it. A stock Linux box, minding its own business and speaking perfectly good TCP, is not that variant.
The SIGCOMM paper is honest about scope: the checksum discussion sits under “Testbed Constraints” and attributes the missing TCP payload checksums and RDMA iCRC to the Tofino 2 checksum engine in the prototype, noting that production hardware would carry checksum units. That is evidence of a bounded testbed condition — not a law of nature, and not a permanent defect.
RFC 9293 never signed this contract
Worth saying plainly, because the confusion is easy: none of this contradicts TCP. RFC 9293 defines the reliable, ordered byte stream, segment processing and the TCP checksum. Reserved frame space and a NIC’s iCRC validation setting belong to the Presto environment that carries traffic into and out of the switch data path. A peer can implement textbook TCP and still be completely unprepared for the extra wire-side convention this repository describes.
Six surfaces, one word: “compatible”
Count them: application ABI, socket semantics, peer packet construction, NIC register state, switch program, physical frame. A test that proves the first two certifies nothing about the remaining four. “Compatible” is not a property; it is a perimeter, and perimeters have to be drawn on purpose.
What a real acceptance receipt looks like
The repository’s disable-icrc.sh makes the evidence requirement unusually visible. It warns that it assumes ConnectX-5, reads four register fields, writes zero values, reads them back. For any other NIC it tells you to restore the register values and edit the script yourself. That is a configuration operation with observable before-and-after state — so record the observations instead of writing “script ran” in the change log and moving on.
A receipt worth the name binds the application binary to the exact Presto commit, the P4 and control-plane builds, switch SDK and board support, NIC model and firmware, driver package, MTU, register values before and after, and a packet capture showing the required tail space. Run it twice: once with a conditioned TAS peer, once with an ordinary Linux peer. Record which paths pass, which need adaptation, and which were never inside the tested claim to begin with.
Rollback is the test nobody runs
The README exposes switchconf_reset, which clears Presto flow tables, connected hosts, application contexts and runtime state while leaving port configuration intact. Good — that resets the switch side. It proves nothing about whether the NIC registers went back, or whether the peer you taught to pad has returned to ordinary behaviour. The receipt closes when post-rollback TCP traffic is observed again on the original path, not when a script exits zero.
The bill, itemised
None of this diminishes the result. Keeping an application binary frozen while transport work migrates into a programmable pipeline is precisely why Presto is worth watching. But it changes what “compatible” has to mean in an operator’s decision: not a yes-or-no checkbox, but a chain of interfaces whose unchanged and changed parts are named separately, priced separately, and tested separately.
There is an older rule underneath all of this — running code beats rough consensus, every time. Presto is running code, and it deserves credit for that. It also deserves a change record. The application may stay exactly as it is. The exception budget cannot be allowed to hide in someone else’s team.
Sources
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






