Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds tests-scheduler for planning tests at network usage peak and minimum #632

Closed
wants to merge 21 commits into from

Conversation

ilario
Copy link
Member

@ilario ilario commented Oct 20, 2019

This was the object of my GSoC, I am currently testing it but if you want to review, it already works.

It uses the number of hosts connected to the network (the broadcast domain) for estimating the network load. When I designed it I didn't think that modern people keep the smartphone always on and connected also during the night, so this could generate a false "peak" of usage?

I used shared-state for avoiding running the night tests (e.g. bandwidth-test) at the same time. I increased the TTL to 48 h, but seems that shared-state does not propagate data in the expected way, could anyone check if I'm using it the correct way?

(sorry for leaving all the WIP commits, I'll squash them at some point)

@ilario
Copy link
Member Author

ilario commented Oct 23, 2019

Things that are still missing:

  • add a cron line for copying the probe data to the flash memory once per day (the current method does not consider the case in which electricity cuts happen)
  • shared-state does not work as expected and conflicts happen (no idea how or why, maybe I'm not using it right, no way to know as it is undocumented shared-state package requires documentation #492 ), so find a list of the best hours (rather than just the first element of this list) and randomly take one of these for the night test. Do the same with the 5 minutes blocks.
  • run logrotate in crontab (or just avoid using it) as it does not run by default (see issue here logrotate: not scheduled from crond openwrt/packages#5586)

@ilario
Copy link
Member Author

ilario commented Feb 5, 2024

Closing this, as there was no interest on this in the last years. If anyone thinks it can be useful, just comment here and I will try to get this to a decent working state.

@ilario ilario closed this Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant