Modernizing iperf/iperf3 and introducing fireperf

(blog.daniel-baumann.ch)

153 points | by edward 2 days ago

8 comments

  • zamadatix 1 day ago
    Super glad to see the default systemd service profile. That was always a bit annoying.

    I don't think "iperf" should assume either version, lest there be even more confusion than there already is. If it was ever going to be cleaned up it would need to be done in a way that "iperf" could do both 2 or 3 based on server/client detection (or forced CLI argument override), but I'm not sure anyone cares enough to try to make that possible as it was never designed to work that way.

    • sam_lowry_ 1 day ago
      I used iperf3 just yesterday to check for bandwidth between two servers, and this involved running `iperf3 -s` on one server, then `ipref3 -c $OTHER_IP` on the other server.

      I may be mistaken by most iperf/iperf3 usage is like that, I do not see why someone needs a systemd service for it. If anything, I'd set up my own systemd timer that does regular checks and reports problems if needed.

      P.S. I feel like Debian maintainers often get into the trap of overengineering what should be simple packaging of upstream code.

      P.P.S Exim packaging in Debian is an extreme example of exuberance in maintainership. Having used it for years I hate it passionately.

      • ape4 1 day ago
        There are hundreds of iperf servers (around the world) that run all the time
      • trevithick 1 day ago
        For the server I do

          tmux new -s iperf -d "iperf3 -s"
        
        the first time I need it then forget about it.
      • wjddidi 1 day ago
        [flagged]
    • adrian_b 1 day ago
      In TFA it is said that the fireperf interface for iperf2/iperf3 auto-detects the server and uses the appropriate client.

      Thus if you install that package it does what you want.

  • bacaw 1 day ago
    I'd love to use fireperf but it doesn't seem to support UDP or bandwidth limiting, so I think I'll still be using iperf2
    • camkego 5 hours ago
      From the man page, it looks like it supports UDP, but only with epoll and not io_uring. Which is a bit disappointing for my needs.

      https://man-pages.ipfire.org/fireperf/fireperf.html

      • mstremer 4 hours ago
        fireperf is still a young project, if there is a reason for it things can of course be added.
    • wtch98 1 day ago
      That is a significant problem which relegates this from "Oh this could be the future" to "oh how cute someone's skinned iperf"
  • kiwijamo 13 hours ago
    Slightly related but not related: Are there any good tools to measure performance that matters more for e.g. video calls/meetings such as Zoom/FaceTime/etc? AFAIK iperf* is more about pure throughput so I assume not the best tool to diagnose issues with real time video calling/conference/etc applications.

    I had an annoying issue with my Zoom call freezing randomly and ended up just running a ping in the background. Turned out my wifi adapter just stops working for a second or two every so many minutes. A tool to just run in the background and highlight stuff like that would be cool. Ping is OK but you do have to read through the output to catch where the issue occurs.

    • luckman212 11 hours ago
      I recently discovered Orb[0] (from one of the original ookla guys) So far it seems great, and is highly customizable and deployable on almost any type of endpoint- laptops, routers, raspis etc. It measures more than just ping RTT and thruput, it runs QUIC/h3 queries and can be configured to monitor HTTP response times to a custom set of services, "time to first byte" etc, and keeps sub-minute history graphs.

      [0] https://orb.net

  • riobard 1 day ago
    > therefore the one is not replacing the other (iperf2 in general is the better tool than iperf3, eventhough the common misconception is that iperf3 is supposedly better than iperf2 because the number 3 is greater than the number 2)

    Note to open source contributors: please make a new name if the intention isn't to maintain the legacy codebase. Using the same name with higher version number for completely new codebase is too confusing.

    • QuantumNomad_ 1 day ago
      > Using the same name with higher version number for completely new codebase is too confusing.

      Proprietary software do this too.

      It quickly gets into Ship of Theseus territory anyway to make a rule about changing name when changing some amount of the code.

      For example I doubt that there is any meaningful amount of code left over in the latest version of Photoshop that is exactly the same as it was in version 1.0. At the very least the code has been rewritten in another language by now even if it came from 1.0 originally. As Photoshop 1.0 was written in Pascal and Assembly.

      • riobard 22 hours ago
        At least it tries to maintain some level of compatibility and you can reasonably expect Photoshop N to be better than Photoshop N-1.

        It would be completely nuts if Photoshop N is incompatible with Photoshop N-1 and the two actually are not related in code at all.

  • hizlikovboy27 1 day ago
    Nice work modernizing the debian packages. So, how does Fireperf perform compared to iperf3 under heavy network loads especially when handling multiple clients simultaneously?
  • ReDress 1 day ago
    [dead]
  • vanshiglobal 1 day ago
    [flagged]