Open Source
Tempest: Keeping a Network Boot on One Release
Krishna Thatta Prasanth and Vikram Kangotra30 November, 2026
Large server fleets are installed and reinstalled over the network. When a machine powers on, its firmware fetches a small boot program over TFTP, and that program pulls a kernel, an initial RAM disk, and configuration, sometimes switching to HTTP on the way. Meanwhile, operators keep rolling out new images while machines are booting.
That overlap causes a quiet failure. If a new release goes live between a machine’s kernel request and its initrd request, the machine gets a kernel from one release and an initrd from another. Every download succeeds and each file is valid, but the pair was never tested together, and the machine fails to boot.
Tempest is an open-source (available on GitHub) TFTP and HTTP boot artifact server, written in Rust, built to prevent this. It ties each boot attempt to one release and serves every later file from that release, even if a new one goes live mid-boot or the client moves from TFTP to HTTP. It does this on the server, so existing firmware and bootloaders need no changes.
Those checks are not free, so Tempest was benchmarked against three other TFTP servers and nginx. Under load, with the checks on, it kept pace and finished its slowest downloads sooner. An experimental send path was about four times faster.
A Boot Is More than One File
Firmware usually starts by downloading a boot program over TFTP. That program may then request configuration, a kernel, an initial RAM disk, and other files. Some clients stay on TFTP; others switch to HTTP through a bootloader such as iPXE. UEFI HTTP Boot firmware can start over HTTP directly.
An atomic directory or symlink switch only changes what the next lookup sees. It does not remember which release a machine used for its previous request. TFTP has no release identity, and replacing existing firmware is rarely practical.
Tempest keeps that association on the server.
Pinning A Boot Attempt
Tempest groups files and boot attempts using three objects:
- A boot profile identifies an environment, such as a compute image or a rescue image. Each profile can activate releases independently.
- A version group holds a release’s files. Its manifest records their names, paths, sizes, and SHA-256 digests.
- A boot session connects a machine’s provisioning attempt to a profile and a release.
When an active managed release is available, registering a session pins it to that release’s manifest. Setting require_managed makes registration fail if no managed release is available.
Later managed requests must resolve inside that manifest. If a name is missing, the request fails rather than falling back to a file from another release. TFTP and HTTP use the same session and resolver.

Release pinning across a cutover.
The provisioning system publishes a release once, then registers each machine before it boots. The files must already be under Tempest’s TFTP root; the first call records and activates them rather than uploading them.

The response includes an artifact token, an expiry time, and a boot epoch. With preserve_sessions, a release cutover leaves existing sessions on their pinned release and gives newly registered machines the new one. With drain_all, cutover waits for affected transfers and sessions to finish, subject to the drain timeout.
Existing Clients Keep Their Protocols
Tempest implements standard TFTP, including block-size, timeout, transfer-size, and window-size negotiation. A client that does not request windowing keeps the one-block-at-a-time behavior. Server limits are ceilings, not settings forced on firmware.
Each transfer owns its UDP socket and checks the peer’s address and port. Requests, transfers, caches, and negotiated options have explicit limits, so a failed client cannot leave unlimited state behind.
For HTTP, clients such as iPXE can use the session’s bearer token. Tempest accepts it only from the registered client address. Firmware that cannot send an authorization header can use an opt-in native HTTP Boot route, which serves one configured filename to an address with an active session.
Managed files are checked against their recorded identity before delivery. SHA-256 verification is cached for eligible unchanged artifacts, not repeated for every transfer. A mismatch quarantines the path and fails the request.
Alongside DHCP, Not Instead of It
Tempest does not replace DHCP, DNS, or the provisioning system. DHCP still supplies the boot target, DNS still resolves names, and the provisioning system chooses the profile. Tempest serves the files and keeps their release identity consistent.

Tempest sits next to DHCP, DNS, and provisioning.
How Fast Tempest Delivers Files
Tempest was compared with tftpd-hpa 7.2, atftpd 0.8.1, and rs-tftp 1.0.0 over TFTP, and with nginx 1.30.6 over HTTP. Up to 128 clients on a separate load generator downloaded 1 MiB, 16 MiB, and 100 MiB files over 25 GbE, and every download was checked against its SHA-256. Tempest kept its manifest checks and audit logging on.
Test setup
- Hardware: a server with two Intel Xeon Silver 4114 CPUs (20 cores) and a 25 Gb/s Mellanox ConnectX-4 Lx NIC, running Ubuntu 22.04 with kernel 5.15; a separate AMD EPYC 7552 host generated the load.
- Clients: closed loop, each starting its next download as soon as the previous one finished; 1468-byte blocks and a window of eight; files served from a warm cache.
- Repeats: medians of three runs in randomized order.
- CPU: the server also ran other light workloads, so CPU figures cover the whole host.
- Not covered: added latency or packet loss, requests from many source addresses, DHCP, firmware startup, or a complete boot.
At 128 clients with 100 MiB files, all four TFTP servers delivered about 520 MB/s of verified data in total. Tempest’s experimental UDP Segmentation Offload (USO) path delivered 2,132 MB/s, about 4.1 times as much.

Total across all clients; bars are medians of three runs, whiskers the minimum and maximum. Downloads were allowed 120 seconds, because a 30-second limit cut off some of the other servers’ slower downloads and understated their throughput. None failed.
Similar throughput, a different tail
The slowest downloads finished much sooner on Tempest. Its 99th-percentile completion time was 26.6 seconds, against 42 to 44.5 for the others, and 6.6 with USO.

Median of three per-run p99 values from the same runs; whiskers the minimum and maximum.
The typical download was a different story: tftpd-hpa’s median completion time was slightly faster (23.2 against 25.7 seconds), but its download times were spread more widely.
Scaling with Concurrency
100 MiB files at lower concurrency, MB/s:

Median of three runs with a 30-second client deadline; tftpd-hpa had four failed transfers at 4 clients across the three runs.
Tempest trailed the others at 4 and 16 clients, and all four non-USO servers reached about 520 MB/s by 64. A single client got about 60 MB/s from any server, because it is limited by round trips. USO only helps when two or more transfers are active, so it pulls ahead from 4 clients on.
Over HTTP
Clients that move to HTTP through iPXE fetch their kernel and initrd this way, and it is much faster than TFTP. With 100 MiB files and 16 clients, Tempest delivered 2,938 MB/s over HTTP against 525 MB/s over TFTP; nginx delivered 2,940 MB/s, and both were at the link’s limit. nginx was faster with small files at low concurrency, and at 128 clients it used 1.5 CPU cores against Tempest’s 2.4.
What these numbers do not show
- Firmware window size. The test clients negotiated a window of eight blocks, but most PXE firmware and iPXE use a window of one. At that setting, with 16 MiB files and 64 clients, Tempest delivered 284 MB/s and the others 278 to 301 MB/s, and USO had nothing to batch.
- Session pinning. The benchmark clients did not register boot sessions, so pinning is not in these figures; a separate boot-storm test with a release cutover covered it.
- Other environments. These results come from one test bed: one server, one NIC family, and one kernel, with software clients on a LAN. Other hardware, NICs, drivers, kernels, and firmware may perform differently, so treat the numbers as a comparison under these conditions, not a guarantee for your environment.
The Experimental Send Path: UDP Segmentation Offload
Normally Tempest sends each TFTP DATA block as its own datagram. With USO, it passes a whole window of blocks to Linux in one sendmsg call using UDP_SEGMENT, and the kernel or NIC splits it into ordinary datagrams. Each block already carries its own TFTP header and block number, so clients see the same packets on the wire.
TFTP servers rarely do this, and for good reason: most boot firmware sends one block at a time, which leaves nothing to batch, and large files usually move to HTTP. USO pays off only when clients negotiate windows, many transfers run at once, and large files stay on TFTP. That is the case this benchmark measured.
USO also cut host CPU from 25.9 to 6.6 CPU-seconds per GB, and every download matched its SHA-256. It is off by default, Linux-only, and used only when a client negotiates a window of two or more blocks while other transfers are active. If the kernel or NIC rejects a segmented send, that transfer falls back to the regular path.
It is also the least proven part of Tempest. The one firmware boot tested with it enabled used a window of one, so segmentation never ran. Still open:
- how boot firmware with small receive buffers handles a whole window arriving back to back;
- behavior across NICs and drivers, including whether the NIC or the kernel does the segmenting;
- packet-rate firewall rules, which may count a batch as a single packet.
What Tempest Does Not Cover
- Network trust: TFTP has no authentication or encryption; it relies on a controlled provisioning network and client-side checks such as UEFI Secure Boot.
- Session identity: sessions use client IP; shared NAT and reused addresses weaken the association. TFTP and native HTTP Boot requests carry no bearer token.
- Cutover scope: activation is atomic within one process. Database-backed nodes converge by polling; there is no fleet-wide cutover barrier.
- Audit integrity: logs are unsigned, so they need protecting or exporting to a trusted logging system.
- HTTP transport: plain HTTP needs a TLS proxy outside an isolated network.
Summary
Tempest’s job is to keep the kernel, initrd, and other boot files on the same release. With its checks on, it delivered throughput comparable to the other TFTP servers under load, trailing them only at 4 and 16 clients, and its slowest downloads finished sooner.
USO was about four times faster, but it has not yet been tested with firmware that negotiates a window, which is when segmentation happens. Until it has, it stays experimental.
Tempest is open-source on GitHub and serves as one building block in our bare-metal stack. Follow the engineering blog as we continue to unpack ‘Ignition’, the overarching PXE infrastructure that powers our fleet.