public inbox for fireperf@lists.ipfire.org
 help / color / mirror / Atom feed
* Fireperf 0.4.0 released
@ 2026-11-28 15:19 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2026-11-28 15:19 UTC (permalink / raw)
  To: fireperf; +Cc: michael.tremer

Hello everyone,

Fireperf 0.4.0 is out. Since 0.3.0, a lot of feedback has arrived, and we
have implemented all of it in this release. The result is a more complete
and more reliable Fireperf than 0.3.0. Thank you to everyone who tried it
and told us what was missing or broken.

Highlights
==========

 * UDP and SCTP. --udp runs UDP tests with a configurable datagram size
   (--length). Fireperf counts lost, reordered and duplicated datagrams and
   measures the jitter. --sctp adds SCTP.

 * Fast UDP. Many datagrams are sent and received with one system call
   (GSO/GRO), and io_uring supports UDP too.

 * More control over a test: --bandwidth limits what is sent, --direction
   chooses who sends, --omit leaves the first seconds out of the summary,
   --bytes stops the test after a number of bytes, --interface binds the
   sockets to a network interface and --cca selects the TCP congestion
   control algorithm.

 * TCP details by default. RTT, retransmits and window size are shown for
   every connection. --no-tcp-info switches this off.

 * A better server. The server logs the tests that clients have run
   (--quiet silences it), and a systemd unit runs it as a service.

 * More reliable iperf3 tests. Streams are shut down cleanly when the client
   stops sending, and tests against newer iperf3 versions work reliably.

 * More robust code. Fireperf is built with LTO, and a fuzzer tests
   everything that is read from others.

Changes in detail
=================

New features

 * Add UDP with --udp and --length, with counters for lost, reordered and
   duplicated datagrams and a jitter measurement
 * Add a transport that tells which protocol the tests run with
 * Add SCTP with --sctp
 * Add --bandwidth to limit what we send
 * Add --direction to select who sends data
 * Add --omit to leave the first seconds out of the summary
 * Add --bytes to stop a test after a number of bytes
 * Add --interface to bind the sockets to a network interface
 * Add --cca to select the congestion control algorithm of TCP
 * Add --tcp-info and ask TCP about the connections by default
 * Add --enable-lto to configure, and build with LTO in the packages and in
   the Jenkins builds
 * Add a systemd unit that runs the server as a service
 * Log the tests that clients have run, and add --quiet to the server

UDP

 * Send up to 16 datagrams with one system call, and send and receive in
   batches on both sides
 * Use UDP_SEGMENT and UDP_GRO to handle datagrams in larger pieces, with
   the size selectable through a socket option
 * Let a datagram say how large it is, and reject sizes for UDP_GRO that
   cannot be right
 * Receive datagrams with less work, and make io_uring as fast as epoll
 * Add io_uring support for UDP
 * Receive datagrams that the kernel has put together on the sockets of a
   client, too
 * Tell the other side what we have received
 * Ignore data while waiting for the answer to the hello
 * Show what has happened to datagrams in the TUI

iperf3

 * Tell servers that nothing follows when a test has ended
 * Shut down the streams when the client stops sending
 * Send all connections of a test to the port of the control connection.
   This fixes iperf3 tests with a port range (--port=N:M), which started but
   then transferred no data. The man page now says that iperf3 tests are
   not spread across a port range.
 * Give the server a moment to answer when the hello is late, so that
   Fireperf no longer takes a slow iperf3 server for iperf2

Fixes

 * Enable the io_uring ring with io_uring_register()
 * Register the buffer pool only once all workers have their rings
 * Don't read the head of a list again after closing what was in it
 * Use the type of the atomic for the compare-and-swap of the throttle
 * Align the initialiser of fireperf_stats_step()

Tests and build

 * Add a fuzzer for everything that we read from others
 * Don't depend on timing in omit.sh and the iperf tests, and compare what
   omit.sh counts with what the server has sent
 * Don't flood iperf3 when the client sends
 * Look up the functions of dropdgram before any thread runs
 * Don't expect that no datagram gets lost in udp.sh
 * Skip cca.sh where no algorithm can be selected
 * Skip the names in address.sh if localhost cannot be resolved
 * Compare floating point numbers in test-stats with a tolerance
 * Add a regression test for iperf3 with port ranges
 * Jenkins: leave external headers out of the coverage report, and don't run
   all tests at the same time

Documentation and translations

 * The man page describes transports and how UDP works, and says that
   datagrams carry their size
 * The POT file is updated for all new strings. The German translation is
   complete for the strings that existed before the update, and the new
   strings still need translating.

Download
========

 * Source: https://source.ipfire.org/releases/fireperf/fireperf-0.4.0.tar.xz
   (signed: fireperf-0.4.0.tar.xz.asc)
 * Packages for Debian, Arch Linux, EL 9/10 and openSUSE Tumbleweed are in
   the stable repositories.

Please report bugs at https://bugzilla.ipfire.org.

Best regards,
Michael


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-28 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-28 15:19 Fireperf 0.4.0 released Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox