Challenges with accurate embedded speedtest

A place where you can chat about anything that isn't to do with games!
Post Reply
hubiqyxe
Posts: 1
Joined: Thu Nov 07, 2019 8:13 am

Challenges with accurate embedded speedtest

Post by hubiqyxe »

I have tried out various ways to run a program on an OpenWRT router which measures ISP speed accurately. My benchmark for comparison is speedtest.net 2 result run from user's browser connected to the same router.

A custom multi-threaded C program using sockets; using speedtest.net 2 test data servers. Values do match. However I am having a tough time making this program run on all architectures.

A shell program speedtest-lite (https://github.com/neutronth/speedtest-lite 4); uses speedtest.net 2 servers. Values reported are always less.

Set up a dedicated server and just fired off a curl program from router and watched the speed. Tried running multiple instances of curl simultaneously to better use router's CPU and summed up speed values from all threads. Final result is still less than the benchmark.

Would like to hear opinions from forum members on why the values are not matching up to the benchmark.

Am I hitting router's CPU bottleneck when running the program? As per 'top' command output, it doesn't appear that's the case always.
Besides, why an user, connected to the same router is able to get better speed reported in the browser?

Wouldn't router's CPU load be the same in both cases?
Post Reply