Iperf unMenu Package


Recommended Posts

I compiled Iperf 2.0.5 and got it up and running on unRAID to do some network analysis so I thought I would package it up and create an unMenu package for it.

 

Iperf is a tool to test network bandwidth.  It's very useful if you think you are having network issues, or if you just want to see what kind of transfer speeds are achievable between two machines on the network to which they are attached.  It is a command line tool but there is a front end available, Jperf, that makes it easy to use and gives a nice pretty picture when it is finished with the test :)  Jperf is distributed with an old version of the Windows Iperf which when used with version 2.0.5 will give incorrect results.  I compiled Iperf 2.0.5 with Cygwin and made it and the cygwin1.dll available here.  To use it with Jperf, download the binary and overwrite the iperf.exe distributed with Jperf with this one and the cygwin1.dll.  It is a fully functional binary so you can use it from the command line as well if you prefer.

 

If you want to test from a Linux machine, most distros have a package available for Iperf, just make sure you are getting the 2.0 release not 1.0.  Mac users, you're on your own; but I bet you could compile it from source if there is not a package of some sort available!

 

Mac instructions from Benni-chan:

You have to have xcode installed, since you need to compile it from the source.

Download and extract the source and use following commands

./configure
make
sudo make install

 

Note that installing Iperf on unRaid just installs the binary files, it doesn't actively start the process which is not something you want running all the time anyway.  You need to log into your unRAID box and start Iperf when you want to run a test and stop it with CTRL-C when you are finished.  There is a good tutorial on using Iperf here.  I don't have any affiliation with that site, but it's the first one that Google gave up when I searched for Iperf tutorial :)

 

To keep the GPL/BSD police happy I have made the source code available for Iperf and Cygwin but I'd prefer you use the project's bandwidth instead of mine ;)

 

If you have any problems, questions, or suggestions let me know.

Link to comment
  • Replies 58
  • Created
  • Last Reply

Top Posters In This Topic

Very nice initiative.  :)

 

I tried installing through unMenu after copying the package to the package dir , and it apparently installed well according to unMenu, however, Jperf 2.0.2 gives me:

 

bin/iperf.exe -c tower -P 1 -i 1 -p 5001 -f k -t 10 -T 1

connect failed: Connection refused

Done.

 

I'm sure it's really simple...  :-\

Link to comment

Mac users, you're on your own; but I bet you could compile it from source if there is not a package of some sort available!

 

it's pretty easy to install iperf on a mac. you have to have xcode installed, since you need to compile it from the source.

but that's easy enough.

download and extract the source and use following commands

./configure
make
sudo make install

Link to comment

Very nice initiative.  :)

 

I tried installing through unMenu after copying the package to the package dir , and it apparently installed well according to unMenu, however, Jperf 2.0.2 gives me:

 

bin/iperf.exe -c tower -P 1 -i 1 -p 5001 -f k -t 10 -T 1

connect failed: Connection refused

Done.

 

I'm sure it's really simple...  :-\

 

before you can connect to the server, you have to start iperf on your unraid.

 

log in via telnet and run

iperf -s -P 0 -i 1 -p 5001 -f k

 

after that, you can connect from your client and perform the test.

 

 

Update:

I just compared my connection via wifi (n) and gbit wired network:

iperf -c 192.168.0.15 -P 1 -i 1 -p 5001 -f k -t 10 -T 1
------------------------------------------------------------
Client connecting to 192.168.0.15, TCP port 5001
TCP window size:  129 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.125 port 50535 connected with 192.168.0.15 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  9728 KBytes  79692 Kbits/sec
[  3]  1.0- 2.0 sec  9600 KBytes  78643 Kbits/sec
[  3]  2.0- 3.0 sec  9216 KBytes  75497 Kbits/sec
[  3]  3.0- 4.0 sec  9600 KBytes  78643 Kbits/sec
[  3]  4.0- 5.0 sec  9984 KBytes  81789 Kbits/sec
[  3]  5.0- 6.0 sec  10112 KBytes  82838 Kbits/sec
[  3]  6.0- 7.0 sec  10112 KBytes  82838 Kbits/sec
[  3]  7.0- 8.0 sec  10368 KBytes  84935 Kbits/sec
[  3]  8.0- 9.0 sec  10240 KBytes  83886 Kbits/sec
[  3]  9.0-10.0 sec  10368 KBytes  84935 Kbits/sec
[  3]  0.0-10.0 sec  99456 KBytes  81386 Kbits/sec
Done.

iperf -c 192.168.0.15 -P 1 -i 1 -p 5001 -f k -t 10 -T 1
------------------------------------------------------------
Client connecting to 192.168.0.15, TCP port 5001
TCP window size:  129 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.128 port 50566 connected with 192.168.0.15 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  94208 KBytes  771752 Kbits/sec
[  3]  1.0- 2.0 sec  94976 KBytes  778043 Kbits/sec
[  3]  2.0- 3.0 sec  102016 KBytes  835715 Kbits/sec
[  3]  3.0- 4.0 sec  98176 KBytes  804258 Kbits/sec
[  3]  4.0- 5.0 sec  96000 KBytes  786432 Kbits/sec
[  3]  5.0- 6.0 sec  94848 KBytes  776995 Kbits/sec
[  3]  6.0- 7.0 sec  97408 KBytes  797966 Kbits/sec
[  3]  7.0- 8.0 sec  100480 KBytes  823132 Kbits/sec
[  3]  8.0- 9.0 sec  95488 KBytes  782238 Kbits/sec
[  3]  9.0-10.0 sec  108800 KBytes  891290 Kbits/sec
[  3]  0.0-10.0 sec  982528 KBytes  804794 Kbits/sec
Done.

 

the first ist the wifi and the second the gbit lan.

I think the values are ok (81Mbit/s on wifi, 805 Mbit/s on gbit lan). I hoped, wifi would be a bit higher, since my macbook is standing right next to the access point (I'm just too lazy to insert the LAN cable).

Link to comment

Thank you

 

before you can connect to the server, you have to start iperf on your unraid.

 

log in via telnet and run

iperf -s -P 0 -i 1 -p 5001 -f k

 

after that, you can connect from your client and perform the test.

 

That was exactly it  :D I thought the unMenu installation process activated a listening port for the tool. Obviously not the case.  ::)

 

I'm however only getting approx 510000 Kbit/s form my workstation and 400000 Kbit/s from my laptop. Tried to change cable to unRAID server with new Cat6e. No change.

 

Something to investigate. Will try to swap switch later.

Link to comment

Having a problem getting this working.  Running Windows 7 64 bit and unRAID 4.7

 

1 - Downloaded .conf file and installed on unRAID box.  Package manager downloaded and installed iperf.  The iperf command above runs and says it is listening on port 5001.  I think all of this is good.

 

2 - Downloaded and installed JRE from Sun. 

 

3 - Downloaded jperf package (2.0.2) from linked page.  unzipped contents into a directory.

 

4 - Downloaded iperf zip file from link.  Overwrote the iperf.exe and it added the cygwin1.dll to same directory

 

Whenever I run the jperf.bat command, it immediately exits.  If I run from a command line:

 

javaw -classpath jperf.jar;lib\forms-1.1.0.jar;lib\jcommon-1.0.10.jar;lib\jfreechart-1.0.6.jar;lib\swingx-0.9.6.jar net.nlanr.jperf.JPerf

 

it immediately exits.  No error messages of any kind.

 

If I try running from other than the jperf directory, I get an error dialog box saying ...

 

Cound not find the main class: net.nlanr.jperf.JPerf.  Program will exit.

 

Since I am not getting that error when I am in the jperf directory, I am assuming java is doing something.

 

I went into the Java control panel, and tried to turn on the Java console.  But I don't see it anywhere. 

 

Just have no idea how to troubleshoot from here.

 

Any help greatly appreciated!

Link to comment

can't really help you with that problem, since i currently have no windows client running to test.

but you can perform the test manually from command line:

iperf -c tower -P 1 -i 1 -p 5001 -f k -t 10

 

replace "tower" with your unraid hostname or IP, if you changed it.

 

Update:

Are you sure, that jperf really doesn't start. when you run the .bat file, a command window will open and close again after a few seconds. some seconds later, jperf should open.

 

check processes in the task manager, if javaw is running. if it is, exit it and try again.

Link to comment

I guess it is cheating if you run the client in another telnet session on the same machine.

3100 Mbits/sec is not too bad.

 

------------------------------------------------------------

Client connecting to 192.168.2.100, TCP port 5001

TCP window size: 0.06 MByte (default)

------------------------------------------------------------

[  3] local 192.168.2.100 port 34603 connected with 192.168.2.100 port 5001

[ ID] Interval      Transfer    Bandwidth

[  3]  0.0- 1.0 sec  370 MBytes  3108 Mbits/sec

[  3]  1.0- 2.0 sec  370 MBytes  3102 Mbits/sec

[  3]  2.0- 3.0 sec  381 MBytes  3199 Mbits/sec

[  3]  3.0- 4.0 sec  381 MBytes  3195 Mbits/sec

[  3]  4.0- 5.0 sec  381 MBytes  3197 Mbits/sec

[  3]  5.0- 6.0 sec  380 MBytes  3189 Mbits/sec

[  3]  6.0- 7.0 sec  378 MBytes  3168 Mbits/sec

[  3]  7.0- 8.0 sec  379 MBytes  3177 Mbits/sec

[  3]  8.0- 9.0 sec  377 MBytes  3163 Mbits/sec

[  3]  9.0-10.0 sec  382 MBytes  3204 Mbits/sec

[  3]  0.0-10.0 sec  3781 MBytes  3170 Mbits/sec

 

Joe L.

 

Link to comment

Thanks Benni-chan!  That worked.

 

Here are the results.  Any interpretation?

 

Client Side

 

------------------------------------------------------------
Client connecting to tower, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.11 port 50402 connected with 192.168.1.13 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  61952 KBytes  507511 Kbits/sec
[  3]  1.0- 2.0 sec  61952 KBytes  507511 Kbits/sec
[  3]  2.0- 3.0 sec  61696 KBytes  505414 Kbits/sec
[  3]  3.0- 4.0 sec  60672 KBytes  497025 Kbits/sec
[  3]  4.0- 5.0 sec  60928 KBytes  499122 Kbits/sec
[  3]  5.0- 6.0 sec  62208 KBytes  509608 Kbits/sec
[  3]  6.0- 7.0 sec  61568 KBytes  504365 Kbits/sec
[  3]  7.0- 8.0 sec  61952 KBytes  507511 Kbits/sec
[  3]  8.0- 9.0 sec  62976 KBytes  515899 Kbits/sec
[  3]  9.0-10.0 sec  62720 KBytes  513802 Kbits/sec
[  3]  0.0-10.0 sec  618752 KBytes  506780 Kbits/sec

 

Server Size (unRAID)

 

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.1.13 port 5001 connected with 192.168.1.11 port 50402
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0- 1.0 sec  61905 KBytes  507127 Kbits/sec
[  4]  1.0- 2.0 sec  62039 KBytes  508222 Kbits/sec
[  4]  2.0- 3.0 sec  61719 KBytes  505601 Kbits/sec
[  4]  3.0- 4.0 sec  60550 KBytes  496022 Kbits/sec
[  4]  4.0- 5.0 sec  61022 KBytes  499892 Kbits/sec
[  4]  5.0- 6.0 sec  62121 KBytes  508897 Kbits/sec
[  4]  6.0- 7.0 sec  61621 KBytes  504796 Kbits/sec
[  4]  7.0- 8.0 sec  61888 KBytes  506987 Kbits/sec
[  4]  8.0- 9.0 sec  63005 KBytes  516133 Kbits/sec
[  4]  9.0-10.0 sec  62755 KBytes  514093 Kbits/sec
[  4]  0.0-10.1 sec  618752 KBytes  502076 Kbits/sec

 

Link to comment

From one of my unRAID server's to the other.

 

------------------------------------------------------------

Client connecting to 192.168.2.100, TCP port 5001

TCP window size: 0.06 MByte (default)

------------------------------------------------------------

[  3] local 192.168.2.110 port 36813 connected with 192.168.2.100 port 5001

[ ID] Interval      Transfer    Bandwidth

[  3]  0.0- 1.0 sec  94.9 MBytes  796 Mbits/sec

[  3]  1.0- 2.0 sec  94.4 MBytes  792 Mbits/sec

[  3]  2.0- 3.0 sec  94.6 MBytes  794 Mbits/sec

[  3]  3.0- 4.0 sec  94.4 MBytes  792 Mbits/sec

[  3]  4.0- 5.0 sec  94.1 MBytes  790 Mbits/sec

[  3]  5.0- 6.0 sec  93.8 MBytes  786 Mbits/sec

[  3]  6.0- 7.0 sec  94.6 MBytes  794 Mbits/sec

[  3]  7.0- 8.0 sec  94.4 MBytes  792 Mbits/sec

[  3]  8.0- 9.0 sec  94.1 MBytes  790 Mbits/sec

[  3]  9.0-10.0 sec  94.6 MBytes  794 Mbits/sec

[  3]  0.0-10.0 sec  946 MBytes  792 Mbits/sec

 

Looks like windows is slowing you down some.

Link to comment

Here are my results from windows (client) to unRAID (server) over Gigabit switch (HP 1410-16G):

 

Client (Windows PC):

F:\iperf-2.0.5>iperf.exe -c tower -P 1 -i 1 -p 5001 -f k -t 10 -T 1
------------------------------------------------------------
Client connecting to tower, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.2.100 port 63842 connected with 192.168.2.104 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  54784 KBytes  448791 Kbits/sec
[  3]  1.0- 2.0 sec  55296 KBytes  452985 Kbits/sec
[  3]  2.0- 3.0 sec  55808 KBytes  457179 Kbits/sec
[  3]  3.0- 4.0 sec  56064 KBytes  459276 Kbits/sec
[  3]  4.0- 5.0 sec  56192 KBytes  460325 Kbits/sec
[  3]  5.0- 6.0 sec  55424 KBytes  454033 Kbits/sec
[  3]  6.0- 7.0 sec  56448 KBytes  462422 Kbits/sec
[  3]  7.0- 8.0 sec  56192 KBytes  460325 Kbits/sec
[  3]  8.0- 9.0 sec  56192 KBytes  460325 Kbits/sec
[  3]  9.0-10.0 sec  56192 KBytes  460325 Kbits/sec
[  3]  0.0-10.0 sec  560384 KBytes  457739 Kbits/sec

 

Tried another Windows client (LAPTOP) and same results (wired).

 

 

Server:

root@Tower:~# iperf -s -P 0 -i 1 -p 5001 -f k
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.2.104 port 5001 connected with 192.168.2.100 port 63842
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0- 1.0 sec  54848 KBytes  449315 Kbits/sec
[  4]  1.0- 2.0 sec  55280 KBytes  452858 Kbits/sec
[  4]  2.0- 3.0 sec  55781 KBytes  456957 Kbits/sec
[  4]  3.0- 4.0 sec  56048 KBytes  459148 Kbits/sec
[  4]  4.0- 5.0 sec  56240 KBytes  460722 Kbits/sec
[  4]  5.0- 6.0 sec  55376 KBytes  453636 Kbits/sec
[  4]  6.0- 7.0 sec  56444 KBytes  462387 Kbits/sec
[  4]  7.0- 8.0 sec  56253 KBytes  460827 Kbits/sec
[  4]  8.0- 9.0 sec  56129 KBytes  459811 Kbits/sec
[  4]  9.0-10.0 sec  56235 KBytes  460675 Kbits/sec
[  4]  0.0-10.1 sec  560384 KBytes  456197 Kbits/sec

 

Link to comment

Hah I'm glad I gave all you guys something to play with over the weekend ;)

 

Having a problem getting this working.  Running Windows 7 64 bit and unRAID 4.7

 

1 - Downloaded .conf file and installed on unRAID box.  Package manager downloaded and installed iperf.  The iperf command above runs and says it is listening on port 5001.  I think all of this is good.

 

2 - Downloaded and installed JRE from Sun. 

 

3 - Downloaded jperf package (2.0.2) from linked page.  unzipped contents into a directory.

 

4 - Downloaded iperf zip file from link.  Overwrote the iperf.exe and it added the cygwin1.dll to same directory

 

Whenever I run the jperf.bat command, it immediately exits.  If I run from a command line:

 

javaw -classpath jperf.jar;lib\forms-1.1.0.jar;lib\jcommon-1.0.10.jar;lib\jfreechart-1.0.6.jar;lib\swingx-0.9.6.jar net.nlanr.jperf.JPerf

 

it immediately exits.  No error messages of any kind.

 

If I try running from other than the jperf directory, I get an error dialog box saying ...

 

Cound not find the main class: net.nlanr.jperf.JPerf.  Program will exit.

 

Since I am not getting that error when I am in the jperf directory, I am assuming java is doing something.

 

I went into the Java control panel, and tried to turn on the Java console.  But I don't see it anywhere. 

 

Just have no idea how to troubleshoot from here.

 

Any help greatly appreciated!

 

I see you got it working from command line, but you may need the JDK for Jperf to work.  I know it works on Windows 7 x64 & x32 cause I've tried it on both; granted I do have the current JDK installed on all my boxen.  Let me know if you install the JDK and it fixes it and I'll update the first post to help prevent others from falling down that hole.

 

I guess it is cheating if you run the client in another telnet session on the same machine.

3100 Mbits/sec is not too bad.

Cheater ;D although surely someone around here has a 10gbps switch they can wow us with!

 

Here are the results.  Any interpretation?

 

As Benni mentioned 500Mbps is reasonable, but I would expect 750-800 for a single hop on a decent switch that isn't very busy :)

 

 

Link to comment

As Benni mentioned 500Mbps is reasonable, but I would expect 750-800 for a single hop on a decent switch that isn't very busy :)

 

My house was wired with CAT-5, so am limited by that.  There are also 2 gigabit switches between my workstation and unRAID server.  I do have a way that I could wire the two routers together with CAT-5e or CAT-6, and bypass any CAT-5 wiring in the signal path between my media room any my basement (where the unRAID server lives).  I would have to fish a wire but would not be too hard.

 

Worthwhile?  Would the extra bandwidth equate to better unRAID performance?

Link to comment

I have a gigabit switch (HP 1410-16G) and my PC, LAPTOP and unRAID are directly connected to it.

I got the same speed as bjp999 ~500Mbps.

could it be the unRAID hardware? I am using X7SPA-HF motherboard.

 

More likely your PC.  

 

As I reported earlier, I get nearly 800Mbit/sec going through 2 Gigabit switches between two unRAID servers.  (Older server is the original Intel D865GLCLK Motherboard, the newer has the SuperMicro C2SEE motherboard, older one running 4.7, newer running 5.0b3 unRAID.)

 

[ D865GLCLK - unRAID 4.7] ------- [ GB Switch ] -------- [ GB Switch ] ------- [ C2SEE - unRAID 5.0beta3 ]

Joe L.

Link to comment

My house was wired with CAT-5, so am limited by that.  There are also 2 gigabit switches between my workstation and unRAID server.  I do have a way that I could wire the two routers together with CAT-5e or CAT-6, and bypass any CAT-5 wiring in the signal path between my media room any my basement (where the unRAID server lives).  I would have to fish a wire but would not be too hard.

Worthwhile?  Would the extra bandwidth equate to better unRAID performance?

I doubt it would be worth the effort.  500Mbps is a little over 60MB/s so you wouldn't be seeing that much of a performance increase.

 

I have a gigabit switch (HP 1410-16G) and my PC, LAPTOP and unRAID are directly connected to it.

I got the same speed as bjp999 ~500Mbps.

could it be the unRAID hardware? I am using X7SPA-HF motherboard.

Joe already said it's probably not your motherboard, but just for comparison I'm running unRaid on X7SPE-HF and getting ~800Mbps.  Like Joe said, it's probably your OS.

 

Both PC and Laptop are Windows Vista (latest SP). Do you think Windows 7 or Windows XP will give better results?

It's not all about raw bandwidth.  I'm not sure if there would be a big difference in Vista/7, but XP will be slower when accessing remote file systems because it is using the older SMB filesystem rather than CIFS.

Link to comment
  • 2 weeks later...

Hah I'm glad I gave all you guys something to play with over the weekend ;)

;D;)

Windows XP to unRAID

[ ID] Interval         Transfer           Bandwidth

[  3]  0.0- 1.0 sec  69504 KBytes  569377 Kbits/sec

[  3]  1.0- 2.0 sec  71552 KBytes  586154 Kbits/sec

[  3]  2.0- 3.0 sec  72192 KBytes  591397 Kbits/sec

[  3]  3.0- 4.0 sec  71040 KBytes  581960 Kbits/sec

[  3]  4.0- 5.0 sec  70144 KBytes  574620 Kbits/sec

[  3]  5.0- 6.0 sec  72320 KBytes  592445 Kbits/sec

[  3]  6.0- 7.0 sec  68864 KBytes  564134 Kbits/sec

[  3]  7.0- 8.0 sec  74368 KBytes  609223 Kbits/sec

[  3]  8.0- 9.0 sec  72192 KBytes  591397 Kbits/sec

[  3]  0.0-10.0 sec  715648 KBytes  586259 Kbits/sec

Link to comment
  • 1 month later...

My results, from an Ubuntu desktop to my unRAID server, with two Gigabit switches between the the computers:

peter@Desktop:~$ iperf -c 10.2.0.100 -P 1 -i 1 -p 5001 -f k -t 10 -T 1
------------------------------------------------------------
Client connecting to 10.2.0.100, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.15 port 43016 connected with 10.2.0.100 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  114368 KBytes  936903 Kbits/sec
[  3]  1.0- 2.0 sec  114064 KBytes  934412 Kbits/sec
[  3]  2.0- 3.0 sec  113456 KBytes  929432 Kbits/sec
[  3]  3.0- 4.0 sec  112056 KBytes  917963 Kbits/sec
[  3]  4.0- 5.0 sec  114032 KBytes  934150 Kbits/sec
[  3]  5.0- 6.0 sec  113648 KBytes  931004 Kbits/sec
[  3]  6.0- 7.0 sec  113456 KBytes  929432 Kbits/sec
[  3]  7.0- 8.0 sec  114096 KBytes  934674 Kbits/sec
[  3]  8.0- 9.0 sec  113960 KBytes  933560 Kbits/sec
[  3]  9.0-10.0 sec  114224 KBytes  935723 Kbits/sec
[  3]  0.0-10.0 sec  1137368 KBytes  931042 Kbits/sec
peter@Desktop:~$ 

 

Is that good or bad?

 

 

Later....

 

I've just tried Joe's trick, and it seems to go a little faster:

 

root@Tower:~# iperf -c tower -P 1 -i 1 -p 5001 -f k -t 10 -T 1
------------------------------------------------------------
Client connecting to tower, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 47440 connected with 127.0.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  1582208 KBytes  12961448 Kbits/sec
[  3]  1.0- 2.0 sec  2289536 KBytes  18755879 Kbits/sec
[  3]  2.0- 3.0 sec  2352640 KBytes  19272827 Kbits/sec
[  3]  3.0- 4.0 sec  2676992 KBytes  21929918 Kbits/sec
[  3]  4.0- 5.0 sec  2209536 KBytes  18100519 Kbits/sec
[  3]  5.0- 6.0 sec  2758528 KBytes  22597861 Kbits/sec
[  3]  6.0- 7.0 sec  2315264 KBytes  18966643 Kbits/sec
[  3]  7.0- 8.0 sec  2748416 KBytes  22515024 Kbits/sec
[  3]  8.0- 9.0 sec  2420224 KBytes  19826475 Kbits/sec
[  3]  9.0-10.0 sec  2503040 KBytes  20504904 Kbits/sec
[  3]  0.0-10.0 sec  23900928 KBytes  19548283 Kbits/sec
root@Tower:~# 

Link to comment

My results, from an Ubuntu desktop to my unRAID server, with two Gigabit switches between the the computers:

peter@Desktop:~$ iperf -c 10.2.0.100 -P 1 -i 1 -p 5001 -f k -t 10 -T 1
------------------------------------------------------------
Client connecting to 10.2.0.100, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.1.15 port 43016 connected with 10.2.0.100 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  114368 KBytes  936903 Kbits/sec
[  3]  1.0- 2.0 sec  114064 KBytes  934412 Kbits/sec
[  3]  2.0- 3.0 sec  113456 KBytes  929432 Kbits/sec
[  3]  3.0- 4.0 sec  112056 KBytes  917963 Kbits/sec
[  3]  4.0- 5.0 sec  114032 KBytes  934150 Kbits/sec
[  3]  5.0- 6.0 sec  113648 KBytes  931004 Kbits/sec
[  3]  6.0- 7.0 sec  113456 KBytes  929432 Kbits/sec
[  3]  7.0- 8.0 sec  114096 KBytes  934674 Kbits/sec
[  3]  8.0- 9.0 sec  113960 KBytes  933560 Kbits/sec
[  3]  9.0-10.0 sec  114224 KBytes  935723 Kbits/sec
[  3]  0.0-10.0 sec  1137368 KBytes  931042 Kbits/sec
peter@Desktop:~$ 

 

Is that good or bad?

 

Excelent, 900,000 Kbps is 90% of 1Gbps so you are well above the norm.  You don't have a bandwidth issue.

 

Later....

 

I've just tried Joe's trick, and it seems to go a little faster:

 

root@Tower:~# iperf -c tower -P 1 -i 1 -p 5001 -f k -t 10 -T 1
------------------------------------------------------------
Client connecting to tower, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 47440 connected with 127.0.0.1 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  1582208 KBytes  12961448 Kbits/sec
[  3]  1.0- 2.0 sec  2289536 KBytes  18755879 Kbits/sec
[  3]  2.0- 3.0 sec  2352640 KBytes  19272827 Kbits/sec
[  3]  3.0- 4.0 sec  2676992 KBytes  21929918 Kbits/sec
[  3]  4.0- 5.0 sec  2209536 KBytes  18100519 Kbits/sec
[  3]  5.0- 6.0 sec  2758528 KBytes  22597861 Kbits/sec
[  3]  6.0- 7.0 sec  2315264 KBytes  18966643 Kbits/sec
[  3]  7.0- 8.0 sec  2748416 KBytes  22515024 Kbits/sec
[  3]  8.0- 9.0 sec  2420224 KBytes  19826475 Kbits/sec
[  3]  9.0-10.0 sec  2503040 KBytes  20504904 Kbits/sec
[  3]  0.0-10.0 sec  23900928 KBytes  19548283 Kbits/sec
root@Tower:~# 

 

That's > 1Gbps ;) it's an unrealistic expectation.

Link to comment
That's > 1Gbps ;) it's an unrealistic expectation.

 

Of course - 20Gb won't go down a 1Gb network ... but, perhaps, it indicates that my machines could make good use of faster interfaces?

 

These results also lead me to believe that the 50MB/sec maximum I see on writes to the cache drive are  being constrained by the disk drive.

Link to comment

from my w7 x64 ultimate to Unraid

 

bin/iperf.exe -c 192.168.1.130 -P 1 -i 1 -p 5001 -f k -t 10

------------------------------------------------------------

Client connecting to 192.168.1.130, TCP port 5001

TCP window size: 64.0 KByte (default)

------------------------------------------------------------

[  3] local 192.168.1.100 port 52705 connected with 192.168.1.130 port 5001

[ ID] Interval       Transfer     Bandwidth

[  3]  0.0- 1.0 sec  77568 KBytes  635437 Kbits/sec

[  3]  1.0- 2.0 sec  74752 KBytes  612368 Kbits/sec

[  3]  2.0- 3.0 sec  72832 KBytes  596640 Kbits/sec

[  3]  3.0- 4.0 sec  74496 KBytes  610271 Kbits/sec

[  3]  4.0- 5.0 sec  77056 KBytes  631243 Kbits/sec

[  3]  5.0- 6.0 sec  75520 KBytes  618660 Kbits/sec

[  3]  6.0- 7.0 sec  75904 KBytes  621806 Kbits/sec

[  3]  7.0- 8.0 sec  75776 KBytes  620757 Kbits/sec

[  3]  8.0- 9.0 sec  75648 KBytes  619708 Kbits/sec

[  3]  9.0-10.0 sec  75392 KBytes  617611 Kbits/sec

[  3]  0.0-10.0 sec  755072 KBytes  618493 Kbits/sec

Done.

 

from my laptop running w7 enterprise 64 bit

 

------------------------------------------------------------

Server listening on TCP port 5001

TCP window size: 85.3 KByte (default)

------------------------------------------------------------

[  4] local 192.168.1.130 port 5001 connected with 192.168.1.2 port 56228

[ ID] Interval      Transfer    Bandwidth

[  4]  0.0- 1.0 sec  3115 KBytes  25516 Kbits/sec

[  4]  1.0- 2.0 sec  3416 KBytes  27985 Kbits/sec

[  4]  2.0- 3.0 sec  3453 KBytes  28288 Kbits/sec

[  4]  3.0- 4.0 sec  3456 KBytes  28312 Kbits/sec

[  4]  4.0- 5.0 sec  3056 KBytes  25039 Kbits/sec

[  4]  5.0- 6.0 sec  3216 KBytes  26342 Kbits/sec

[  4]  6.0- 7.0 sec  2552 KBytes  20903 Kbits/sec

[  4]  7.0- 8.0 sec  3312 KBytes  27134 Kbits/sec

[  4]  8.0- 9.0 sec  3224 KBytes  26412 Kbits/sec

[  4]  9.0-10.0 sec  3473 KBytes  28452 Kbits/sec

[  4]  0.0-10.1 sec  32512 KBytes  26308 Kbits/sec

:P

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.