shmups.system11.org

Shmups Forum
 
* FAQ    * Search
 * Register  * Login 
It is currently Fri Nov 22, 2019 2:53 am View unanswered posts
View active topics



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Challenges with accurate embedded speedtest
PostPosted: Thu Nov 07, 2019 8:19 am 



Joined: 07 Nov 2019
Posts: 1
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?


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], it290 and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Space Pilot 3K template by Jakob Persson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group