Summary
The memory consumption of the agent has not been fully optimized yet. Optimization of the memory footprint has been a frequent user ask.
Details
The memory consumption consists of:
- Direct memory consumption of the cilium-agent
- Peak memory allocation of the agent with delayed release of the Go runtime
- Maximum memory usage of all components running inside the Cilium pod at once, potentially exceeding the configured memory limit of the pod. (agent + health endpoints + Envoy + client invocations)
- eBPF map usage
Tasks
Summary
The memory consumption of the agent has not been fully optimized yet. Optimization of the memory footprint has been a frequent user ask.
Details
The memory consumption consists of:
Tasks
cilium_metricseBPF map (currently 64K)cilium_policymap (should be endpoint specific)cilium-cni