Share your Pi Speedtests! [Script]

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
User avatar
ravenclaw900
Posts: 25
Joined: Sat Jan 09, 2021 4:05 pm

Re: Share your Pi Speedtests! [Script]

Post by ravenclaw900 »

I'm on a cable plan with ISP modem and OpenWRT router... I thought it was normal for upload speeds that low.

Code: Select all

dietpi@rpi4:~ $ curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 -
Retrieving speedtest.net configuration...
Testing from Spectrum (xxxx)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by XXXX [17.66 km]: 26.086 ms
Testing download speed................................................................................
Download: 147.49 Mbit/s
Testing upload speed......................................................................................................
Upload: 9.10 Mbit/s
User avatar
WarHawk
Posts: 773
Joined: Thu Jul 20, 2017 8:55 am

Re: Share your Pi Speedtests! [Script]

Post by WarHawk »

PING ms
15
DOWNLOAD Mbps
463.18
UPLOAD Mbps
8.40
XFINITY
Kingwood, TX
User avatar
Joulinar
Posts: 5617
Joined: Sat Nov 16, 2019 12:49 am

Re: Share your Pi Speedtests! [Script]

Post by Joulinar »

I'm not sure that the script is a good choice to measure internet speed. I'm getting quite some different values if I compare speedtest.net Python script with their own WebSite.

Both test targeted the same test server

Code: Select all

root@DietPiProd:~# curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 -
Retrieving speedtest.net configuration...
Testing from xxx (x.x.x.x)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by xxx (xxx) [93.14 km]: 558.364 ms
Testing download speed................................................................................
Download: 5.60 Mbit/s
Testing upload speed......................................................................................................
Upload: 10.87 Mbit/s
root@DietPiProd:~#
picture.png
picture.png (11.78 KiB) Viewed 194 times
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Reds
Posts: 34
Joined: Thu Feb 20, 2020 5:59 pm

Re: Share your Pi Speedtests! [Script]

Post by Reds »

Same here - the py script gives very inconsistent results. If I use the CLI Speedtest app directly, I get what I'm expecting to see:
dietpi@DevPi:~ $ /mnt/dietpi_nfs/speedtest/ARM/speedtest

Speedtest by Ookla

Server: Community Fibre Limited - London (id = 30690)
ISP: <removed>
Latency: 5.20 ms (0.03 ms jitter)
Download: 917.18 Mbps (data used: 552.6 MB)
Upload: 935.13 Mbps (data used: 677.9 MB)
Packet Loss: Not available.
Post Reply