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

"High" CPU load #84

Open
MD-V opened this issue Mar 7, 2024 · 2 comments
Open

"High" CPU load #84

MD-V opened this issue Mar 7, 2024 · 2 comments

Comments

@MD-V
Copy link
Contributor

MD-V commented Mar 7, 2024

On our machine we have around 6-8 OPC UA servers installed that register with the LDS every 30 seconds. This results in a rather high CPU usage (LDS is the process with the most CPU usage on the whole machine):
UA-LDS CPU usage

I have installed a prototype of my .NET based LDS (https://github.com/MD-V/LightLDSCore) on the machine.
It uses much less CPU (see image):
LightLDS CPU usage

Is there any way to optimize the CPU usage for the UA-LDS?

@erhardgrishaber
Copy link
Contributor

@MD-V : At this point, there are no plans for any performance improvements (1% CPU is not critical). Other than the periodical OPC-UA Server registration, the LDS is also communicating with other LDS instances on the local network (via Bonjour/Avahi), so it is normal for it to have a higher load that the .Net based implementation.

@MD-V
Copy link
Contributor Author

MD-V commented Mar 20, 2024

@erhardgrishaber Okay, 1% doesn't seem critical but in the context that the LDS uses the most CPU overall (even more than our main control applications) means many wasted CPU cycles (for simple discovery functionality).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants