From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jcDTg65Kcz2xPf for ; Sat, 28 Nov 2026 15:19:19 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jcDTg5bPmz2xGr for ; Sat, 28 Nov 2026 15:19:19 +0000 (UTC) Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bit raw public key) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "michael.haj.ipfire.org", Issuer "YE1" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jcDTg1Jxdz1Dy; Sat, 28 Nov 2026 15:19:19 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795879159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jFnaTKWzI6Z2L/PUQDhDrdD5X8LsrrQG0JeCERYNm6E=; b=5RKboyD/aymRcV/xOD9a7l7Qhf+Kx40nxqsUapYStXpvZB2mofGkx1Dq79Sduowixxca0E 3Ml/NpaKqT9VvYAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795879159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jFnaTKWzI6Z2L/PUQDhDrdD5X8LsrrQG0JeCERYNm6E=; b=b+sGsuZEVN9FM0tw93rpBV4GKAcfl0A4bvxV2sifBAPKnn0Ql6PQfC9q7ruMnQCCmFg7Dp yyrOhR5PP5meP9yUy6pE7QFZhuZHR9YGB3xyzf2jtFO6B2tMYTsKhZ/0VvKuXSqxDqYX9h QCvRX0DiaMWmaQMD+DKWwYMjuibBJO/fjYk3XBvzhp0thx/wmiH/V7PeABCPibfU58mZdn mlswRiSrnLabujix9pjue4ojNCyyNP5d0b8ZqGgJEBs2qSoWZAGqQOSqOob1mAufhdVFcW PHaSr4K8xivcbKeCQespT0wIVbUwT3484lKTPFW0mZmVJfPpGvXHfZFNF+7u6g== Received: by michael.haj.ipfire.org (Postfix, from userid 0) id 4jcDTf6l9pzTptD; Sat, 28 Nov 2026 15:19:18 +0000 (UTC) From: Michael Tremer To: fireperf@lists.ipfire.org Cc: michael.tremer@ipfire.org Subject: Fireperf 0.4.0 released Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <4jcDTf6l9pzTptD@michael.haj.ipfire.org> Date: Sat, 28 Nov 2026 15:19:18 +0000 (UTC) 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