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
istio pilot cpu spikes #23031
Comments
We cannot really help with performance issues without way more info. Size of services/pods/namespace, are you using Sidecar, rate of config change, rate of endpoints change, ... See https://github.com/istio/istio/wiki/Analyzing-Istio-Performance as well. I also recommend using Istio 1.5 which has more performance improvements |
Yes, large amount of config contributes to the cost. Istio 1.6, releasing next week, also has very substantial performance improvements. It would be very helpful to get a CPU profile following https://github.com/istio/istio/wiki/Analyzing-Istio-Performance, otherwise we will just be guessing where time is spent |
I've got cpu profile: |
Thanks! if you still have it around can you upload the raw tar.gz of the profile? it helps to dig around a bit more But ultimately right now there doesn't look to be any major areas that are going wrong, just looks like standard high load of pilot |
i am also facing the issue, istiod (1.5.8) cpu usage spiked up when active xDS connections increased from ~185 to ~220 istiod pod scaled to its max 5 count, i updated HPA max to 10, then it scaled to 10 here is one of istiod pod cpu profile I am trying to find:
|
Look at the "Pilot Errors" section - you have a huge error rate, which is likely causing weird things to happen. Look at |
thanks for the pointer, issue was resolved on its own by the time I posted the comment, see the drop at the end of all graphs. istiod logs show 2 types of This one is due to the k8 secret referred in
i guess that this error is due to istiod is at
do you know how increased error would had caused the issue? Because issue is resolved i dont know if increased error rate caused it, I will update here if this issue is reproducible. |
🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2020-07-30. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions. Created by the issue and PR lifecycle manager. |
istio-pilot cpu usage too high spikes
Expected behavior
https://archive.istio.io/v1.4/docs/ops/deployment/performance-and-scalability/
expected fewer cpu usage
Version (include the output of
istioctl version --remote
andkubectl version
andhelm version
if you used Helm)How was Istio installed?
Environment where bug was observed (cloud vendor, OS, etc)
AWS elastic kubernetes system
The text was updated successfully, but these errors were encountered: