Introducing the FPGA Drive Recorder

Zero-copy recording from the FPGA fabric to NVMe SSDs, and playback back into it

October 13, 202622 minutes

Introducing the FPGA Drive Recorder

Update 2026-10-24: The design has improved again, and this time it’s the design’s own source and sink that we’ve moved out of the way. The fabric datapath is now 256 bits wide at 250 MHz, so the test pattern generator and the checker run at up to 8 GB/s (it was 3.2 GB/s), and the driver now keeps the AXI DMA running across buffer boundaries, which removed the interrupt-latency drops that limited long RAID0 recordings. With the fabric no longer the limit, we re-measured everything: RAID0 pairs now record up to 6.5 GB/s on the VCK190 (7 GB/s with a larger buffer ring), 5 GB/s on the ZCU106, and they sustain 3-3.5 GB/s past the SSD caches. The performance section below has the new figures and the new bottlenecks.

Update 2026-10-19: After this post went out, we found a clocking error in the Zynq UltraScale+ versions of the design. The HP ports that connect the PCIe Root Ports to the DDR memory were clocked at 100 MHz instead of 250 MHz, which capped every SSD slot at about 1.6 GB/s, writing and reading. That’s fixed in the repo, and one slot now runs at the rate of its Gen3 x4 link (about 3 GB/s). The first version of this post reported figures for a Samsung 970 EVO 250GB and a 950 PRO 256GB, measured before the fix, and concluded that the Zynq UltraScale+ host limited playback to about 1.5 GB/s per drive. That limit was the clocking error.

In this post I’m going to introduce our new reference design, the FPGA Drive Recorder. It records a data stream generated in the FPGA fabric to a file on one or two NVMe SSDs, and it can play those recordings back into the fabric. The SSDs connect to the FPGA through our FPGA Drive FMC Gen4 (OP063) or M.2 M-key Stack FMC (OP073), and the design runs embedded Linux built with the AMD Yocto / Embedded Development Framework (EDF) 2025.2.

Over the years, a lot of customers have asked me for something like this. Our fpga-drive-aximm-pcie reference design gets the SSDs working as Linux block devices, but it doesn’t get your data from the fabric onto them, and I never had a working design that I could hand over for that. Almost two years ago, at the end of the Versal PL NVMe SSD speed test post, I wrote that I wanted to build something closer to a real application: generate samples in the PL, store them on the SSD, and validate the data. This is that design, and I’m really happy to finally deliver it.

This post covers what the design does, where the line sits between the FPGA and Linux, the performance we measured, and some use cases. For the fine detail (register map, driver, file format, full benchmark tables) see the user guide.

The FPGA Drive Recorder test setup: an UltraZed-EV Carrier Card with the M.2 M-key Stack FMC (OP073) in the FMC slot, carrying two Sabrent Rocket 2230 NVMe SSDs.

What it does

Linux runs on the processor of the target board, and it owns the SSDs and the filesystem. The recording is zero-copy:

  • An AMD AXI DMA in the fabric writes the data stream into a ring of buffers in the processor’s DDR memory. The buffers are 2 MB hugepages that the recorder app allocates and the fdrec kernel driver pins for the DMA (the default ring is 32 x 8 MB).
  • When a buffer is full, the app writes it to a file with an O_DIRECT write, and the NVMe controller of the SSD reads the data straight out of that same buffer.
  • The CPU never reads, writes or copies the data. It only does the bookkeeping: DMA descriptors, cache maintenance and the I/O requests.

The data source is a block-design hierarchy called user_data_source with a 256-bit AXI4-Stream output. In the reference design it holds a test pattern generator that models an ADC: it produces data at a programmable rate and it cannot be stalled. That’s the point where you drop in your own ADC, sensor or processing logic. If the SSDs can’t keep up, the data that doesn’t fit is dropped and counted in the fabric. It’s never silently lost: every recording reports its drop count in the file header, and a valid recording has a drop count of zero. The fdverify tool then checks a test-pattern recording beat by beat.

Playback is the same path in reverse. The app reads a recording into the hugepage buffers with O_DIRECT reads, and the DMA streams them into a second hierarchy, user_data_sink. In the reference design that’s a hardware checker that consumes the stream at a programmable rate, like a DAC would, and verifies every beat. You can replace it with your own logic too.

The image below shows the Zynq UltraScale+ version of the design.

Block diagram of the FPGA Drive Recorder for Zynq UltraScale+: user_data_source (test pattern generator) feeds fdrec_core (ingest FIFO and packetizer) over a 256-bit AXI4-Stream at 250 MHz, then the AXI DMA S2MM channel writes through a SmartConnect (256 to 128 bits) and S_AXI_HP2_FPD into a ring of hugepage buffers in PS DDR; for playback the MM2S channel feeds the egress FIFO and user_data_sink (checker); two XDMA PCIe Root Ports (Gen3 x4) connect through the GTs to the two M.2 slots on the FPGA Drive FMC Gen4 or M.2 M-key Stack FMC

The PCIe part of the design (one PCIe Root Port per M.2 slot) is the design of fpga-drive-aximm-pcie. The recorder adds the data source and sink, the fdrec_core FIFOs and registers, and the AXI DMA. The datapath is 256 bits wide at 250 MHz, on the DMA side (dp_clk) and on the source and sink side (src_clk), which is 8 GB/s. On Zynq UltraScale+ the AXI DMA reaches the DDR through the 128-bit S_AXI_HP2_FPD port, which runs at up to 333 MHz (322 MHz on the ZCU106), so that’s about 5.2 GB/s into memory. The Versal version uses exactly the same datapath; only the platform around it changes (CIPS, the NoC and QDMA Root Ports), and there the AXI DMA gets its own NoC port to the DDR at the full 8 GB/s.

The Linux image comes with these tools:

ToolWhat it does
fdsetup-raid0.shPrepares the recording filesystem: one SSD, or a RAID0 array of two
fdrecRecords the fabric stream to a file (zero-copy, io_uring + O_DIRECT)
fdplayPlays a recording back into the fabric
fdverifyVerifies a test-pattern recording beat by beat
fdbench.shSweeps the generator rate to find the sustained recording rate of your SSDs

Recordings are ordinary files: a 4096-byte header (with the start and stop times and the drop count) followed by the raw 32-byte beats (see the file format).

What it is not: complete NVMe offload

I want to be clear about this up front: this design does not implement complete NVMe offload. It is not an NVMe host engine in the fabric. Here is where the line sits:

  • In the PL: your data source and sink, the FIFOs, the AXI DMA that moves data between the fabric and DDR, and the PCIe Root Ports (the integrated PCIe blocks in AXI Bridge mode).
  • In the PS, under Linux: everything NVMe. The standard Linux NVMe driver, the block layer and the filesystem (XFS by default) handle every command, queue and completion. The recorder app issues the writes with io_uring, and the fdrec driver manages the DMA descriptors and the cache maintenance.
  • In the SSD: its NVMe controller DMAs the data directly out of (or into) the DDR buffers through the Root Port. That’s what makes it zero-copy.

The diagram below, from the user guide, shows who touches each buffer and when.

Zero-copy recording data flow: the AXI DMA S2MM channel in the FPGA fabric fills a buffer in the PS DDR ring, the fdrec driver in the Linux kernel passes the filled buffer to the fdrec app in user space, the app issues an io_uring O_DIRECT write through the block layer and NVMe driver, and the NVMe SSD’s controller reads the same buffer from DDR; the CPU only handles descriptors, ioctls, io_uring entries and cache maintenance, and never reads, writes or copies the recorded data

