Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Windows Microsoft IT

Microsoft Does Not Want You To Use iPerf3 To Measure Network Performance on Windows 60

An anonymous reader shares a report: iPerf is a fairly popular cross-platform tool that is used by many to measure network performance and diagnose any potential issues in this area. The open-source utility is maintained by an organization called Energy Sciences Network (ESnet) and officially supports Linux, Unix, and Windows. However, Microsoft has now published a detailed blog post explaining why you should not use the latest version, iPerf3, on Windows installations.

Microsoft has highlighted three key reasons to discourage the use of iPerf3 on Windows. The first is that ESnet does not support this version on Windows, and recommends iPerf2 instead. On its website, ESnet has emphasized that CentOS 7 Linux, FreeBSD 11, and macOS 10.12 are the only supported platforms. Another very important reason not to use iPerf3 on Windows is that it does not make native OS calls. Instead, it leverages Cygwin as an emulation layer, which obviously comes with a performance penalty. This alone means that iPerf3 on Windows isn't really an ideal candidate for benchmarking your network. While Microsoft has praised the maintainers who are trying to get iPerf3 to run on Windows via emulation, another flaw with this approach is that some advanced networking options simply aren't available on Windows or may behave in unexpected ways.
This discussion has been archived. No new comments can be posted.

Microsoft Does Not Want You To Use iPerf3 To Measure Network Performance on Windows

Comments Filter:
  • by Anonymous Coward

    I'll use AI to measure network speed if I'm in the mood. And of course not "on windows", windows has been out of the window for 2 decades now.

  • It's 2024 - people still use Windows? Why?

    • For a lot of people, and a lot of use cases, it's the right tool for the right job.
      • by gweihir ( 88907 )

        Obviously not. But people are always slow to find out things and are always willing to believe empty promises.

    • by thegarbz ( 1787294 ) on Friday April 19, 2024 @11:56AM (#64408124)

      It's 2024 - people still use Windows? Why?

      How detached from the world do you need to be to ask that question? People use Windows because it works for them and they don't give a shit about culture wars. People use Windows because it comes provided for them without effort required to change something. People use Windows because their employers mandate it.

      Asking "why" facetiously isn't funny, it just makes it seem like you live in a fantasy.

      • by AmiMoJo ( 196126 )

        I use both Windows and Linux. Linux is not some wonderful OS where everything just works. It's got plenty of its own problems and annoyances.

        Okay, it doesn't spy on you out of the box, but if you can install Linux you can use Rufus and a few simple tools to disable all that crap on Windows too. With WSL you can run a lot of Linux stuff too.

        Pick you poison.

    • A lot of businesses still use Windows. So especially if your work/home separation isn't 100%, and a computer is a tool rather than something you like tinkering with or playing games on, you'll probably just leave Windows on your home machine too (because that's probably what it came with when you bought it).

      Rather than asking why people still use Windows, you might ask instead why we're still waiting for the Year of the Linux Desktop, even though Microsoft's relationship with customers has steadily progres

      • ...you might ask instead why we're still waiting for the Year of the Linux Desktop...

        One big reason for that is that the meaning "the year of the Linux desktop" has changed. Back when the expression was coined, it meant the year when Linux was good enough for the average computer user to use it as their OS without needing regular intervention from a tech support guru just to keep it working and up to date. From my POV, that came almost a quarter of a century ago, but by that time, it had mutated to mea
        • Beryl / compiz has been a Linux "seller" for almost twenty years now. I remember using it as an eye-catcher to get people to try switching when it first came out and configuring it, monitor res, and graphics drivers weren't dead simple. Now the only hard part about graphics drivers is if you're using your GPU for computation beyond your GUI.
          • Indeed they are. I use the Desktop Cube with Rotate Cube and people find that very impressive. I also have Show Mouse and find it quite useful to turn on when something's happened and you can't see just where the mouse is.
            • When I first started at my current job, I used the desktop cube on a small laptop instead of extra monitors. Pretty handy.
              • I sure like using it that way! I've told Windows users about the cube, and even shown them but AFAIK, not one of them has set their computer up that way, even though Windows lets you have multiple virtual desktops, although not as a cube. They tell me that they "just don't see the point."
                • For me, the cube acts like a 3D reminder of which desktop has what information. I also use "screen" a lot in terminals, but it's not always easy to remember which number screen I have a particular session in.
        • Allow me to suggest a slightly different definition. The "Year of the Linux Desktop" isn't when it overtakes Windows, but when it starts eating a decent-sized share of Microsoft's lunch, or maybe overtakes MacOS to move into second place.

          I agree with you 100% that from a practical standpoint, an average computer user could adapt to Linux right now, and it deserves a lot more love than it gets. I think the main driver at this point is the persistence of Windows in a lot of businesses, and the fact that it

    • by markdavis ( 642305 ) on Friday April 19, 2024 @12:21PM (#64408218)

      >"It's 2024 - people still use Windows? Why?"

      1) Because it "comes with the computer"
      2) Because people don't know any better
      3) Because it is what many know
      4) Because some businesses force it on everyone
      5) Because, sometimes, it is needed for certain applications

      That said, all my computers run only Linux, have for decades, and will likely continue to do so (plus hundreds of machines I am responsible for). And probably way more than half of MS-Windows machines out there could run Linux and do what the users need, just fine. The SNAFU's with MS-WIn 11 artificial hardware "requirements" will likely open more opportunity for Linux on millions of otherwise perfectly suitable machines that will, otherwise, end up in landfills.

      Better questions is to ask are: Why do certain popular commercial software vendors not support Linux? Why do we allow a near-monopoly (MS) to essentially force manufacturers to include their OS on most, if not all, of their computers? How much more abuse will MS-Windows customers tolerate before jumping ship?

      • I think your reasons are right but your priorities are mixed up.

        1) Because, sometimes, it is needed for certain applications
        2) Because it is what many know
        3) Because some businesses force it on everyone
        4) Because it "comes with the computer"
        5) Because people don't know any better (this isn't real)

        #3 is because of 1 and 2
        #4 is because of 1, 2 and 3

        "People don't know better" is a honestly bit insulting. I would never presume as a ride-or-die Windows user to tell a desktop Linux user they should use Windows b

        • >"People don't know better" is a honestly bit insulting"

          It wasn't meant to be insulting. But we (on Slashdot) are not the typical user, either. I deal with users of all types, all the time. And I can tell you that the majority don't know what an OS is, or that they even have a choice of OS on what they own.

          >" If I am a customer for a $8K a year software license is a $100 Windows license really that big an ask for the customer?"

          No, but it isn't just about price, it is about platform choice and every

          • by tlhIngan ( 30335 )

            >"Also there the issue of let's say I want to port my giant CAD app to Linux? Which distro? Which installer package? There's a lot of variables with that."

            Yes, but it is not that difficult to overcome. Porting/coding it is mostly a single investment/code base and will essentially work on any Linux. The packaging of it is easy, in comparison. You just have to follow some reasonable practices of using conservatively-available libraries, or include your own. Probably target a generic deb and rpm for the maj

          • Sure i didn't think you going for insulting but just say it out loud, it can read that way. Many home users may not be aware that today they can accomplish goals with Linux and that it's improved a lot. I am admittedly a little sensitive as the anti-MS around here can be browbeating at times.

            What does come with the platform is the question. Is it security? In enterprise environments the IT team is in charge of security and most times they want AD which there really isn't a Linux equivalent to (they exist

    • by Malc ( 1751 )

      Do you want to teach my 76 year mother how to use Linux and provide tech support? I certainly can't be arsed with that, meanwhile she uses Windows without any help.

      • Until my mom had a stroke at 93 she was running SCO Unix. I couldn't get her to change to something more modern because she was comfortable with what she had. Now that she's gone, I should clear out a lot of old hardware I kept around in case her DEC pc crashed.

      • Probably you don't need to provide tech support for Linux, because it just works. On Windows it's always "my printer doesn't work" or some random thing that doesn't work anymore after an update.
    • I use Windows, Ubuntu and MacOS. Other than a religious debate, each O/S works well in a desktop environment. There are quirks in each and I just ignore them instead of fighting. Overall, I rate them all very similarly. Privacy concerns in Windows seem to be somewhat overblown, considering the same users have no problems with platforms like Google or Meta.

    • The IT version of "MY TOOLCOLOR BRAND IS THE BEST!". It's totally fine to use nothing but TOOLCOLOR because you don't want to have 4 different battery types and chargers, but some people let TOOLCOLOR define them.
    • Find me the Linux equivalent of SolidWorks.

    • by antdude ( 79039 )

      Ask the employers, companies, etc.

    • by jonadab ( 583620 )
      Some combination of social inertia, network effect, bundling, and the fact that most people are either not technically inclined enough or not brave enough to try installing an operating system themselves.
  • A non-story story (Score:5, Insightful)

    by ratbag ( 65209 ) on Friday April 19, 2024 @11:47AM (#64408070)

    In a not-very-shocking turn of events, Microsoft seem to make several reasonable points about a piece of software in a measured way. There's almost nothing to see here, move along (after registering the mildest of surprise).

    • by HBI ( 10338492 )

      It probably would be more effective for them to apply patches to the OSS software in question to fix the problems rather than complaining.

      • by laxguy ( 1179231 )

        they are not complaining. simply stating you probably shouldnt do this, for these reasons, but if you still really want to, go ahead.

        ya know, as is standard for most things that are not supported.

      • Except it's not, read it in detail. The issue isn't just updating the software, it's writing it to work natively, AND getting users to use the correct version (they make a point of the fact that the most prominent hit when searching for the windows version gives you one that is massively out of date and also has bugs in it).

        Use the right tool for the job. Not all software is the right tool on every OS.

      • WSL was discussed in the comments, which makes sense given the current solution was built on cygwin,

        (blah blah blah that's not 'native' either)

        If marketing were in cahoots with engineering, you'd see a follow up blog that WSL would be *faster* in benchmarks than native Linux through the use of hypervirtualization! :)

        • by HBI ( 10338492 )

          I used to work in MSFT marketing. We'd insist on something like that rather than something like this. Putting our own presales people on the OSS submissions wouldn't have been beyond us.

      • Seems they'd be the ones that could measure how badly Cygwin is breaking things, and fix it if they wanted to.

        Meaning are there issues it doesn't correctly diagnose? Or as they claimed... call types that have undue performance burdens? Then work on them.

        Guessing Microsoft could be relatively good at changing their software in bad ways, and then make sure iPerf3 notices them as expected. Even contributing a test harness or fake driver to improve the QA process.

        Or they could just ignore the issues as they

    • >"Microsoft seem to make several reasonable points about a piece of software in a measured way."

      That was my take as well. A reasonable and valid argument as why to not use it. So used to FUD from them, that it is easy to jump to a wrong conclusion....

  • by UnknowingFool ( 672806 ) on Friday April 19, 2024 @12:02PM (#64408150)
    First of all, it is not just Microsoft saying not to use iPerf3. The developers of iPerf3 [es.net] says it is not fully supported on Windows. They recommend using the previous version iPerf2. Second, both companies "recommend" that you do not use it as it is unsupported. You might get it to work but the results might be suspect. Neither company is stopping you from using it.
    • Just for the record, ESnet is not a company. It is the research network of the US Department of Energy and iPerf3 is simply one of many contributions they have made to enhance network performance and analysis by both its users and the networking world in general. ESnet is primarily concerned with providing high performance networking to programs that need to transfer huge amounts of data between global researchers in many fields.
  • by Indy1 ( 99447 ) on Friday April 19, 2024 @12:05PM (#64408166)

    I have a bunch of servers at work on 10gb and 25gb connections, some Windows based and some Debian based. Windows based Iperf3 (even the newer one on the budman.pw site) can often give results that don't match up vs what the machines can transfer via SMB or HTTPS or NFS.

  • Is Microsoft able to spare the resources to fix the code or advise the opensource developers?
    Or are the hooks just not available without paid libraries?

    • Good questions. I'd add one more "Is iperf actually measuring speeds accurately and pissing off a lot of vendors who like to inflate their performance" ?
  • The performance hit from Cygwin is the primary reason it's not good on Windows. It's like running on the beach with Cygwin being the sand.

  • Anytime you are doing "science" you need to know what you are measuring.

    Cygwin inst emulation its a compatibility library. I highly doubt its use impacts network performance at all for certain parts of the scale.

    CPUs are fast network cards mostly are not. You 14th i5 is going to outrun that 2.5GbE adapter cygwin or not. So if what you are bench-marking is the peer, say some router or IoT thing etc; I don't see the issue.

    On the other hand if you are bench-marking the host with PCI-E 10GbE card or something;

  • And isn't Cygwin only a problem if the test ends up being CPU-limited? I've run iPerf3 on Windows on fairly old computers and they still saturate Gigabit-Ethernet, even on long distance links with non-local latency. What's the issue?

  • Cygwin is a way to turn *nix code into functional Windows results at compile time. Meaning yes, there is 1 more layer between any iPerf3 code and the native Windows calls, but it's not like there is a huge amount of work being done between the expected *nix calls and whatever Windows does.

    Or there shouldn't be... I'm not a network diagnostic programmer. Nor have I written much at that level to compare both API's for differences.

    Funny enough, Windows used to have a subsystem to allow *nix program API call

  • Microsoft actively sabotaging Windows: this tool *should* perform well under the Linux System On Windows, which *supposed to be* as fast, instead they highlight it usage under Cygwin, which is an emulator. Microsoft continuously pushes features (such as online accounts, Copilot or Cortana) that almost nobody wants, and are difficult to disable. If not for majority of computers being sold with Windows, it would be a dead OS already.
    PS And the sheer stupidity Windows API: for example you use mostly the same
  • by gweihir ( 88907 ) on Friday April 19, 2024 @01:48PM (#64408572)

    And are now trying to lie about it? Seriously, who do they think is left that would believe them?

    • Who are you talking about? Microsoft, or the creators of Iperf3 who themselves don't recommend it for Windows for the same reason?

      gweihir your ignorant anti-MS posts are getting tired. Stick to topics where you can at least get other people on your side, rather than topics where original creators of the software agree with MS's position on it. And be a bit more aware of your topic, literally half the posts here right now are talking about exactly the performance issues from TFS.

  • I have used both versions of the utility along with the very old first edition for about 25 years and I did notice that they were very inconsistent results with the iper 3 utility on Windows, especially when using faster than gigabit connections such as 2.5 GB or 10 GB NICs.

    They were also incompatibility issues trying to get version 2 to work with version 3 since they wouldn't talk to each other. So I ended up getting everything working with version 2 so I could cross-test speed between Unix and Linux opera

  • by klui ( 457783 )

    I use Cygwin under my Windows notebook from work and my workstation at home. It works pretty well.

    I tried WSL when it first came out but it is a per-user install so I don't use it. I wonder if running iPerf3 under WSL is better than using a version compiled with Cygwin libraries.

    • I wonder if running iPerf3 under WSL is better than using a version compiled with Cygwin libraries.

      Not especially. iPerf3 is very performant and sensitive, which makes it a great tool for measuring network performance, but that also makes it sensitive to even small perturbations.

      WSL2 is a virtual machine, so all network traffic goes through the virtual NAT system. WSL1 is technically a compatibility layer, but its recreating/emulating of Linux I/O typically comes at a pretty hefty performance hit.

  • I don't like to agree with MS, but here they are completely correct. Also, CentOS 7 is EOL in like a month, so I wouldn't even trust iperf3 on Linux either. I think its time to just abandon that as a tool. It had its day.

Technology is dominated by those who manage what they do not understand.

Working...