cancel
Showing results for 
Search instead for 
Did you mean: 

speedtest-cli

PeeGee
Aspiring Pro
Posts: 1,081
Thanks: 45
Fixes: 3
Registered: 05-04-2009

speedtest-cli

Anyone tried speedtest-cli (uses speedtest.net servers)? I often get a negative spike with Samknows around 21:00 (+/- 1hr) - see image, where the drop is 70% to 22Mbps Cry
The drop is variable, from 3% to 50% usually, though the BTW test hasn't shown a significant drop on the odd occasion I remember to run it at a suitable time, so I want to see if it is the route SK uses that's the problem (unless SK uses the same servers, of course Shocked Roll eyes ).
I've tested speedtest-cli with Mint17 and it seems to be giving results close to the BT values, so I've set cron to run it 5 minutes before/after 8, 9, and 10PM and log the results.
Phil
Plusnet Fibre (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link TD-W9980 modem-router.
8 REPLIES
Highlighted
Community Veteran
Posts: 6,649
Thanks: 229
Fixes: 16
Registered: 16-02-2009

Re: speedtest-cli

You got anything that switches on/off at 9?
Not tried the cli version will have a look at it.
PeeGee
Aspiring Pro
Posts: 1,081
Thanks: 45
Fixes: 3
Registered: 05-04-2009

Re: speedtest-cli

HB,
Have a look at this page.
The only fixed timing internally is heating/hot water; nowhere near the 20-22:00 slot, everything else is "random". The graph below covers January and the only spike not in the slot is 16:00 18th January (third from right), plus there are 7 "slots" where the variation is below 2Mbps; with 2 each on Wed, Thurs and Sat.
There's no "heavy" industry nearby, but the local A&E hospital is 100m away (direct line), with a common 4.1km (of my 4.5km) to the exchange, assuming BT, and then onward. There is a possibility of power problems, of course, but the timing seems a bit strange and the transformer for the houses is just across the road. The hospital was built 8 years after the houses.
To (possibly) get a better picture as SK data is too coarse, I'm going to change the cron timings for tonight and tomorrow to run at 10min intervals from 19:05 to 22:55.
Phil
Plusnet Fibre (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link TD-W9980 modem-router.
Community Veteran
Posts: 6,649
Thanks: 229
Fixes: 16
Registered: 16-02-2009

Re: speedtest-cli

Interesting, are you piping out the test to a log file?
VileReynard
Seasoned Pro
Posts: 10,673
Thanks: 209
Fixes: 9
Registered: 01-09-2007

Re: speedtest-cli

Not unusual (for me) - but important to see the vertical scale.
BTW speedtest-cli currently shows
Quote
jeremy@hector:~$ speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from PlusNet Technologies Ltd (87.114.xxx.xxx)...
Selecting best server based on latency...
Hosted by Peer Point Internet LTD (London) [2.52 km]: 21.328 ms
Testing download speed........................................
Download: 47.04 Mbits/s
Testing upload speed..................................................
Upload: 16.44 Mbits/s

PeeGee
Aspiring Pro
Posts: 1,081
Thanks: 45
Fixes: 3
Registered: 05-04-2009

Re: speedtest-cli

Yes, mmm - must do better (see below)! Looking at your graph, perhaps mine isn't so bad Roll eyes
@HMcB
Yes, append date/time to the file and pipe via "grep Mbits >>"
Again, must do better - made my usual mistake of testing directly and forgetting the full path for the commands under cron, even though I tell myself to not forget next time Crazy so no data this PM Shocked Cry
Phil
Plusnet Fibre (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link TD-W9980 modem-router.
PeeGee
Aspiring Pro
Posts: 1,081
Thanks: 45
Fixes: 3
Registered: 05-04-2009

Re: speedtest-cli

Not much variation for the last two nights, but the detail for yesterday (21st) is below. Samknows in blue, speedtest-cli in red. Spacing is a bit wayward due to plotting two series Roll eyes
Plusnet Fibre (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link TD-W9980 modem-router.
Community Veteran
Posts: 6,649
Thanks: 229
Fixes: 16
Registered: 16-02-2009

Re: speedtest-cli

Anything downloading at that time?
A movie streaming or an update?
PeeGee
Aspiring Pro
Posts: 1,081
Thanks: 45
Fixes: 3
Registered: 05-04-2009

Re: speedtest-cli

Not that I know Roll eyes I was playing a couple of "freesat" recordings at that time, not streaming.
I had done some updates in the afternoon and there's automated mail fetch on the hour/half-hour (but no e-mails!) All other automated tasks don't fit in the time period.
There's a possibility the freesat unit was doing something in the background (it does seem to fetch things at times), perhaps I should try disconnecting it when it's not needed (though that seems to stop the "teletext" service).
The system I'm currently using was off, so no other internet activity.
Plusnet Fibre (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link TD-W9980 modem-router.