{"id":20071,"date":"2026-11-11T16:06:05","date_gmt":"2026-11-11T21:06:05","guid":{"rendered":"http:\/\/fpganow.com\/index.php\/benchmarks\/"},"modified":"2026-11-17T18:45:09","modified_gmt":"2026-11-17T23:45:09","slug":"benchmarks","status":"publish","type":"page","link":"https:\/\/fpganow.com\/index.php\/benchmarks\/","title":{"rendered":"Benchmarks"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><em>Every result on this page was measured on the board on 2026-11-17, unless a row says otherwise. Board: AMD Kria KR260 (XCK26, Zynq UltraScale+). Sender: Linux workstation, Intel E810, 3 m passive DAC into the KR260 SFP+ cage. Main test feed: a 20-frame, 659-message Cboe PITCH capture (14 message types, about 33 messages per 1028-byte frame). You can repeat the correctness and latency runs yourself on the same board from the <a href=\"https:\/\/fpganow.com\/index.php\/run-on-hardware\/\">Run on Hardware<\/a> page; the implementation names below are the ones in its list. Source and tooling: <a href=\"https:\/\/github.com\/fpganow\/Market.Data.PoC\">github.com\/fpganow\/Market.Data.PoC<\/a>.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">BATS parser on the Kria KR260: all implementations<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Three implementations of the parser are installed on the board. Each was run through the Run on Hardware service over the 10G cable: 20-frame capture, slowest playback speed (one frame every 5 ms). Latency is parse time minus receive time, both stamped in the fabric, for every message; the records are read out by the host.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><\/th><th>LabVIEW FPGA (IP Export netlist, 2026-10-20)<\/th><th>Claude Export to Verilog (poc_v, 2026-10-20)<\/th><th>Pure Verilog, 156.25 MHz (vivado_rtl, 2026-11-11)<\/th><\/tr><\/thead><tbody>\n<tr><td>Parser clock<\/td><td>100 MHz<\/td><td>100 MHz<\/td><td>156.25 MHz (the 10G receive clock)<\/td><\/tr>\n<tr><td>Messages field-exact<\/td><td>659 \/ 659<\/td><td>659 \/ 659<\/td><td>659 \/ 659<\/td><\/tr>\n<tr><td>Latency, median<\/td><td>685 ns<\/td><td>326 ns<\/td><td>410 ns<\/td><\/tr>\n<tr><td>Latency, 95th percentile<\/td><td>1.27 \u00b5s<\/td><td>563 ns<\/td><td>770 ns<\/td><\/tr>\n<tr><td>Latency, 99th percentile<\/td><td>1.33 \u00b5s<\/td><td>582 ns<\/td><td>800 ns<\/td><\/tr>\n<tr><td>Latency, max<\/td><td>1.36 \u00b5s<\/td><td>589 ns<\/td><td>810 ns<\/td><\/tr>\n<tr><td>Records without a receive timestamp (left out of latency)<\/td><td>4<\/td><td>0<\/td><td>0<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Playback speed<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The same capture at each playback speed offered on the Run on Hardware page, one pass each. All 18 runs returned 659 \/ 659 field-exact messages. Cells show latency median \/ maximum as read out by the host.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Playback speed<\/th><th>LabVIEW FPGA (IP Export netlist, 2026-10-20)<\/th><th>Claude Export to Verilog (poc_v, 2026-10-20)<\/th><th>Pure Verilog, 156.25 MHz (vivado_rtl, 2026-11-11)<\/th><\/tr><\/thead><tbody>\n<tr><td>Slow: one frame every 5 ms<\/td><td>685 ns \/ 1.36 \u00b5s<\/td><td>326 ns \/ 589 ns<\/td><td>410 ns \/ 810 ns<\/td><\/tr>\n<tr><td>As recorded<\/td><td>678 ns \/ 1.36 \u00b5s<\/td><td>346 ns \/ 6.20 ms<\/td><td>410 ns \/ 810 ns<\/td><\/tr>\n<tr><td>10x faster than recorded<\/td><td>678 ns \/ 1.36 \u00b5s<\/td><td>342 ns \/ 6.31 ms<\/td><td>410 ns \/ 800 ns<\/td><\/tr>\n<tr><td>100 Mbit\/s<\/td><td>682 ns \/ 1.37 \u00b5s<\/td><td>346 ns \/ 6.28 ms<\/td><td>410 ns \/ 810 ns<\/td><\/tr>\n<tr><td>1 Gbit\/s<\/td><td>771 ns \/ 2.20 \u00b5s<\/td><td>397 ns \/ 6.32 ms<\/td><td>410 ns \/ 810 ns<\/td><\/tr>\n<tr><td>Top speed (back to back)<\/td><td>2.96 \u00b5s \/ 6.07 \u00b5s<\/td><td>918 ns \/ 5.62 ms<\/td><td>410 ns \/ 810 ns<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Notes. Claude Export to Verilog: above the slowest speed its records queue behind the host readout, so the maximum rises to milliseconds and 27 to 101 of the 659 records come back without a receive timestamp (none at the slowest speed); every record is still field-exact. LabVIEW FPGA: 3 to 5 records per run carry no receive timestamp. Pure Verilog reads the same at every speed because its output FIFO (1 024 records since the 2026-11-11 build) holds the whole capture.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Other test captures<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Each implementation on the other four captures of the Run on Hardware page, slowest playback speed. Cells show field-exact messages and latency median \/ maximum.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Capture<\/th><th>LabVIEW FPGA (IP Export netlist, 2026-10-20)<\/th><th>Claude Export to Verilog (poc_v, 2026-10-20)<\/th><th>Pure Verilog, 156.25 MHz (vivado_rtl, 2026-11-11)<\/th><\/tr><\/thead><tbody>\n<tr><td>1 frame, 10 messages<\/td><td>10 \/ 10, 218 ns \/ 346 ns<\/td><td>10 \/ 10, 141 ns \/ 198 ns<\/td><td>10 \/ 10, 130 ns \/ 220 ns<\/td><\/tr>\n<tr><td>Frame-boundary regression, 6 frames, 203 messages<\/td><td>203 \/ 203, 688 ns \/ 1.37 \u00b5s<\/td><td>203 \/ 203, 333 ns \/ 589 ns<\/td><td>203 \/ 203, 420 ns \/ 810 ns<\/td><\/tr>\n<tr><td>Heartbeats, 26 frames, 659 messages + 6 heartbeats<\/td><td>659 \/ 659, 688 ns \/ 1.35 \u00b5s<\/td><td>659 \/ 659, 326 ns \/ 589 ns<\/td><td>659 \/ 659, 410 ns \/ 810 ns<\/td><\/tr>\n<tr><td>Unsupported message types, 20 frames, 662 messages<\/td><td>662 \/ 662, 678 ns \/ 1.36 \u00b5s<\/td><td>662 \/ 662, 326 ns \/ 595 ns<\/td><td>662 \/ 662, 410 ns \/ 810 ns<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The heartbeat row read &#8220;fails&#8221; for the LabVIEW FPGA build until 2026-11-17 (665 records for 659 messages). That was the test sender&#8217;s fault: it sent each 8-byte heartbeat datagram with the capture file&#8217;s 10 bytes of Ethernet padding attached, and the build emitted one extra record for each. Sent as Cboe sends them, all 659 messages match.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Throughput, measured inside the fabric<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These numbers come from counters in the fabric (<code>axis_mon<\/code>) with the records consumed in fabric, so the host readout is out of the loop and the parser alone is measured. Only two builds carry the counters: the pure Verilog build above, and an older LabVIEW export (2026-09-23, app <code>mktdata_poc<\/code>, not on the Run on Hardware list). The two 2026-10-20 builds have no counters, so they have no throughput figure here. Each row from 500 Mbit\/s up is 5 000 passes of the capture: 100 000 frames, 3 295 000 messages (0.1 to 1.6 seconds on the wire). The 1 Mbit\/s row is 400 frames and the 100 Mbit\/s row 10 000 frames. The sender paces evenly and never runs ahead of the requested rate; the rate it delivered is shown.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Requested rate<\/th><th>Delivered by the sender<\/th><th>Pure Verilog: records, gaps, max latency<\/th><th>LabVIEW export 2026-09-23: records, gaps, max latency<\/th><\/tr><\/thead><tbody>\n<tr><td>1 Mbit\/s<\/td><td>1.0 Mbit\/s<\/td><td>13 180, 0 gaps, 0.81 \u00b5s<\/td><td>13 180, 0 gaps, 1.36 \u00b5s<\/td><\/tr>\n<tr><td>100 Mbit\/s<\/td><td>100 Mbit\/s<\/td><td>329 500, 0 gaps, 0.81 \u00b5s<\/td><td>329 500, 0 gaps, 2.23 \u00b5s<\/td><\/tr>\n<tr><td>500 Mbit\/s<\/td><td>500 Mbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>3 295 000, 0 gaps, 7.05 \u00b5s<\/td><\/tr>\n<tr><td>1 Gbit\/s<\/td><td>1.00 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>3 295 000, 0 gaps, 8.47 \u00b5s<\/td><\/tr>\n<tr><td>1.2 Gbit\/s<\/td><td>1.20 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>3 295 000, 0 gaps, 7.05 \u00b5s<\/td><\/tr>\n<tr><td>1.3 Gbit\/s<\/td><td>1.30 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>3 295 000, 0 gaps, 8.94 \u00b5s<\/td><\/tr>\n<tr><td>1.4 Gbit\/s<\/td><td>1.39 to 1.40 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>3 250 704, 44 294 gaps: 1.3 % of messages dropped<\/td><\/tr>\n<tr><td>1.5 Gbit\/s<\/td><td>1.50 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>3 030 819, 264 179 gaps: 8.0 % dropped<\/td><\/tr>\n<tr><td>2 Gbit\/s<\/td><td>1.99 to 2.00 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>2 283 836, 1 011 160 gaps: 30.7 % dropped<\/td><\/tr>\n<tr><td>3 Gbit\/s<\/td><td>2.99 to 3.00 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>1 523 034, 1 771 966 gaps: 53.8 % dropped<\/td><\/tr>\n<tr><td>4 Gbit\/s<\/td><td>3.95 to 4.00 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>1 139 301, 2 155 696 gaps: 65.4 % dropped<\/td><\/tr>\n<tr><td>6 Gbit\/s<\/td><td>5.99 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>761 104, 2 536 726 gaps: 76.9 % dropped<\/td><\/tr>\n<tr><td>8 Gbit\/s<\/td><td>7.90 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>not run<\/td><\/tr>\n<tr><td>9.7 Gbit\/s (the line is full)<\/td><td>9.18 to 9.44 Gbit\/s<\/td><td>3 295 000, 0 gaps, 0.81 \u00b5s<\/td><td>484 520: desync (numbered 6 621 125 messages for 3 295 000 sent)<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Pure Verilog, 60 seconds at line rate<\/th><th>Result<\/th><\/tr><\/thead><tbody>\n<tr><td>Four sender threads at top speed for 60 seconds: 71 244 260 frames (73.3 GB) at 9.77 Gbit\/s, which fills the 10G link once preamble, checksum and inter-frame gap are added. The host NIC counted the same number of packets out and dropped none.<\/td><td>71 244 260 frames received, 2 347 498 367 records numbered 1 to 2 347 498 367 with 0 gaps (39.1 M messages\/s), 0 stall cycles, 0 frames dropped, 0 truncated, latency 0.01 to 0.81 \u00b5s<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The pure Verilog parser consumes one 64-bit word per 156.25 MHz clock, the XGMII data rate, so it cannot fall behind the wire. Its 0.81 \u00b5s maximum is the last message of a 1012-byte frame and equals the time the frame itself takes to arrive; the first message of a frame is out 10 to 20 ns after its bytes land. The LabVIEW export holds 1.3 Gbit\/s sustained (5.2 M msg\/s) and first loses messages at 1.4 Gbit\/s; its latency counter ticks at 6.4 ns and the figures above are converted accordingly.<\/p>\n\n\n<p class=\"wp-block-paragraph\">Two things changed from the figures published on 2026-11-12, both because the runs are now a hundred times or more longer. The LabVIEW export&#8217;s limit was given as 1.5 Gbit\/s; that held for a 400-frame burst (repeated today: clean) but not for 100 000 frames. And the export is sensitive to bursts: when the sender was allowed to catch up with back-to-back frames after falling behind, 11 of 19 runs between 500 Mbit\/s and 1.2 Gbit\/s came back with dropped or extra records, while every evenly paced run up to 1.3 Gbit\/s was clean. One evenly paced 500 Mbit\/s run made straight after a line-rate test came back desynchronised although the parser had been reset; two repeats were clean.<\/p>\n\n\n\n\n<h2 class=\"wp-block-heading\">Size and timing (from the Vivado build reports, not from a run)<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><\/th><th>LabVIEW export 2026-09-23 (mktdata_poc)<\/th><th>Pure Verilog (mktdata_rtl)<\/th><\/tr><\/thead><tbody>\n<tr><td>Parser fabric<\/td><td>11.3k LUTs, 4.3k FFs, 92 BRAM<\/td><td>2.3k LUTs, 2.1k FFs, 0 BRAM<\/td><\/tr>\n<tr><td>Timing<\/td><td>100 MHz, closes only with Performance_ExplorePostRoutePhysOpt<\/td><td>156.25 MHz, WNS +0.108 ns<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">What is not yet measured<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In-fabric throughput of the two 2026-10-20 builds (LabVIEW FPGA and Claude Export to Verilog): they need to be rebuilt in the harness that has the counters.<\/li>\n<li>Longer than a minute at 10G, and line rate with real exchange traffic (small frames).<\/li>\n<li>Line rate into software. All builds hand records to the CPU through a 32-bit AXI-Lite FIFO read by a polling process, about 8 000 records\/s. At line rate the records are parsed and then dropped at that FIFO. A DMA ring into DDR4 is the planned fix.<\/li>\n<li>Wire-to-application latency through that readout.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">For scale<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Published by Cboe, not measured here: for its busiest equities feed (EDGX), 2.14 M msg\/s sustained one-second peaks and about 26 M msg\/s in a 1 ms microburst; the equities feeds are shaped to 1 Gbit\/s. The LabVIEW IP covers a gigabit-shaped feed that is evenly paced, but not bursts above 1.3 Gbit\/s; the Verilog parser covers the 10G line-rate goal and the options feeds.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How the numbers are taken<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An AXI-Stream monitor in the fabric (<code>axis_mon<\/code>) counts records, sequence gaps, stall cycles and received frames, and records min\/max receive-to-parse latency. Its &#8220;sink&#8221; mode consumes the records in fabric so the host readout is out of the loop.<\/li>\n<li>The sender is <code>scripts\/send_pcap_udp.c<\/code> (pps, Mbit\/s, pcap-timestamp replay or top speed; several threads for line rate). One thread delivers about 6 Gbit\/s of these frames and two fill the link. It replaced the Python sender on 2026-11-17, which was erratic above 3 Gbit\/s. <code>scripts\/rate_sweep.py --sink<\/code> runs the sweep and reads the counters after each rate.<\/li>\n<li>Correctness is scored by <code>ip_export\/netlist_sim\/eval_sim.py<\/code>, which checks every field of every record against the capture.<\/li>\n<li>Timestamps: the LabVIEW designs count the 156.25 MHz MAC clock (6.4 ns per tick); the Verilog parser keeps a true 10 ns tick. LabVIEW latencies printed by the rate sweep as 10 ns ticks are shown here converted to 6.4 ns ticks. Figures published before 2026-10-11 used 10 ns per tick and are 1.56\u00d7 too large.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">History<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Date<\/th><th>Change<\/th><\/tr><\/thead><tbody>\n<tr><td>2026-11-17<\/td><td>Sender rewritten in C and everything on this page re-measured: 30 runs through the Run on Hardware service, both in-fabric sweeps with runs of 100 000 frames up to a full 10G link, and 60 seconds at line rate on the pure Verilog parser (2.35 billion messages, 0 lost). LabVIEW export sustained limit corrected from 1.5 to 1.3 Gbit\/s. The heartbeat capture now passes on the LabVIEW FPGA build: the earlier failure was caused by the Python sender, which sent each 8-byte heartbeat with 10 bytes of Ethernet padding attached.<\/td><\/tr>\n<tr><td>2026-11-12<\/td><td>Everything on this page re-measured on the board: 30 runs through the Run on Hardware service (3 implementations, 6 playback speeds, 5 captures), both in-fabric rate sweeps and the 10G burst. The poc_v build is now named &#8220;Claude Export to Verilog&#8221;. Starting a run on the live page now needs a Google sign-in.<\/td><\/tr>\n<tr><td>2026-11-11<\/td><td>All three installed implementations re-run through the live page: 659\/659 each. Pure Verilog bitstream rebuilt with a deeper output FIFO; rate sweep and 160 000-frame burst repeated on it: 0 loss, 0.81 \u00b5s. Playback speed added to the live page.<\/td><\/tr>\n<tr><td>2026-11-08<\/td><td>Pure Verilog parser: 10G burst with 0 loss, 0.81 \u00b5s. LabVIEW IP ceiling measured at 1.5 Gbit\/s with the new in-fabric counters.<\/td><\/tr>\n<tr><td>2026-11-06<\/td><td>First run over a real 10G cable from the Linux workstation: 659\/659 field-exact. Host readout found to cap the system at 3 Mbit\/s offered rate.<\/td><\/tr>\n<tr><td>2026-09-22<\/td><td>Frame-boundary corruption traced to the vendor IPv4\/UDP library; fixed and covered by a regression capture.<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n","protected":false},"excerpt":{"rendered":"<p>Every result on this page was measured on the board on 2026-11-17, unless a row says otherwise. Board: AMD Kria KR260 (XCK26, Zynq UltraScale+). Sender: Linux workstation, Intel E810, 3 m passive DAC into the KR260 SFP+ cage. Main test feed: a 20-frame, 659-message Cboe PITCH capture (14 message types, about 33 messages per 1028-byte &#8230; <a title=\"Benchmarks\" class=\"read-more\" href=\"https:\/\/fpganow.com\/index.php\/benchmarks\/\" aria-label=\"Read more about Benchmarks\">Read more<\/a><\/p>\n","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"class_list":["post-20071","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/pages\/20071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/comments?post=20071"}],"version-history":[{"count":4,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/pages\/20071\/revisions"}],"predecessor-version":[{"id":20080,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/pages\/20071\/revisions\/20080"}],"wp:attachment":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/media?parent=20071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}