Skip to content

[Performance] Overview of performance improvements for v1.14 #6394

Open
@zach593

Description

@zach593

Since v1.13, we have made several performance enhancements. This issue is intended to track the commits that contributed to performance improvements and to quantify the overall performance gain in the upcoming v1.14 release compared to v1.13.

Commits with Clear Performance Gains

Commits with Potential Performance Impact

If I missed any commits, please let me know and I will add them to the list.

Performance improvements brought by version v1.14 compared to v1.13

karmada-controller-manager configuration:

Image

The test setup includes 5,000 Deployments, each paired with a corresponding PropagationPolicy that schedules it to two member clusters. Each Deployment also has a unique ConfigMap as a dependency, which is distributed along with the Deployment to the same clusters.
These resources were created while karmada-controller-manager was offline, meaning Karmada is syncing them for the first time during the test.

Conclusion

Compared to v1.13.0, v1.14.0-beta.0 delivers significant performance improvements, especially in karmada-controller-manager:

  • Cold start time (clear the workqueue) reduced from ~7 minutes to ~4 minutes, a 45% improvement.
  • Resource detector: Max value of average processing time reduced from 391ms to 180ms (54% reduction).
  • Dependencies distributor: Max value of average processing time reduced from 378ms to 216ms (43% reduction).
  • Execution controller: Max value of average processing time reduced from 505ms to 248ms (50% reduction).

In addition to the faster processing speed, karmada-controller-manager shows a notable reduction in resource usage:

  • CPU usage reduced from 4–7.5 cores to 1.8–2.4 cores (40%–65% reduction).
  • Memory peak usage reduced from 1.9GB to 1.47GB (22% reduction).
Detailed Monitoring Data:

v1.13.0

workqueue depth:

Image

cpu usage:

Image

mem usage:

Image

avg reconciliation processing duration:

Image

v1.14.0-beta.0

workqueue depth:

Image

cpu usage:

Image

mem usage:

Image

avg reconciliation processing duration:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Planned In Release 1.14

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions