• Sources: primary, discussion
  • Summary: The post runs guest web servers inside one process with a custom scheduler and LFI sandboxing, listens across a subnet with AnyIP, and finds each Linux socket costs about 3,384 bytes in kernel structures. Moving TCP/IP to the userland smoltcp stack over TUN, TAP, DPDK or AF_XDP reached 16 million servers, with DPDK fastest and AF_XDP close behind while leaving the NIC visible to the kernel. The Hacker News thread drew 254 points and 30 comments.
  • Why it matters: It quantifies the per-socket memory floor of the Linux network stack and the tradeoff between DPDK's exclusive NIC access and AF_XDP.