DistroNews

The week in Linux, gathered from the distributions' own feeds

IPFire Blog

Fireperf 0.4.0: UDP, SCTP and a lot of your feedback

ipfire.org

Key points

IPFire has released Fireperf 0.4.0, its tool for testing network and system throughput with thousands of simultaneous connections and a live terminal display. The release adds UDP and SCTP testing, new test options, TCP diagnostics, a server mode suited to permanent use, and several iperf3 interoperability fixes, many of them prompted by user feedback on 0.3.0, released in October.

New protocols

  • --udp runs UDP tests, and --length sets the datagram size.
  • UDP tests report lost, reordered and duplicated datagrams and measure jitter, all shown live in the terminal view.
  • UDP sending batches up to 16 datagrams per system call and uses the kernel's GSO and GRO.
  • The io_uring backend now supports UDP and matches the epoll backend in speed.
  • --sctp adds SCTP testing, aimed at telephony, signalling and other SCTP-based workloads.

New test options

  • --bandwidth caps the amount Fireperf sends.
  • --direction selects which side sends the data.
  • --omit excludes the first seconds from the summary, so TCP ramp-up does not lower the average.
  • --bytes ends a test after a given number of bytes.
  • --interface binds the sockets to a specific network interface.
  • --cca selects the TCP congestion control algorithm, for comparing algorithms on a given network.

TCP diagnostics and server

  • By default Fireperf now queries the kernel for per-connection TCP data: round-trip time, retransmits and window size, displayed next to the throughput figures.
  • --no-tcp-info disables this.
  • The server now logs which tests clients have run; --quiet turns the log off.
  • A systemd unit is included so the server can run as a service on a dedicated test target.

iperf3 interoperability fixes

  • At the end of a test Fireperf now tells iperf3 servers that nothing more follows and closes streams cleanly when the client stops sending, making tests against newer iperf3 versions reliable.
  • Tests against iperf3 using a port range such as --port=5201:5210 used to start but transfer no data; this is fixed.
  • iperf3 tests now send all connections to the control connection's port, so they are no longer spread across a port range. The man page documents this.
  • A slow-answering iperf3 server is no longer misidentified as iperf2.

Reliability

  • A fuzzer now tests everything Fireperf reads from other systems.
  • Builds use LTO.
  • Smaller bugs in the io_uring code and in connection closing are fixed.
  • Many internal tests no longer depend on timing, which makes them more stable on busy build machines.

Availability

  • Fireperf 0.4.0 will ship in IPFire Core Update 207, allowing firewall performance testing directly from IPFire.
  • Fireperf is now in Debian testing as fireperf, split into fireperf-client and fireperf-server, packaged by Daniel Baumann.
  • The Debian package is currently a snapshot of 0.3.0. 0.4.0 is expected to follow, and until then IPFire's own repository packages can be used.
  • IPFire publishes signed packages of every release for Debian, Arch Linux, Enterprise Linux 9 and 10, and openSUSE Tumbleweed. They appear in its repository as soon as a release is built.
  • Maintainers who want to package Fireperf for other distributions are invited to contact the project.
  • The source tarball is fireperf-0.4.0.tar.xz, with a .asc signature alongside it.
  • Documentation is at man-pages.ipfire.org/fireperf. Bugs and feature requests go to bugzilla.ipfire.org or the Fireperf mailing list, and the project is asking for suggestions for 0.5.0.

Summary by DistroNews, based on the original post.

The full text is on the original page.

Read the original at ipfire.org