Skip to content

High istiod/discovery memory usage since upgrade to 1.10 #33569

Description

@Stono

Bug description
We recently upgraded from 1.9.5 to 1.10.1, and we are finding the memory usage of istiod much higher and quite unstable, as can be seen from the graph here:

Screenshot 2021-06-22 at 11 05 13

This is in mb, so we're seeing 35%ish swings on the average. The average has gone from 400mb to 1.3gb, and we're peaking as high as 1.7gb.

Zooming in to the lower time frames, and a single pod we see:
Screenshot 2021-06-22 at 11 09 09

07:00 is roughly the time of day our cluster starts taking deployments from developers, so i'd say this memory usage is related to config pushes, but the times don't really marry with the istiod logs:

logs.log.tar.gz

[ ] Docs
[ ] Installation
[ ] Networking
[x] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade

Expected behavior
Memory to be stable, and memory increases in istiod to be acknowledged as expected in release notes if they are indeed expected.

Steps to reproduce the bug
Unsure, obviously we have a big deployment with a lot of configuration, and welcome anyone to live debug with me.

Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
1.10.1

How was Istio installed?

Environment where the bug was observed (cloud vendor, OS, etc)

Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/perf and scalabilitylifecycle/automatically-closedIndicates a PR or issue that has been closed automatically.lifecycle/staleIndicates a PR or issue hasn't been manipulated by an Istio team member for a while

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions