What's new

spdMerlin - Automated speedtests with graphs

Amwjujo

Regular Contributor
Now after I run the test selecting the server myself it also works when I do run another test as auto from ssh - option 1. Maybe gspannu can confirm if this works for him as well.
 

gspannu

Regular Contributor
For whatever reason, this is now working... :)

I uninstalled and reinstalled SpdMerlin and tried just now (after reading the previous posts to try and manually select a server). It seems to work even with Automatic server selection.

So, all good.... as @Jack Yaz says, it might have been a SpeedTest glitch at some specific servers !
 

aslak

New Around Here
Are there any general suggestions as to how to re-enable the gui graph section if it goes missing? Not sure what caused it but the entire Addons-tab disappeared around the time I installed Unbound Manager. I also can no longer find uiDivStats, but it could be that I forgot which sub tab of a tab it's reported (I did check most of them tho).

Edit: looking at logs it seems there's a problem syncing with ntp. Checking ntpMerlin it appears to bump into a lock file whatever option I try to run. Not sure why that would remove the tab from the gui tho. Anyway, when I tried a reinstall, I got a bunch of errors, looked like some missing lines of code during uninstallation, and at reinstall I got a bunch of ``SQLite header and source version mismatch`` errors, followed by ``dos2unix: can't open '/jffs/addons/ntpmerlin.d/csv/*.htm': No such file or directory`` and ``cp: can't stat '/jffs/addons/ntpmerlin.d/csv/*.htm': No such file or directory``. (I assume I was able to replicate the error messages by running the "Generate updated ntpMerlin graphs now" script in amtm, since the errors looked awfully similar (the ones that popped up during install got cleared very quickly).) I'll check syslog later to verify that spdMerlin still gets ntp problems.

Edit 2: Look at that, addons tab is back. Presumably I'm gonna need to solve those errors that popped up in ntpMerlin tho? Reinstall the SQLite database file? But how?
 
Last edited:

Daveo

Occasional Visitor
Got spdMerlin installed.

How do I see what test location it's using for tests or is it automatic depending on distance and/or ping ?
 

L&LD

Part of the Furniture
@Daveo, go to amtm and go to the spdMerlin script.
 

joe scian

Senior Member
Hi Jack

Having issues getting my page tabs loaded in Addons - Tabs are missing and the following common errors occur in SpdMerlin UIDivStats and also Unbound stats tab.

sed: can't move '/tmp/menuTree.jsAN9cmi' to '/tmp/menuTree.js': Device or resource busy
sed: can't move '/tmp/menuTree.jsp6ey2t' to '/tmp/menuTree.js': Device or resource busy


Any idea how to overcome this error and get my tabs back? Have tried uninstalling and reinstalling and also tried to delete /tmp/menuTree.js but i cant seem to delete it.

PS- A Router reboot fixed it !!!
 
Last edited:

JGrana

Senior Member
Jack, it appears that the Entware upgrade (which is fairly large) updates ntpd which, from what I can tell, overwrites your version of /opt/etc/init.d/S77ntpd.

Heads up ;-)
 

Slawek P

Regular Contributor
Hello - what are max speeds that spdMerlin can process, I am observing speeds tests running on spdMerlin lower than on my PC connected via WiFi to this roture testing through Ookla website.
I think I am hitting spdMerlin bottlenecks.
 

Slawek P

Regular Contributor
It keeps giving false stats for download speeds. Upload is accurate.
Dowload around 670 from my WiFi client.
TimeDownload (Mbps)Upload (Mbps)
2020-09-15 11:12:18367.44110.21
2020-09-15 10:42:18362.59110.32
2020-09-15 10:12:19366.09109.29
2020-09-15 09:42:18365.41109.96
2020-09-15 09:12:19361.86109.19

I will be switching it off as no value in this information.
 

Jack Yaz

Part of the Furniture
It keeps giving false stats for download speeds. Upload is accurate.
Dowload around 670 from my WiFi client.
TimeDownload (Mbps)Upload (Mbps)
2020-09-15 11:12:18367.44110.21
2020-09-15 10:42:18362.59110.32
2020-09-15 10:12:19366.09109.29
2020-09-15 09:42:18365.41109.96
2020-09-15 09:12:19361.86109.19


I will be switching it off as no value in this information.
From post #1

spdMerlin uses SpeedTest CLI
If the speeds from this utility are significantly lower than those you see from the desktop app/browser test, the limiting factor will be your router's CPU. That being said, there is probably room for improvement/optimisation by the Ookla team in the CLI binary itself. Please direct feedback about speed issues to Ookla via the above link. There is nothing that I can do about them.
 

Jack Yaz

Part of the Furniture
I have sent them a tweet, I could not see any feedback form on the site
Indeed running a speedtest manually is maxing out 1 CPU out of 4 that AX88U has got.
fwiw i get 450-550 on my 86u
 

Slawek P

Regular Contributor
fwiw i get 450-550 on my 86u
Interesting, perhaps it is something else or just AX88U bug. Or something non-standard like IPv6 or unbound
Or home PC is lying - though I have tried HyperOptic test and it also came around 680.
Wow it keeps growing 771 just now, BT 1Gb package is nice. Perhaps they throttle if test is run from a router.
 

RMerlin

Asuswrt-Merlin dev
One thing worth testing is running the test on a different cpu core (using taskset), to see if maybe the applet is fighting for CPU with NAT/routing on the same core.
 

Jack Yaz

Part of the Furniture
One thing worth testing is running the test on a different cpu core (using taskset), to see if maybe the applet is fighting for CPU with NAT/routing on the same core.
is NAT/routing always bound to a particular core, e.g. 0?
 

Slawek P

Regular Contributor
One thing worth testing is running the test on a different cpu core (using taskset), to see if maybe the applet is fighting for CPU with NAT/routing on the same core.
Make no difference really just the utilisation of a different core jumps from 0-5% to 100%.
Code:
taskset -c 0x00000002 ./speedtest
Interestingly hex numbers to do not match cores on Web UI and appears no way to choose to Core 1
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top