Iperf unMenu Package


59 posts in this topic Last Reply

Recommended Posts

I tried to install the package on my V6b5a test server  and ran into problems. I did notice the file iperf-unmenu-package.conf was there already in the /etc/packages folder, but iperf is not being listed in unMENU's web page. So there's more to it.
Joe fixed unmenu to honor a line in the conf file that specifies whether a package is ok for 64 bit. If you are sure the binaries are ok, you can add that line to the conf file, and it will show up. Prior to that change, all packages showed up, whether or not they worked, and that caused all manner of headaches.
Link to post
  • Replies 58
  • Created
  • Last Reply

Top Posters In This Topic

I tried to install the package on my V6b5a test server  and ran into problems. I did notice the file iperf-unmenu-package.conf was there already in the /etc/packages folder, but iperf is not being listed in unMENU's web page. So there's more to it.
Joe fixed unmenu to honor a line in the conf file that specifies whether a package is ok for 64 bit. If you are sure the binaries are ok, you can add that line to the conf file, and it will show up. Prior to that change, all packages showed up, whether or not they worked, and that caused all manner of headaches.

Unless it is a 64 bit package (and I do not think yours is a 64 bit package) it will never work on unRAID 6.X

As described, unMENU now requires a special line be added to the .conf file for the package manager to show the package when used on the 64 bit Os.

 

On unRAID 6.X, you'll only see packages that will be OK on the 64 bit OS.  In the same way, on 32 bit OS, none of the 64 bit compiled packages will show in the package manager.

Link to post

Thanks Jonathanm and Joe L. for the clarifications!  If one were to download the Slackware 14.1 x86_64 version could the conf file be edited to allow it to run? If I wanted to package it up for unMENU would I look to the unMENU documentation for guidelines? From what I could see it looked like the 64-bit unMENU packages have their own separate conf file.

 

I found this link: http://pkgs.org/slackware-14.1/freestylers-x86_64/iperf-2.0.5-x86_64-1_fs.tgz/download/ and I thought I might be able to use Slackware's "installpkg" command to install it on my system.  Of course, this would be outside of the unMENU package manager.

 

I can see how access to these files over the long term could be a problem; maintaining consistent download locations with a number of developers is pretty iffy. Thanks to all who do!!!!!

 

 

Link to post

I put together an unMENU configuration file for iperf for 64-bit unRAID; code is shown below:

#UNMENU_RELEASE $Revision: 1 Date:2014-05-23 07:34:00 -0500(Fri, 23 May 2014) $
PACKAGE_NAME Iperf (Measures TCP/UDP bandwidth performance)
PACKAGE_DESCR Iperf was developed by NLANR/DAST as a modern alternative for
PACKAGE_DESCR measuring maximum TCP and UDP bandwidth performance. Iperf allows
PACKAGE_DESCR the tuning of various parameters and UDP characteristics. Iperf
PACKAGE_DESCR reports bandwidth, delay jitter, datagram loss.  More info available
PACKAGE_DESCR at the <a href=http://iperf.sourceforge.net/>Iperf sourceforge project</a>.
PACKAGE_DESCR Pairs well with <a href=http://code.google.com/p/xjperf/>JPerf 2</a>
PACKAGE_DESCR as a Windows front end.  <b>NOTE:</b>  The version of Iperf distributed
PACKAGE_DESCR with Jperf will give <b>incorrect</b> results.  To use Jperf download
PACKAGE_DESCR the <a href=http://web.eecs.utk.edu/~rdeaver1/unraid/iperf-2.0.5.zip>Iperf version 2.0.5 binary</a>
PACKAGE_DESCR and replace the iperf.exe in the jperf-2.0.2/bin directory. The Iperf
PACKAGE_DESCR thread on the unRAID forum is availabe <a href=http://lime-technology.com/forum/index.php?topic=10771.0>here</a>.


PACKAGE_URL http://porteus-apps.org/slackware/slackware64-14.1/slackware/network/iperf/iperf-2.0.5-x86_64-1_fs.tgz
PACKAGE_FILE iperf-2.0.5-x86_64-1_fs.tgz
PACKAGE_MD5 aabec94945891a98b49e8e139d5b264e

PACKAGE_INSTALLED /usr/bin/iperf
PACKAGE_DEPENDENCIES none
PACKAGE_INSTALLATION installpkg iperf-2.0.5-x86_64-1_fs.tgz
PACKAGE_VERSION_TEST /usr/bin/iperf -v 2>&1|awk '{print $3}'
PACKAGE_VERSION_STRING 2.0.5
PACKAGE_MEMORY_USAGE Light
PACKAGE_OS 64bit

This code should be stored on the flash drive in the /boot/packages directory under the file name: iperf-unmenu-package-x86_64.conf. It is essentially a rework of the original conf file with new URL, md5 checksum and installation information. I tested it on my V.6b5a system without errors.

 

Again, this unMENU package script is for 64-bit version of unRAID. BTW, this is my first attempt at packaging something up for unMENU.

 

Link to post

I put together an unMENU configuration file for iperf for 64-bit unRAID; code is shown below:

#UNMENU_RELEASE $Revision: 1 Date:2014-05-23 07:34:00 -0500(Fri, 23 May 2014) $
PACKAGE_NAME Iperf (Measures TCP/UDP bandwidth performance)
PACKAGE_DESCR Iperf was developed by NLANR/DAST as a modern alternative for
PACKAGE_DESCR measuring maximum TCP and UDP bandwidth performance. Iperf allows
PACKAGE_DESCR the tuning of various parameters and UDP characteristics. Iperf
PACKAGE_DESCR reports bandwidth, delay jitter, datagram loss.  More info available
PACKAGE_DESCR at the <a href=http://iperf.sourceforge.net/>Iperf sourceforge project</a>.
PACKAGE_DESCR Pairs well with <a href=http://code.google.com/p/xjperf/>JPerf 2</a>
PACKAGE_DESCR as a Windows front end.  <b>NOTE:</b>  The version of Iperf distributed
PACKAGE_DESCR with Jperf will give <b>incorrect</b> results.  To use Jperf download
PACKAGE_DESCR the <a href=http://web.eecs.utk.edu/~rdeaver1/unraid/iperf-2.0.5.zip>Iperf version 2.0.5 binary</a>
PACKAGE_DESCR and replace the iperf.exe in the jperf-2.0.2/bin directory. The Iperf
PACKAGE_DESCR thread on the unRAID forum is availabe <a href=http://lime-technology.com/forum/index.php?topic=10771.0>here</a>.


PACKAGE_URL http://porteus-apps.org/slackware/slackware64-14.1/slackware/network/iperf/iperf-2.0.5-x86_64-1_fs.tgz
PACKAGE_FILE iperf-2.0.5-x86_64-1_fs.tgz
PACKAGE_MD5 aabec94945891a98b49e8e139d5b264e

PACKAGE_INSTALLED /usr/bin/iperf
PACKAGE_DEPENDENCIES none
PACKAGE_INSTALLATION installpkg iperf-2.0.5-x86_64-1_fs.tgz
PACKAGE_VERSION_TEST /usr/bin/iperf -v 2>&1|awk '{print $3}'
PACKAGE_VERSION_STRING 2.0.5
PACKAGE_MEMORY_USAGE Light
PACKAGE_OS 64bit

This code should be stored on the flash drive in the /boot/packages directory under the file name: iperf-unmenu-package-x86_64.conf. It is essentially a rework of the original conf file with new URL, md5 checksum and installation information. I tested it on my V.6b5a system without errors.

 

Again, this unMENU package script is for 64-bit version of unRAID. BTW, this is my first attempt at packaging something up for unMENU.

 

Thank you for doing this.  The unMENU package format was specifically designed to be easy to use.  As you discovered, it is pretty easy to adapt to a new 64 bit version of a package.  (hardest part is finding a 64 bit slackware package that is already compiled)

 

The unMENU package manager .conf file format is explained here in the wiki:

http://lime-technology.com/wiki/index.php/UnMENU_documentation#unmenu_package_manager_package.conf

 

Joe L.

Link to post

I put together an unMENU configuration file for iperf for 64-bit unRAID; code is shown below:

#UNMENU_RELEASE $Revision: 1 Date:2014-05-23 07:34:00 -0500(Fri, 23 May 2014) $
PACKAGE_NAME Iperf (Measures TCP/UDP bandwidth performance)
PACKAGE_DESCR Iperf was developed by NLANR/DAST as a modern alternative for
PACKAGE_DESCR measuring maximum TCP and UDP bandwidth performance. Iperf allows
PACKAGE_DESCR the tuning of various parameters and UDP characteristics. Iperf
PACKAGE_DESCR reports bandwidth, delay jitter, datagram loss.  More info available
PACKAGE_DESCR at the <a href=http://iperf.sourceforge.net/>Iperf sourceforge project</a>.
PACKAGE_DESCR Pairs well with <a href=http://code.google.com/p/xjperf/>JPerf 2</a>
PACKAGE_DESCR as a Windows front end.  <b>NOTE:</b>  The version of Iperf distributed
PACKAGE_DESCR with Jperf will give <b>incorrect</b> results.  To use Jperf download
PACKAGE_DESCR the <a href=http://web.eecs.utk.edu/~rdeaver1/unraid/iperf-2.0.5.zip>Iperf version 2.0.5 binary</a>
PACKAGE_DESCR and replace the iperf.exe in the jperf-2.0.2/bin directory. The Iperf
PACKAGE_DESCR thread on the unRAID forum is availabe <a href=http://lime-technology.com/forum/index.php?topic=10771.0>here</a>.


PACKAGE_URL http://porteus-apps.org/slackware/slackware64-14.1/slackware/network/iperf/iperf-2.0.5-x86_64-1_fs.tgz
PACKAGE_FILE iperf-2.0.5-x86_64-1_fs.tgz
PACKAGE_MD5 aabec94945891a98b49e8e139d5b264e

PACKAGE_INSTALLED /usr/bin/iperf
PACKAGE_DEPENDENCIES none
PACKAGE_INSTALLATION installpkg iperf-2.0.5-x86_64-1_fs.tgz
PACKAGE_VERSION_TEST /usr/bin/iperf -v 2>&1|awk '{print $3}'
PACKAGE_VERSION_STRING 2.0.5
PACKAGE_MEMORY_USAGE Light
PACKAGE_OS 64bit

This code should be stored on the flash drive in the /boot/packages directory under the file name: iperf-unmenu-package-x86_64.conf. It is essentially a rework of the original conf file with new URL, md5 checksum and installation information. I tested it on my V.6b5a system without errors.

 

Again, this unMENU package script is for 64-bit version of unRAID. BTW, this is my first attempt at packaging something up for unMENU.

 

Thanks for developing this package for unmenu! unmenu remains one of the most used addons for unRAID, and your contribution will benefit a lot of users!

Link to post

I'll second that request. I scoured the Interwebs looking for that package, and even tried to compile my own, but without success. I have no issues doing it on my Ubuntu machine, but I think I would need C++ on my unRAID server and I'm not sure if that's a good idea.

 

Does anyone have a copy of the iPerf 2.05 package for unRAID left over they would care to post? Please?

Does this work for you?

 

Outstanding, sir! Works perfectly, thanks! I really appreciate it. Confirms my guesstimates on Windows versus Linux clients. What a difference in iperf test results when using a Windows 8.1 client versus an Ubuntu 12.04 based client (identical Dell hardware, connected to same Gb switch as my Lenovo unRAID server (although to be fair the TCP windows sizes are different):

 

From Windows 8.1 client to unRAID:

C:\iperf>iperf -c 192.168.1.59 -P 1 -i 1 -p 5001 -f k -t 10 -T 1

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

Client connecting to 192.168.1.59, TCP port 5001

TCP window size: 64.0 KByte (default)

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

[  3] local 192.168.1.69 port 57839 connected with 192.168.1.59 port 5001

[ ID] Interval      Transfer    Bandwidth

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

[  3]  1.0- 2.0 sec  70784 KBytes  579863 Kbits/sec

[  3]  2.0- 3.0 sec  71168 KBytes  583008 Kbits/sec

[  3]  3.0- 4.0 sec  70784 KBytes  579863 Kbits/sec

[  3]  4.0- 5.0 sec  71296 KBytes  584057 Kbits/sec

[  3]  5.0- 6.0 sec  71552 KBytes  586154 Kbits/sec

[  3]  6.0- 7.0 sec  71552 KBytes  586154 Kbits/sec

[  3]  7.0- 8.0 sec  70144 KBytes  574620 Kbits/sec

[  3]  8.0- 9.0 sec  71680 KBytes  587203 Kbits/sec

[  3]  0.0-10.0 sec  709632 KBytes  581214 Kbits/sec

 

 

From Ubuntu 12.04 to unRAID:

bruce@fs2:~$ iperf -c 192.168.1.59 -P 1 -i 1 -p 5001 -f k -t 10 -T 1

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

Client connecting to 192.168.1.59, TCP port 5001

TCP window size: 21.0 KByte (default)

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

[  3] local 192.168.1.68 port 54680 connected with 192.168.1.59 port 5001

[ ID] Interval      Transfer    Bandwidth

[  3]  0.0- 1.0 sec  112512 KBytes  921698 Kbits/sec

[  3]  1.0- 2.0 sec  111104 KBytes  910164 Kbits/sec

[  3]  2.0- 3.0 sec  111360 KBytes  912261 Kbits/sec

[  3]  3.0- 4.0 sec  113024 KBytes  925893 Kbits/sec

[  3]  4.0- 5.0 sec  111232 KBytes  911213 Kbits/sec

[  3]  5.0- 6.0 sec  110464 KBytes  904921 Kbits/sec

[  3]  6.0- 7.0 sec  111616 KBytes  914358 Kbits/sec

[  3]  7.0- 8.0 sec  112384 KBytes  920650 Kbits/sec

[  3]  8.0- 9.0 sec  111872 KBytes  916455 Kbits/sec

[  3]  9.0-10.0 sec  111104 KBytes  910164 Kbits/sec

[  3]  0.0-10.0 sec  1116800 KBytes  914819 Kbits/sec

 

 

Link to post

I see I have the package on my flash drive here's a link to the unMENU package: https://dl.dropboxusercontent.com/u/189963/iperf-2.0.5.zip

 

In the zip file consists of two files, iperf-2.0.5-i486-1.tgz and iperf-unmenu-package.conf

 

If I understand the process correctly, one would extract the two files in place them in the /boot/packages  folder. I think, then from unMENU you would click on the "Select iperf-2.0.5-i486-1.tgz" button. It should be seen as local and install. However, it might be a good idea to restart unMENU before trying to select it.

 

I hope this helps! It works on my unRAID server; I'm running 5.0.4.

 

Thanks - and you're right - this would have worked for me, also, had I not already installed the TGZ package from jonathanm. But I really appreciate it the help.

Link to post
  • 5 months later...

So I ran iPerf from my Windows 7 client to Tower, and I was seeing about 60MB/s over my gigabit network. I used this command:

 

iperf.exe -c tower -P 1 -i 1 -p 5001 -f M -t 10 -T 1

 

This seemed a little low, as I often see transfers over 100MB/s, so I tried multiple parallel tests using this:

 

iperf.exe -c tower -P 4 -i 1 -p 5001 -f M -t 10 -T 1

 

And got results around 112MB/S

 

Can anyone who knows more about this test explain to me why the single thread was not maxing out my network connection? I would think that the whole point of this test is to test the maximum throughput... Unless I'm misinterpreting...

 

Thanks!

Link to post

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.