Keeping Linux in charge has real advantages: recordings are normal files, you can use RAID0, fio, nvme-cli and every other Linux tool, and the design needs no paid IP. The trade-off is that you need a running Linux system, and the rate you can sustain is set by the SSDs and by the Linux I/O path.

If you need CPU-less operation, or rates beyond what Linux can sustain, then you need the NVMe host in hardware. Opsero is partnered with Missing Link Electronics (MLE), and their NVMe Streamer IP core does complete NVMe offload: the NVMe protocol is handled in the fabric rather than by a processor running Linux. The FPGA Drive Recorder is a free, open-source starting point for the many applications that fit within what Linux can do, and NVMe Streamer is for the ones that don’t.

Performance

All of these figures were measured on hardware on 22 October 2026 with two pairs of 1 TB PCIe Gen4 SSDs: two Samsung 980 PRO 1TB on the FPGA Drive FMC Gen4 (OP063) and two Sabrent Rocket 2230 1TB on the M.2 M-key Stack FMC (OP073). Each drive was used alone and as a RAID0 pair (512 KB chunks, XFS). The boards were the AMD VCK190 (two Cortex-A72 cores at 1.4 GHz), where the drives link at Gen4 x4, and the AMD ZCU106 (four Cortex-A53 cores at 1.2 GHz), where they link at Gen3 x4. There was a fan on the cards, and no drive throttled. The UltraZed-EV runs the same design as the ZCU106, but it hasn’t been re-measured yet. The benchmarks page has every measurement and the method.

The pass criterion is stricter than a typical SSD benchmark: a recording rate passes only if fdrec drops zero beats over the whole recording and fdverify reports a clean file. The source can’t be stalled, so a pass means the whole chain (DMA, driver, filesystem, SSD) kept up from the first byte to the last. Playback is clean when the hardware checker sees no underflows and no errors.

The results

“In the cache” is the highest rate that recorded 32 GB cleanly in 3 runs out of 3. 32 GB fits inside the SLC write cache of these drives, so this is the rate for recordings that are shorter than the cache. “Past the cache” is the rate that held over a single recording long enough to run well past the cache (200-480 GiB). Playback is the highest clean fdplay rate for a 10 GB recording. All runs used the default ring of 32 x 8 MB buffers, unless a larger ring is noted in brackets. The recording rates were tested in 500 MB/s steps from 2500 MB/s, so the real limit lies somewhere between the figure and the next step. All figures are in MB/s.

Board (PCIe link)SSDsIn the cache (32 GB)Past the cachePlayback (10 GB)
VCK190 (Gen4 x4)Samsung 980 PRO 1TB4500 (5000 over 10 and 40 GB)1750 (240 GiB)6000 (6500 with 256-byte MaxPayload)
VCK190 (Gen4 x4)RAID0 of 2x 980 PRO 1TB6500 (7000 with a 512 MB ring)3250 (480 GiB)6000
VCK190 (Gen4 x4)Sabrent Rocket 2230 1TB45001750 (200 GiB)4500
VCK190 (Gen4 x4)RAID0 of 2x Sabrent Rocket 2230 1TB4000 (7000 with a 512 MB ring)3500 (350 GiB)5500
ZCU106 (Gen3 x4)Samsung 980 PRO 1TB30001750 (200 GiB)3000 (3500 with 256-byte MaxPayload)
ZCU106 (Gen3 x4)RAID0 of 2x 980 PRO 1TB4500 (5000 with a 512 MB ring)3250 (350 GiB)4000
ZCU106 (Gen3 x4)Sabrent Rocket 2230 1TB25001750 (200 GiB)3000
ZCU106 (Gen3 x4)RAID0 of 2x Sabrent Rocket 2230 1TB3500 (4500 with a 512 MB ring)3000 (350 GiB)3500

