Skip to content

Approx. 20% increase in istio-proxy memory usage on 1.7 vs 1.6 #28652

Description

@Stono

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:

Screenshot 2020-11-06 at 14 31 11

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:

Screenshot 2020-11-06 at 15 00 44

Whereas on 1.6 it's more like 40mb:

Screenshot 2020-11-06 at 15 00 48

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:

Screenshot 2020-11-06 at 14 53 37

Vs. the 1.6 cluster which is around 40mb:

Screenshot 2020-11-06 at 14 53 41

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions