cancel
Showing results for 
Search instead for 
Did you mean: 

speedtest-cli

PeeGee
Pro
Posts: 1,217
Thanks: 84
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 FTTC (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link Archer VR600 modem-router.
8 REPLIES 8
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
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
Pro
Posts: 1,217
Thanks: 84
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 FTTC (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link Archer VR600 modem-router.
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: speedtest-cli

Interesting, are you piping out the test to a log file?
VileReynard
Hero
Posts: 12,616
Thanks: 582
Fixes: 20
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

"In The Beginning Was The Word, And The Word Was Aardvark."

PeeGee
Pro
Posts: 1,217
Thanks: 84
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 FTTC (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link Archer VR600 modem-router.
PeeGee
Pro
Posts: 1,217
Thanks: 84
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 FTTC (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link Archer VR600 modem-router.
HairyMcbiker
All Star
Posts: 6,792
Thanks: 266
Fixes: 21
Registered: ‎16-02-2009

Re: speedtest-cli

Anything downloading at that time?
A movie streaming or an update?
PeeGee
Pro
Posts: 1,217
Thanks: 84
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 FTTC (Sep 2014), Essentials (Feb 2013); ADSL (Apr 2009); Customer since Jan 2004 (on 28kb dial-up)
Using a TP-Link Archer VR600 modem-router.