For reference, Samsung rates the 980 PRO 1TB at up to 5000 MB/s sequential write and 7000 MB/s read, and Sabrent rates the Rocket 2230 1TB at 4300 MB/s write and 4750 MB/s read. Those are Gen4 x4 figures from a fast desktop host, and the write ratings are for writes into the SLC cache. A few things jump out:

  • The design is no longer the limit. The source and sink run at up to 8 GB/s, and none of these setups got there. The highest rates we recorded, 7 GB/s to a RAID0 pair on the VCK190 and 5 GB/s on the ZCU106, are set by the host’s path into DDR, not by the recorder’s own logic (more on that below).
  • Inside the cache, one drive records at its own write rate or its link’s, whichever is lower. On the VCK190 (Gen4 x4), the 980 PRO writes about 4.95 GB/s into its cache and the Sabrent about 4.6 GB/s, so both record 4500 MB/s over 32 GB, and the 980 PRO records 5000 MB/s over 10 and 40 GB. On the ZCU106, one Gen3 x4 slot carries about 2.94-3.04 GB/s, so one drive records 2500 MB/s (Sabrent) or 3000 MB/s (980 PRO), and a RAID0 pair across both slots gets you to 3.5-5 GB/s.
  • Past the cache, one drive sustains 1750 MB/s on both boards, and a RAID0 pair 3000-3500 MB/s. Once their SLC cache is full, both drives write a flat ~1.77-1.8 GB/s and the pairs ~3.5-3.6 GB/s, so these are now the drives’ own limits. Before this update, the Sabrent held only 1000 MB/s on the VCK190, and the RAID0 pairs 2000-2750 MB/s. In the new long recordings, the fabric FIFO never held more than 1 beat.
  • Playback runs at 3000 MB/s from one drive on the ZCU106 (its Gen3 x4 link) and at 4500-6000 MB/s from one drive on the VCK190. From a RAID0 pair it reaches 3500-4000 MB/s on the ZCU106 and 5500-6000 MB/s on the VCK190, where the single fdplay thread is now the limit.

Why you don’t get the rated speed

The docs have a whole section on where the bottlenecks are, but here’s the short version, in the order the limits usually bite.

1. The SSD’s SLC cache. Most consumer SSDs write into a fast pseudo-SLC cache first and move the data to the slower TLC flash later. While the cache lasts, the drive writes at its datasheet rate; once it’s full, the rate drops. On an empty, trimmed drive, the 980 PRO 1TB caches about 115-125 GB and the Sabrent Rocket 2230 1TB about 66-75 GB, and after that both write a flat ~1.77-1.8 GB/s. A RAID0 pair caches twice as much and then writes ~3.5-3.6 GB/s. Smaller drives hit the cliff much sooner: Samsung rates the 970 EVO 250GB at up to 1500 MB/s sequential write, and at 300 MB/s once its TurboWrite cache is full. A recorder writes at a constant rate for as long as the recording lasts, so if your recordings are longer than the cache, the post-cache rate is the one that counts.

2. The drive’s worst moment, not its average. A recording passes only if no beat is dropped over its whole length, so the rate is set by the drive’s slowest stretch: garbage collection, the cache running out, a write-latency spike. One 980 PRO 1TB passes at 1750 MB/s against a post-cache median of 1765 MB/s. A stall only costs data if it outlasts the buffer ring, and at high rates the ring doesn’t last long: the default 256 MB covers 73 ms at 3.5 GB/s, but only 39 ms at 6.5 GB/s. One stall that caught us out is power saving. After some idle time, NVMe drives drop into a deep power state (APST), and the first writes of the next recording waited about 65 ms for the Sabrent pair on the VCK190 to wake up. That’s what holds that pair to 4000 MB/s with the default ring. A 512 MB ring (--buffers 64 or --buf-size 16M) covered every stall we measured, and took the RAID0 pairs to 7000 MB/s on the VCK190 and 4500-5000 MB/s on the ZCU106. Turning APST off also removes the start-up stall. And if you test a drive with a short dd or fio run, you’re measuring its cache and overstating what it can sustain.

