libkrun icon indicating copy to clipboard operation
libkrun copied to clipboard

Investigate podman build performance versus vfkit

Open jakecorrenti opened this issue 4 months ago • 4 comments

In this PR in the Podman repo (https://github.com/containers/podman/pull/27059) it appears that the libkrun performance is approximately 3 seconds slower than vfkit for build operations.

I wanted to file this issue as a placemarker for futher investigation to see if there's anything we can do to improve the performance.

Benchmark results in question

Mac OS

  • Number of runs: 5
  • Machine:
    • Chip: Apple M3 Pro
    • RAM: 36 GB
    • SSD: 1 TB Apple SSD
  • Podman machine configuration:
    • CPUs: 4
    • Memory: 5.1 GB

Providers

applehv

  • Before: 67.84 s
  • After: 9.99 s

libkrun

  • Before: 70.18 s
  • After: 12.62 s

jakecorrenti avatar Sep 23 '25 14:09 jakecorrenti