Bug description
Hi,
I've been chatting to @howardjohn about this, and felt it warrants a github issue to track.
We've recently upgrade a staging cluster which has circa 500 istio-proxies on it from 1.6.13 to 1.7 and once we'd updated all sidecars we observed about a 20-25% increase in istio-proxy memory cluster wide:

On top of the 10% added going from 1.5 -> 1.6 due to SDS, these increases are getting hard to stomach.
We can compare this cluster with our production cluster. They're identical other than traffic patterns and number of endpoints (the 1.6 cluster having twice as many endpoints and significantly more load - so if anything, it should be higher).
Looking at the min across the board gives a decent indication of proxy memory usage before they start taking load, you can see the min on 1.7 is around the 50mb mark:

Whereas on 1.6 it's more like 40mb:

For comparison purposes, we run a service on all of our clusters call istio-test, as you can see here on the 1.7 cluster we're around 50mb average usage:

Vs. the 1.6 cluster which is around 40mb:

Both are configured identically as their purpose is to compare istio releases.
[ ] Docs
[ ] Installation
[ ] Networking
[x] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure
Expected behavior
Not a 20% increase in memory between releases.
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)
1.7.5-4d93d71598da6e07cf9c68e32aaa0c4eadc308a4
How was Istio installed?
Helm
Environment where bug was observed (cloud vendor, OS, etc)
GKE
Bug description
Hi,
I've been chatting to @howardjohn about this, and felt it warrants a github issue to track.
We've recently upgrade a staging cluster which has circa 500 istio-proxies on it from 1.6.13 to 1.7 and once we'd updated all sidecars we observed about a 20-25% increase in istio-proxy memory cluster wide:
On top of the 10% added going from 1.5 -> 1.6 due to SDS, these increases are getting hard to stomach.
We can compare this cluster with our production cluster. They're identical other than traffic patterns and number of endpoints (the 1.6 cluster having twice as many endpoints and significantly more load - so if anything, it should be higher).
Looking at the
minacross the board gives a decent indication of proxy memory usage before they start taking load, you can see theminon 1.7 is around the 50mb mark:Whereas on 1.6 it's more like 40mb:
For comparison purposes, we run a service on all of our clusters call
istio-test, as you can see here on the 1.7 cluster we're around 50mb average usage:Vs. the 1.6 cluster which is around 40mb:
Both are configured identically as their purpose is to compare istio releases.
[ ] Docs
[ ] Installation
[ ] Networking
[x] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure
Expected behavior
Not a 20% increase in memory between releases.
Steps to reproduce the bug
Version (include the output of
istioctl version --remoteandkubectl version --shortandhelm versionif you used Helm)1.7.5-4d93d71598da6e07cf9c68e32aaa0c4eadc308a4
How was Istio installed?
Helm
Environment where bug was observed (cloud vendor, OS, etc)
GKE