You are here

iperfspeed v0.3

22 posts / 0 new
Last post
K7FPV
iperfspeed v0.3

EDIT: See new version being discussed here: https://www.arednmesh.org/content/ver-59-da089ac-and-iperfspeed

Thanks to KE2N for the regex fix in this version.

I've made a web interface for using iperf to test link speeds on the mesh. Just trying this out to see how well it works. You need to install it on at least 2 nodes on your mesh. Then use the ui at http://<node>:8080/iperfspeed to run a speed test. It will login to the server node and start iperf as the server, then login to the client and run iperf against the server for 10 seconds and record the result. See screen shot below.

To install you need to have iperf on both nodes. If your node is connected to the Internet just use the drop down box on the setup page. Otherwise here are links to the packages you need to install before installing iperfspeed on your node:

https://s3.amazonaws.com/aredn/uclibcxx_0.2.4-1_ar71xx.ipk
https://s3.amazonaws.com/aredn/iperf_2.0.5-1bbhn1_ar71xx.ipk

Then install iperfspeed:

<removed>

Let me know if it works for you.

Oh one note. After you install iperf on your node you will need to reboot for the firewalls rules to take effect and allow access to iperf.

w6bi
w6bi's picture
Iperfspeed and latest RC firmware
I've had a couple of nodes running 3.17.1.0RC1 where, while iperfspeed is installed, it refuses to show as a service.   Anyone else see this?  Any troubleshooting tips?
Thanks.
wb9coy
wb9coy's picture
I loaded the ipks that W6BI
I loaded the ipks that W6BI provided on two nodes running the latest stable release 3.16.1.1 and the I am not able to obtain any iperf results.  The GUI hangs.  I tried both combinations of server client and client server with the same results.  If you would like to look I can setup a tunnel
KB5UGF
KB5UGF's picture
IperfSpeed v0.3 questions
I've installed IperfSpeed on several of our nodes running 3.16.1.1 and find this utility quite useful. I was wondering if the issue regarding filling up the flash memory in v0.2 had been addressed in v0.3? Like, maybe the log size was limited like in Mesh Chat? Is periodically deleting the tests.log file the solution? Because I did notice an increase in flash memory size when I deleted that file then rebooted. Is there a way to use this utility without having to advertise it on every node of interest? I suspect not, as the utility probably uses the ad to determine the existence of an Iperf server or client on a node(?) Good job Trevor!
N7QJK
Iperf Speed 3
I have seen a this running on a few nodes with SBARC and wondered if you have any documentation on installing this and what is needed to get it to run? I see that it needs to be on more than one node. If two or three people installed this on there node would it work?  

Thanks
Dale
K5DLQ
K5DLQ's picture
(instructions are at the top
(instructions are at the top of this thread)
 
N7QJK
IperfSpeed Nodes?
I read the information and understand it a little. In the part about two nodes, would I need to be running two nodes, or would two nodes on the same system running IperfSpeed work?

Thanks
Dale
K5DLQ
K5DLQ's picture
you would need to install
you would need to install iperf and iperfSpeed on more than one node on the same mesh.

 
N7QJK
IperfSpeed
All three of the files listed above would get installed on multiple nodes?
Sorry to ask so many questions, I'm just making sure that I do it right...

Thanks
Dale

 
K5DLQ
K5DLQ's picture
yes
yes
w6bi
w6bi's picture
iperfspeed goes poof
Just a reminder that iperfspeed will go away any time you make a change and reboot the node.  A reiinstall will be required.   I don't run it on test nodes for that reason.    I understand that eventually that restriction will be corrected, but for now, it's a hassle.
N4CV
Still Going Away?

I installed iperfspeed on a node that I'm testing out.  It appeared as an advertised service and I was able to select a server and client from the application page.  I made a change to the node configuration and rebooted, and as W6BI noted above, the service is now no longer listed under mesh status and when I go directly to the application page, there is no server or client available to select.  I removed the three packages, performed a reboot, and then reloaded them and the node exhibits the same behavior (no listing on mesh status and no client or server available in iperfspeed).  Has anyone had success keeping the application functional and advertised after a reboot?

N4CV
Bump.

We recently deployed a node (Rocket M5) that had iperfspeed installed and working properly.  We used iperfspeed to verify the throughput during the deployment of the node.  Before leaving the site, we renamed the node to reflect its permanent location.  Afterward, the advertised service disappeared along with the link on the mesh status page.  We removed all three packages, rebooted the node, and reinstalled (and rebooted again).  The service is still not listed however the iperfspeed GUI page can be accessed by direct URL entry.  The odd thing is that the node does not appear in the list of servers or clients on the iperfspeed GUI page, but an iperfspeed test can be performed using the GUI between other nodes on the mesh.

KE2N
KE2N's picture
slash and burn

any chance you have a slash "/" in the node name now?
 

kv7h
dns failure - patch proposal
When testing from hosts which do not have `local.mesh` in their search path, dns failure causes the iperf test to halt at "Starting iperf server". One needs fully-qualified names for this to work. I propose the following patch to iperfspeed:
​--- original/iperf.js   2019-04-10 15:01:48.202015883 -0600
+++ modified/iperf.js   2019-04-10 15:01:16.958499540 -0600
@@ -57,7 +57,7 @@
 function run_client(client, server) {
     show_results("Starting iperf client");
     $.ajax({
-        url: 'http://' + client + ':8080/cgi-bin/iperfspeed?action=run_client&server=' + server + "&client=" + client,
+        url: 'http://' + client + '.local.mesh.:8080/cgi-bin/iperfspeed?action=run_client&server=' + server + "&client=" + client,
         type: "GET",
         cache: false,
         timeout: 60000,
@@ -104,7 +104,7 @@
     // Start iperf
     show_results("Starting iperf server");
     $.ajax({
-        url: 'http://' + server + ':8080/cgi-bin/iperfspeed?action=start_server',
+        url: 'http://' + server + '.local.mesh.:8080/cgi-bin/iperfspeed?action=start_server',
         type: "GET",
         dataType: "text",
         context: this,
@@ -121,7 +121,7 @@

 function stop_server(host) {
     $.ajax({
-        url: 'http://' + host + ':8080/cgi-bin/iperfspeed?action=stop_server',
+        url: 'http://' + host + '.local.mesh.:8080/cgi-bin/iperfspeed?action=stop_server',
         type: "GET",
         dataType: "text",
         context: this,

Optimally, the JS could check for failure when calling the remote cgi-bin and present the error condition. I may add that later.

K5DLQ
K5DLQ's picture
I think Trevor accepts pull
I think Trevor accepts pull requests at https://github.com/tpaskett/iperfspeed
 
kv7h
not current

The iperf.js in that git tree is not what is packaged in 0.5. Hmm.

K5DLQ
K5DLQ's picture
you may want to open an issue
you may want to open an issue with Trevor in Git and see if he can update the github repo.   Sounds like it is outdated.
 
K7FPV
I pushed the updates. make
I pushed the updates. make your changes and inc the version number. use ./build to make the ipk. if it tests ok submit a pull.
k6dlc
k6dlc's picture
install problem
install problem
Image Attachments: 
nc8q
nc8q's picture
Current iperf is version 0.5, I think

https://arednmesh.readthedocs.io/en/stable/arednHow-toGuides/iperf.html#

When sharing screenshots on this forum,
in order to ensure good readability,
I crop my screenshots to 600x600.
Else the screenshots are rather blurry.

Looks like you need to install:
http://downloads.arednmesh.org/releases/3/18/3.18.9.0/packages/mips_24kc...
<removed>
on an AREDN device.

Hope this helps, Chuck

Image Attachments: 
iz5fsa
iz5fsa's picture
It works great on IZ5FSA-HOME

It works great on IZ5FSA-HOME and IZ5FSA-BRIDGE nodes.

I think a new topic "IperfSpeed 0.5 - new version" may help user research.

73


 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer