Active5 years, 11 months ago
What's new in JPerf 2.0.2: import/export feature implemented; WaitWindow behavior and UI improved (the one displayed when stopping iperf) System Look'n feel used under windows.
- Free download page for Project Iperf's iperf-2.0.5.tar.gz.This is the old, Iperf 2 code base. The primary development has moved to Iperf 3 which is hosted on Google Code.
- May 30, 2013 Iperf is a neat little tool with the simple goal of helping administrators measure the performance of their network. Worthy of mention is the fact that it.
I am trying to compile iPerf on Windows using minGW/MSYS. When I run ./configure everything looks okay:
Windows Download Free
When I try to make the program I am getting an error with the gettimeofday function even though in ./configure it claims that it found the function.
any ideas on what to do to fix these errors?
Thanks
![Iperf 2.0.5 Windows Download Iperf 2.0.5 Windows Download](https://idchowto.com/wp-content/uploads/2014/10/iperf-mode-r.png)
MpressivMpressiv
1 Answer
Notice:
Then if it says:
then obviously something is wrong in the headers of the library itself, i.e.
sys/time.h
is simply not included properly. Going to <iperf-dir>/include/headers.h
and skimming through it quickly reveals that sys/time.h
is not included when we are on Windows, i.e. in the #ifdef WIN32
block, while for Unix block (in #else
) it is indeed included. As a result, all you have to do is to add:to
<iperf-dir>/include/headers.h
for example on line #91.Although this will solve your current problem, you will later hit some uncompilable code (i.e. written with mistakes) during compilation and still fail. Furthermore, frankly speaking, the library is terribly designed in terms of Windows portability. The code looks quite ancient and ugly, so it's no surprise that it does not compile. You might have more luck with iperf 3 as they might have improved the quality of the library and its portability issues.
Alexander ShukaevAlexander Shukaev13.3k77 gold badges5858 silver badges7979 bronze badges
Not the answer you're looking for? Browse other questions tagged c++mingwcross-compilingcompiler-warningsmsys or ask your own question.
Active8 years, 5 months ago
Was testing out some wireless equipment today using iperf on (at first) two Windows XP workstations. Throughput testing was fairly consistent at around 18Mbps.
Moved equipment around (outside), tested again this time with a Windows 7 laptop and one of the XP machines again and throughput dropped to ~4Mbps. Thinking that I somehow had incorrect gain settings, poor LoS, etc., I changed configuration several times but to no avail.
Brought the gear back indoors and setup the antennas exactly as they had been with my original XP-to-XP iperf tests, reverted the configuration to as it was, but still using the laptop as the iperf server (
-s
) and again, ~4Mbps throughput.As a sanity check, I plugged the patch cable into the second XP workstation as I had originally tested it and voila: 18Mbps avg. throughput.
My question is: is this a known issue with iperf 2.0.5 on Windows 7 (compiled using cygwin) or is there something on Windows 7 as far as network settings that I should be looking at? Windows 7 laptop is a higher-end Dell laptop; only a few months old. Not sure of the NIC manufacturer at this point so could be Intel or Broadcom I imagine (the latter may be the culprit?).
gravyfacegravyface12.4k1515 gold badges5757 silver badges9595 bronze badges
1 Answer
Gravyface, I have had similar experiences as you have described... all under Windows XP... my solution to this issue was to burn a couple of Knoppix discs. My results instantly made sense, which leads me to believe it was an issue due to 'something from Redmond'... but I couldn't say what it was.
Windows Iperf 3
Mike PenningtonMike Pennington7,29099 gold badges3434 silver badges8080 bronze badges