3. The PCIe link. A Gen3 x4 link carries 3.94 GB/s raw, and with 128-byte payloads (the MaxPayload size that Linux sets on these boards) that leaves about 3.1-3.3 GB/s for data. The Gen4 drives link at Gen3 x4 on the Zynq UltraScale+ Root Ports, and inside their caches they run at the link’s rate: about 2.94-3.04 GB/s writing and 2.8-3.2 GB/s reading per slot. To go faster, use RAID0 across both slots, or a Versal target with Gen4 Root Ports. On the VCK190’s Gen4 x4 links the drives limit the writes, but the link limits the reads of a fast drive: one 980 PRO reads 6.36 GB/s at 128-byte MaxPayload. Setting MaxPayload to 256 bytes with setpci lifts that to 7.07 GB/s, and one-drive playback from 6000 to 6500 MB/s (from 3000 to 3500 MB/s on the ZCU106). It made no difference to the recording rates.

4. The path into DDR. On Zynq UltraScale+, the AXI DMA reaches the DDR through one 128-bit HP port, S_AXI_HP2_FPD, which carries 5.16 GB/s at the 322 MHz it runs at on the ZCU106. With no SSD involved at all, recording and playback are clean at 5000 MB/s and fail at 5250 MB/s. That’s the ceiling of the recorder on Zynq UltraScale+, however fast the SSDs, and the 980 PRO pair reaches it. The way past it would be a second AXI DMA on a second HP port (not implemented), or a Versal device. On the VCK190 the AXI DMA has its own NoC port into the DDR, which carries the full 8 GB/s, but both PCIe Root Ports share another one. Measured with fio and no fabric traffic, the RAID0 pairs write at most 7.2-7.6 GB/s and read 7.9-8.0 GB/s, and that caps RAID0 recording on the VCK190 a little above 7 GB/s.

5. The Linux I/O path and the CPU. Even without a data copy, every write goes through the filesystem, the block layer and the NVMe driver, and that costs CPU time. On the ZCU106, fdrec uses about 2.3-2.6 % of one 1.2 GHz Cortex-A53 core per 100 MB/s, almost all of it system time, and that grows almost linearly with the rate. Above about 4.3 GB/s it needs more than one core, but io_uring runs part of the work in worker threads on the other cores, so one core isn’t a wall for recording (116-117 % of a core at 5000 MB/s). That’s about 2-2.5 times more data per unit of CPU than a dd write, which has to produce every byte and runs one request at a time. The VCK190’s Cortex-A72 cores go about 1.6 times as far (1.5-1.7 % of a core per 100 MB/s). Playback is different: fdplay reads with a single thread, and that thread is what limits playback from a RAID0 pair (fdplay uses 95 % of an A53 core at 4000 MB/s on the ZCU106), even though fio reads the pairs much faster. A reader with more than one thread would get past it; it’s not implemented yet.

6. The fabric datapath. At 8 GB/s, the datapath is above everything else in the chain. On the VCK190, where the DMA’s path into DDR carries the full rate, the fabric would be the next limit: the source and the DMA side run on the same 250 MHz clock, so at 8000 MB/s the DMA has no spare cycles to catch up after a pause. Without an SSD, recording is lossless up to 7750 MB/s and playback from DDR up to 7500 MB/s. That’s still above what the PCIe path into DDR can write.

What is not the bottleneck at these rates: the PS DDR (a 7 GB/s recording is 14 GB/s of DDR traffic, because the DMA writes every byte and the SSD reads it, and it passed on the VCK190), and interrupt latency. In the first measurements, the AXI DMA paused at every buffer boundary until the interrupt handler started the next buffer, and in long RAID0 recordings a late restart once in a while overflowed the fabric FIFO. Now the driver keeps the next buffers queued on the running DMA, which goes from one buffer into the next without waiting for software, and the 256 KB fabric FIFO only has to cover short back-pressure. I speculated about the PCIe link in earlier posts. It turns out the link only becomes the limit with a fast Gen4 drive in a Gen3 x4 slot, and for reads from a fast drive on Gen4, and now there’s data to show it.

To get more, use drives designed for sustained writes (enterprise or industrial, MLC or SLC flash, or larger capacities with a bigger cache), RAID0 of two identical drives (the array runs at twice the slower drive’s rate), a 512 MB buffer ring and APST off for high rates, 256-byte MaxPayload for fast playback, Gen4 Root Ports for Gen4 drives, and SSDs that expose several NVMe I/O queues (some drives, like the 970 EVO 250GB, get only one). Also watch the heat: many SSDs throttle when they get hot during long recordings.

What you can do with that throughput

Even one 1 TB consumer drive sustains 1750 MB/s for as long as it has space, and a RAID0 pair 3-3.5 GB/s. That opens up a lot of applications:

  • ADC capture. 1750 MB/s sustained is, for example, a continuous stream of 16-bit samples at 875 MSPS, or two 16-bit channels at 437.5 MSPS. At that rate a 1 TB drive fills in about 9.5 minutes. A RAID0 pair at 3250 MB/s takes 16-bit samples at 1.625 GSPS, and fills its 2 TB in about 10 minutes.
  • Short, fast bursts. If your event fits in the SSD’s cache (66-125 GB per drive for these drives), you can record at 2.5-3 GB/s to one drive on the ZCU106 and at up to 5 GB/s to a RAID0 pair. On the VCK190 it’s 4.5 GB/s to one drive and 6.5-7 GB/s to a RAID0 pair.
  • Waveform playback. Reads have no cache cliff, so playback rates hold for long files. A DAC or a transmitter in user_data_sink can be fed at 3 GB/s from one drive on the ZCU106 (3.5-4 GB/s from a RAID0 pair), and at 4.5-6 GB/s on the VCK190.
  • Network capture. A fully loaded 1G Ethernet link carries 125 MB/s in each direction, a small fraction of what one drive sustains, and even both directions of a 10G link (2.5 GB/s) fit on a RAID0 pair. More on that below.

Supported boards

At the time of writing, the design supports these target boards:

Target boardTarget designFMC connectorM.2 slots (PCIe lanes)Vivado edition
UltraZed-EV CarrieruzevHPC2x Gen3 x4Standard (free)
AMD Zynq UltraScale+ ZCU106zcu106_hpc0HPC02x Gen3 x4Standard (free)
AMD Versal AI Core VCK190vck190_fmcp1FMCP12x Gen4 x4Enterprise

The VCK190 needs a Vivado Enterprise license because the XCVC1902 device isn’t supported by the free Standard Edition. That’s a device license; no design needs an IP license. More Linux-capable Zynq UltraScale+ and Versal targets of fpga-drive-aximm-pcie are being added.

Requirements

  • Vivado 2025.2 and Vitis 2025.2 (Vitis provides sdtgen/xsct for the Yocto flow)
  • A native Linux machine for the Yocto / EDF 2025.2 build (the Vivado part also builds on Windows)
  • FPGA Drive FMC Gen4 (OP063) or M.2 M-key Stack FMC (OP073)
  • One or two M.2 NVMe PCIe SSDs
  • One of the supported boards above, with its USB-UART cable, and a micro-SD card of 8 GB or larger

There’s no PetaLinux flow (PetaLinux is being retired, see my Yocto/EDF migration post) and no bare-metal application. The recorder needs Linux.

Build and run

Clone the repo (with its submodules) and build everything for your target. The example below is for the UltraZed-EV; use zcu106_hpc0 or vck190_fmcp1 for the other boards. This builds the Vivado project and XSA, then the Yocto image, and gathers the boot files into bootimages/:

git clone --recursive https://github.com/fpgadeveloper/fpga-drive-recorder.git
cd fpga-drive-recorder
./build.sh all --target uzev

Flash Yocto/uzev/images/linux/rootfs.wic.xz to the SD card, copy BOOT.BIN onto its first (FAT) partition, and boot the board with one or two SSDs on the mezzanine card. Log in as amd-edf (you choose the password on the first login). Then:

# 1. Make a filesystem on the SSD(s) and mount it at /mnt/rec -- ERASES THE DRIVES.
#    Both M.2 slots populated: RAID0 across the two SSDs
sudo fdsetup-raid0.sh
#    or a single SSD:
sudo fdsetup-raid0.sh --single /dev/nvme0n1

# 2. Record 10 GB of the test pattern at 1 GB/s (exit code 0 = no dropped beats)
sudo fdrec --rate 1000MB --size 10G /mnt/rec/test.dat

# 3. Verify every beat of the recording
sudo fdverify /mnt/rec/test.dat

# 4. Play it back into the fabric, where the hardware checker consumes it at 1 GB/s
sudo fdplay --rate 1000MB /mnt/rec/test.dat

# Sweep the recording rate to find what your SSD(s) can take: 32 GB per step
sudo fdbench.sh

Run fdbench.sh with your own SSDs before you design around a rate. As the table above shows, the drive and its SLC cache matter more than anything else. Keep in mind that a 32 GB step stays inside the cache of a large drive (66-125 GB for the 1 TB drives above), so if your recordings will be longer than that, confirm the rate with one recording of about twice the cache (fdrec --size). The test procedure in the user guide shows the expected output of each step.

To record your own data, replace the test pattern generator in user_data_source (see custom data source) and run fdrec --no-tpg. Keep in mind the contract: the source is never stalled, the stream is 256 bits wide, and the recorder adds no framing or timestamps to your data. If you need timestamps or frame markers, put them into the stream in your source logic.

Use cases

Here are a few applications that I think are a good fit for this design:

  • Data acquisition. Record ADC or sensor data continuously, for later analysis on a PC. The drop count tells you whether anything was lost.
  • Record and replay for testing. Capture a real-world signal once, then play it back into your processing logic at the original rate, as often as you like, while you develop and debug.
  • Arbitrary waveform playback. Stream waveforms from the SSD into a DAC or transmitter, far longer than you could hold in DDR.
  • Logging a processing pipeline. The source can be anything in the fabric that produces a stream, not just an ADC.

What I’m building with it: an Ethernet packet recorder

I’m currently using the FPGA Drive Recorder to build an Ethernet packet recorder. It’s a work in progress, but here’s the idea. The recorder taps a 1G Ethernet link and stores the packets directly to the NVMe drive, as a file that you can open in Wireshark. It’s all controlled through a web interface.

The hardware is an AMD ZCU106 with the FPGA Drive FMC Gen4 on HPC1 and the Ethernet FMC Max (OP080) on HPC0. The ZCU106’s on-board Ethernet port is used for the web interface, so the control traffic never shares a port with the link being tapped.

Because every packet is timestamped as it’s captured, the recorder can also do the reverse: it can replay Ethernet traffic that was recorded earlier, with the exact original timing. That maps nicely onto the two halves of this design, with the capture logic as the data source and the replay logic as the data sink. I see a lot of uses for that in testing network equipment: record a problem once, then reproduce it on the bench as many times as you need.

I’ll write more about it when it’s ready.

Wrap up

The FPGA Drive Recorder gives you a free, open-source, zero-copy path from the FPGA fabric to a file on an NVMe SSD and back, with Linux in charge of the drives. It’s not a hardware NVMe host, and it doesn’t try to be one. If you need complete NVMe offload, look at MLE’s NVMe Streamer. But for a lot of applications, the rates that Linux and a good SSD can sustain are plenty.

If you build something with it, test it with SSDs that aren’t on our list, or get it working on another board, I’d really like to hear about it. And if you have any questions, feel free to reach out.