-
Notifications
You must be signed in to change notification settings - Fork 13
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
App creates constant CPU load #136
Comments
So, this is normal behavior and it is related to VPP. We use this framework for cmd-forwarder-vpp and for cmd-nse-vl3-vpp.
As we can see from the documentation - With at least one interface in polling mode, the VPP CPU utilization is always 100% - https://fd.io/docs/vpp/v2101/troubleshooting/cpuusage.html#vpp-cpu-load Since the limits for forwarder are quite high, that's why we see such a load. |
Seems like @glazychev-art is correct. @edwarnicke Do you have any ideas on this? |
@glazychev-art I've looked at the code, and we seem to be trying to set memif interfaces to adaptive polling: the question is: why isn't that happening? |
So, we solved the problem with memifs. It turned out that the adaptive mode was not set. This greatly reduced the load on the CPU:
|
Fixed since v1.7.0-rc.2 |
Expected Behavior
When there are no new requests and no network changes CPU load should be close to zero.
Current Behavior
If you just deploy
nse-vl3-vpp
app you will get constant CPU load from this app and from forwarder.Steps to Reproduce
kubectl top pod --all-namespaces
Context
Failure Logs
vl3-cluster-dump.zip
The text was updated successfully, but these errors were encountered: