Hacker News new | ask | show | jobs
by zamadatix 5 days 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.

2 comments

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.

There are hundreds of iperf servers (around the world) that run all the time
For the server I do

  tmux new -s iperf -d "iperf3 -s"
the first time I need it then forget about it.
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.