Prove that crun use less memory than runc

Jbn1233
Jan 30, 2021

--

Test scenario

  1. Kubernetes 1.18.15 cluster with:
  • 1 runc master 4 cpu 4GB memory
  • 1 runc worker 4 cpu 4GB memory
  • 1 crun worker 4 cpu 4GB memory

2. Deploy 300 pods echoserver.

3. Load test to svc ip with simple curl while loop.

Result:

Conclusion:

Available memory from free command, runc use ~ 7% more memory than crun.

That’s all.

Update1:

increase number of pod to 520, result still the same.

Update2:

podman vs docker crun still use ~50% less memory.

--

--

Jbn1233
Jbn1233

Written by Jbn1233

Very short and simple notes for CKA/SRE and may not works on your environment | jbn1233@gmail.com | Bangkok, Thailand |

No responses yet