SpeedTest Feature Request

Feature Request #1:
Using the Cockpit interface, On the Applications -> Firewall -> Settings there is a Speedtest button. When you click it and it finishes, you only get the option of applying the results to the traffic shaping paramaters. i would like the option to rerun the test from that page, instead of navigating away and back.

Feature Request #2
I would like it to display the URL of the destination machine so i can check results from another Speedtest tool. I don’t know if it a bug, but the ping RTT and the speed are usually a lot slower than when I measure using Speedtest.net from my desktop computer.

Feature Request #3
I would like the ability to specify the target server for the speedtest operation

1 Like

@dnutan GOOD EDIT. i will try to make the subject more specific in the future. Thank you.

I am the developer of diagTools in NethGui, AFAIK it is not simply to choose what server you ping, I decided to let the algorithm choose the closest server.

agree for the button to launch again
hard to choose the server destination
the server destination could be find I guess

By the way you are talking of this

this should be easy in fact

[root@ns7loc2 ~]# echo '{"action":"speedtest","interface":"eth0"}' | /usr/bin/sudo /usr/libexec/nethserver/api/nethserver-firewall-base/wan/read | jq
  "download": 292326997.9673026,
  "timestamp": "2020-12-30T11:18:22.291181",
  "ping": 19.815,
  "upload": 97352858.33648685,
  "server": {
    "latency": 19.815,
    "name": "Magny-les-Hameaux",
    "url": "http://speedtest.cloudata.fr:8080/speedtest/upload.php",
    "country": "France",
    "lon": "2.0532",
    "cc": "FR",
    "host": "speedtest.cloudata.fr:8080",
    "sponsor": "LTI-NETWORKS",
    "lat": "48.7418",
    "id": "34745",
    "d": 489.69415869679364

however I can see a bug of speedtest-cli it download and upload at the same time, when I do it with F33 and another version, it download first then it do the upload test.

This could explain why my upload measure is far low, it should be the same than the download

Installed Packages
Name        : speedtest-cli
Arch        : noarch
Version     : 1.0.2
Release     : 1.el7
Size        : 111 k
Repo        : installed
From repo   : nethserver
Summary     : Command line interface for testing internet bandwidth
URL         : https://github.com/sivel/speedtest-cli
License     : ASL 2.0
Description : Command line interface for testing internet bandwidth using speedtest.net
1 Like

last version needs python 3.9, it is over

did not do testing (well installed it on one NS server):

Not going to do something with it if it works it is all yours…

1 Like

he he it works :smiley:

1 Like

Yes we should update it, the upload bandwidth is more accurate

Transferring owner ship of git repo to you OK?

We have some troubles on arm with the repodata ; promised not to touch it until 7 Jan… could it live in testing until then?

we could have even more information

[root@ns7loc2 ~]# speedtest-cli --json --source | jq
  "download": 280913406.1048394,
  "upload": 175990739.43463403,
  "ping": 17.745,
  "server": {
    "url": "http://speedtest.cloudata.fr:8080/speedtest/upload.php",
    "lat": "48.7418",
    "lon": "2.0532",
    "name": "Magny-les-Hameaux",
    "country": "France",
    "cc": "FR",
    "sponsor": "LTI-NETWORKS",
    "id": "34745",
    "host": "speedtest.cloudata.fr:8080",
    "d": 489.69415869679364,
    "latency": 17.745
  "timestamp": "2020-12-30T12:58:45.049623Z",
  "bytes_sent": 151519232,
  "bytes_received": 351429910,
  "share": null,
  "client": {
    "ip": "",
    "lat": "44.3528",
    "lon": "2.5805",
    "isp": "Orange",
    "isprating": "3.7",
    "rating": "0",
    "ispdlavg": "0",
    "ispulavg": "0",
    "loggedin": "0",
    "country": "FR"

Need to share with the @dev_team and I am in holidays :smiley:

1 Like

I agree too, we could add a simple “Run again” button.

I don’t know if this is possible, but I don’t see a link from the JSON output posted by @stephdl. If the link is present we can show it with an hover action or something like this.
Still I’m not really a fan of it :slight_smile:

I agree with @stephdl is hard to design a good UI for this usage scenario. Also it is out of scope inside this page.

Current package has been imported inside the nethserver-base repo.
If the output of the new package is compatible with the old one (so it doesn’t break Cockpit nor NethGUI), I’m ok for the update.

1 Like

need time to design and I have other things in my plate but I would like to propose to

  • make a button to reload again
  • display the server name automatically chosen by the speedtest
    "sponsor": "LTI-NETWORKS",
    "id": "34745",

like this you can test yourself by

   Specify testing against server 34745
          speedtest-cli --server 34745

Sorry… Why “more buttons”?.
1 Button (only) for run the test. First time or more times. During test the button should be grayed or changed text into “(running)”. A notification should be nice while the test is running. Might be useful a way to specify which red interface is object of test?
1 Button for copying data to the Traffic Shaping /data management of the interface

probably, actually we use a popover (bootstrap), fighting a bit on it :smiley:

Don’t overload the coffe machine, guys. Sometimes a fast solve is good enough, sometimes… it needs a good (and well weighted) one :wink:

First day at work, please do not shoot…

Please mister Macron forbid the holidays, it is so much hard to come back.

1 Like

This could be a good solution!

@stephdl I think you could ask for help from @edoardo_spadoni to find the best fit in the current UI :slight_smile:

1 Like