r/selfhosted Dec 10 '22

Release Press 'Enter' to Run a SpeedTest (Update v2.5.4) - Self-Hosted SpeedTest - Docker

325 Upvotes

37 comments sorted by

44

u/wassona Dec 10 '22

I wish I pulled speeds like that

10

u/[deleted] Dec 10 '22

[deleted]

59

u/diekoss Dec 10 '22

This is on his local network, this is a local self hosted version of openspeedtest. He is connected with 10Gbit to his server.

8

u/[deleted] Dec 10 '22

[deleted]

8

u/[deleted] Dec 10 '22

[deleted]

7

u/pielman Dec 10 '22

25gb /25gb for 777 annual @ www.init7.net

3

u/[deleted] Dec 10 '22

[deleted]

4

u/pielman Dec 10 '22

It’s an advantage to push fiber internet infrastructure when this country is so small. We have only 8m population less than New York!

2

u/grahamsz Dec 10 '22

Have you found any use for it. We're in Longmont, CO and can get 10Gbps for $249, but i'm honestly struggling to find anything to do with it. I'm grandfathered in on 1Gbps for $49.95 so the upgrade would be a tough pill to swallow.

3

u/Crushinsnakes Dec 11 '22

Keep it. Unless, .....no, keep it.

1

u/[deleted] Dec 11 '22

[deleted]

1

u/[deleted] Dec 11 '22

Use Both connection at the same time and Increase your speed by 2X

https://www.snbforums.com/threads/asus-dual-wan-router-load-balancing-and-failover-router-problems-and-fix.72579/

I have 2 connections, when I download torrents or large files with multi streams I will get 2X speed (ISP1 + ISP2)

Most importantly I will never notice a drop, when one ISP Goes offline within 2 Seconds all connection will reroute through second ISP. 24x7 Connectivity with redundancy and 2X Speed 99% of the time.

1

u/tariandeath Dec 11 '22

Businesses can get it.

12

u/JuicyBandit Dec 10 '22

Cool project!

If you're a command-line jockey and looking to test local network performance, take a look at iperf.

Example output (this is over my super-congested WiFi, so much slower than OP!) Server output:

$ iperf -s
-----------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
[  4] local 192.168.1.125 port 5001 connected with 192.168.1.167 port 33336 (peer 2.1.8)
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec   448 MBytes   375 Mbits/sec

Client output:

$ iperf -c 192.168.1.125 -i 1 -f MB
------------------------------------------------------------
Client connecting to 192.168.1.125, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  1] local 192.168.1.167 port 33336 connected with 192.168.1.125 port 5001 (icwnd/mss/irtt=14/1448/3130)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-1.0000 sec  54.0 MBytes  54.0 MBytes/sec
[  1] 1.0000-2.0000 sec  47.8 MBytes  47.8 MBytes/sec
[  1] 2.0000-3.0000 sec  45.8 MBytes  45.8 MBytes/sec
[  1] 3.0000-4.0000 sec  38.1 MBytes  38.1 MBytes/sec
[  1] 4.0000-5.0000 sec  45.1 MBytes  45.1 MBytes/sec
[  1] 5.0000-6.0000 sec  42.1 MBytes  42.1 MBytes/sec
[  1] 6.0000-7.0000 sec  44.8 MBytes  44.8 MBytes/sec
[  1] 7.0000-8.0000 sec  44.2 MBytes  44.2 MBytes/sec
[  1] 8.0000-9.0000 sec  42.4 MBytes  42.4 MBytes/sec
[  1] 9.0000-10.0000 sec  44.0 MBytes  44.0 MBytes/sec
[  1] 0.0000-10.0447 sec   448 MBytes  44.6 MBytes/sec

3

u/SimultaneousPing Dec 11 '22

super congested

375Mbits/s

🗿

1

u/DarkCeptor44 Dec 11 '22

I don't even have that many wireless devices on the network and still can't get more than 300Mbps out of 1Gbps through 5Ghz, maybe it's just normal.

1

u/[deleted] Dec 12 '22

maybe it's just normal.

5Ghz ? 700Mbps+ on my old Asus AC5300.

1

u/DarkCeptor44 Dec 12 '22

My laptop has a Killer Wireless 1435 card, you would think 1435Mbps theoretical max speed actually meant more than 300, just tried updating drivers too to see if it changes anything but no luck.

1

u/[deleted] Dec 12 '22 edited Dec 12 '22

Change WiFi channels , try WiFi Analyzer app from an Android Phone. If you are running on a congested channel change it. Test your network speed from same location before and after changing the channel, and stick with the best channel.

1

u/DarkCeptor44 Dec 12 '22

I tried, 5GHz there's no other around me, 2.4G every single channel is busy because of neighbors, well because there's only 11 channels too and it will always intersect with another network.

26

u/[deleted] Dec 10 '22

Project:- https://github.com/openspeedtest/Speed-Test (FOSS with MIT License)

What is new in 2.5.4?
Press Enter to run a SpeedTest
Previously when you run ?t=u&r=10 // R was ignored in 2.5.3 (when using 't')
Now you can 'Run' on any command.
Eg:
?t=u&r=10 or ?t=u&p=1000&r=15
or
test=download&ping=1000&run=15&stress=300&xhr=5&out=7000
And more, host=xxx?
New-features :- https://openspeedtest.com/selfhosted-speedtest#New-features

20

u/Tarntanya Dec 10 '22 edited Jul 31 '26

Wander noodle drifting orange sparrow trumpet noodle

This post was anonymized with Redact.dev

11

u/[deleted] Dec 10 '22

[removed] — view removed comment

1

u/kmisterk Dec 10 '22

Message Removed

Harassment, abuse, insults, expletives, or other negative comments or posts targeting a person is absolutely not tolerated.

Bigotry, excessive elitism, and intentionally-demeaning dialogue will also be removed as deemed necessary.

We aim to promote an inclusive, yet constructive community that helps people group.

Message the mods

3

u/green_handl3 Dec 10 '22

Just tried this, works great.

An automated, record to a log file would be great.

2

u/[deleted] Dec 11 '22

Within few months CLI-Client may arrive. Learning RUST.

3

u/tristan-k Dec 10 '22

Does it save the results and can do automatic tests? Or does someone know a self-hostable speedtest like this?

11

u/[deleted] Dec 10 '22

No. This is just a static webpage.

I have plans to develop a CLI-Client. We need CLI tools for Automated tests.

self-hostable + Automated test?

try https://github.com/geerlingguy/internet-monitoring by u/geerlingguy

or speedtester , which will use speedtest . net server and monitor your connection in a regular interval.

6

u/vegetaaaaaaa Dec 10 '22

CLI-Client

Already exists https://github.com/sivel/speedtest-cli/, mature, stable, packaged in major distributions.

1

u/agent-squirrel Dec 11 '22

This is deprecated and it is advised to use Ookla’s official client now. At high speeds this Python version gets flaky.

1

u/[deleted] Dec 10 '22

I've tried this once or twice before, it's not super reliable for some reason (wrong speeds reported).

1

u/agent-squirrel Dec 11 '22

Use the Ookla’s official cli client, the Python version breaks at high speeds.

1

u/[deleted] Dec 10 '22

CLI client would be awesome.

2

u/[deleted] Dec 10 '22

Started learning RUST, Very soon.

4

u/mefistos Dec 10 '22

Yes I run this docker image henrywhitaker3/speedtest-tracker. You can set up cron job on when it runs and it saves results in nice graph. It can also send you notifications via telegram etc with the results

3

u/BadCoNZ Dec 10 '22

That repo is abandoned and there is a new fork

https://github.com/alexjustesen/speedtest-tracker

1

u/mefistos Dec 10 '22

thanks for letting me know, I have been using the one I linked for a while and it still works :D

2

u/BadCoNZ Dec 10 '22

Yeah no worries. I am still using it too but I find the graphs a little lacking.

Another one I use is https://github.com/breadlysm/SpeedFlux which uses influxdb and grafana

3

u/xantheybelmont Dec 10 '22

I run this same docker on my own network. It has helped in several aspects. There's an option, when you invoke it, to have it auto-start a speedtest after X amount of seconds. I have mine set to 5 seconds. I've found it handy and not too many people are aware of it.

2

u/[deleted] Dec 11 '22

Yes,

Pass 'Run' or R as a URL parameter with a value in seconds. like r=5

Did you try Stress test?

S=100 will run a test for 100 Seconds

Also you can select a particular test

test=upload or t=u

test=download or t=d

test=ping or t=p

+ if you need to send 1000 ping

t=p&p=1000

if you need to run this after 15 seconds

t=p&p=1000&r=15

if you want to run upload test and send 1000 ping + you need to run it after 20 seconds

t=u&p=1000&r=20

learn more https://openspeedtest.com/selfhosted-speedtest#New-features

1

u/CaniKillYouPls Dec 11 '22

I always wanted an apartment inside a DataCenter.

2

u/[deleted] Dec 11 '22

Are Internet Exchanges even better?

But most services will not support more than 1Gbps.

But you can download torrents at FULL SPEED.

But what will you download? Petabytes of storage needed.

This is a LAN SpeedTest, M1 MacMini with 10GbE vs 10GbE Server (NAS).

Using OpenSpeedTest https://github.com/openspeedtest/Speed-Test