Skip to main content
⎈K8sCalc

networking

Service Mesh Overhead Calculator

Calculate the RAM, CPU, and latency overhead of running Istio, Linkerd, or Cilium as a service mesh. Compare sidecar vs eBPF approaches per pod and cluster-wide.

✓Content reviewed Jul 18, 2026

Related tool

K8s Cluster Cost

Calculate the monthly cost of running a self-managed Kubernetes cluster on Hetzner Cloud, Vultr, or DigitalOcean. Choose server types for control planes, workers, and load balancers with HA mode.

Comparing Service Mesh Overhead: Istio vs Linkerd vs Cilium

Service meshes provide mTLS, observability, traffic management, and retries — but at a resource cost that scales with pod count.

Architecture Comparison

MeshApproachSidecarOverhead Model
IstioEnvoy proxyYes (per pod)O(pods)
Linkerdmicro-proxyYes (per pod)O(pods), smaller
CiliumeBPFNoO(nodes)

Istio Overhead

Each pod gets an injected Envoy container:

  • ›Idle: ~50 MB RAM, 0.01 vCPU
  • ›Under load: up to 300 MB RAM, 0.5 vCPU
  • ›Control plane (istiod): ~1 GB RAM

Linkerd Overhead

Linkerd's micro-proxy (Rust, not C++) is significantly lighter:

  • ›Idle: ~10 MB RAM per sidecar
  • ›Control plane: ~250 MB RAM total

Cilium eBPF Approach

No sidecar = no per-pod overhead. eBPF programs run in kernel space:

  • ›Agent per node: ~100–200 MB RAM
  • ›WireGuard encryption: adds ~0.05 vCPU per node
  • ›Hubble (observability): +80 MB per node

Decision Guide

  • ›Need full traffic management (circuit breaking, retries, canary): Istio
  • ›Want mTLS + observability with minimal overhead: Linkerd
  • ›Already using Cilium as CNI, want lowest overhead: Cilium service mesh mode

Worked example: Mesh Overhead

What the calculator returns for its default inputs — change any value in the form above to recalculate.

InputValue
Service MeshIstio (Envoy sidecar) — most features
Total Pod Count50
Node Count5
ResultValue
Total extra RAM (Istio (Envoy sidecars))3.44 GB
Total extra CPU1.00 vCPU
Added latency (per hop)~2 ms
Sidecar RAM (50 pods)2.44 GB
Sidecar CPU total0.500 vCPU
Control plane RAM1.00 GB
Control plane CPU0.50 vCPU

Frequently Asked Questions

How much RAM does an Istio Envoy sidecar use?

An idle Envoy sidecar uses ~40–60 MB RAM. Under load (thousands of req/sec) it can reach 150–300 MB. For a 50-pod cluster: 50 × 50 MB = 2.5 GB of RAM just for sidecars, before your application workloads.

Is Cilium really zero-overhead?

Not zero, but much lower. Cilium runs eBPF programs in the Linux kernel (no sidecar process), so there's no per-pod memory overhead. Instead, there's a DaemonSet agent per node (~100–200 MB RAM per node). For 50 pods on 5 nodes: ~750 MB total vs Istio's ~2.5 GB.

Why does Istio add latency?

Every request passes through two Envoy sidecars — one on the sender side and one on the receiver side. Each Envoy adds ~1–2 ms per hop for TLS termination, header manipulation, telemetry, and policy enforcement. On service chains (A→B→C→D), this compounds.

Can I use Cilium for mTLS without sidecars?

Yes — Cilium supports transparent encryption via WireGuard or IPsec, and its own certificate management. Cilium's SPIFFE/SPIRE-based mutual authentication (mTLS) provides sidecar-free identity-based security roughly equivalent to Istio's Ambient/sidecar security model with a fraction of the overhead — this is gated by the Cilium version you run, not your Kubernetes version, so check Cilium's own release notes for mTLS feature availability.

Related Tools

Related Generators

Related Guides