-
Notifications
You must be signed in to change notification settings - Fork 26
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
control hub cpu load #254
Comments
Hi. The main measurements of CPU utilisation that were performed when the ControlHub was initially developed focussed on continual polling and continual block reads/writes. In this case, the frequency of 'continual' polling was at least ~ 1kHz, so higher than what you mentioned, but for ~ 10 board the CPU usage was of a similar order of magnitude to what you report. |
My concern is how the load scales if we double the amount of hardware ... it may mean that we need 12 core machine just for the control hub. |
Indeed, I think that the larger-than-expected CPU usage is related to Erlang trying to avoid large latencies. When you double the number of boards being controlled, I would not expect the CPU usage to double for the same performance - instead I'd expect that the CPU cycles are used more efficiently by the ControlHub. |
I wonder a bit about the huge CPU load the control hub is giving us. But for a process which just redirects data packets I would not expect an excessive CPU usage, even so the amount of monitoring is significant.
Setup: ~28 IOCs to 28 boards
Each IOC queries several registers with ~1 Hz rate; the load per IOC is <1-2% CPU normally
The control hup is using 150-250 % cpu, and up to 600% if we do more than the basic monitoring.
Which was surprising.
As I didnt see any indication here that this is "known" and what to expect, is this a known behaviour?
The text was updated successfully, but these errors were encountered: