Skip to content

Instantly share code, notes, and snippets.

@q66
Last active September 28, 2022 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save q66/ec52e90c53e54eb293ebd6de8d58c435 to your computer and use it in GitHub Desktop.
Save q66/ec52e90c53e54eb293ebd6de8d58c435 to your computer and use it in GitHub Desktop.

RISC-V Linux kernel build performance (defconfig, 5.19.11)

software:

  • qemu 7.0 (for both system and user)
  • rvvm git (https://github.com/LekKit/RVVM)
  • ubuntu 22.04 (all hosts, all guests), default kernel (hosts), 5.19.11 (guests)
  • default compiler (gcc, riscv64-linux-gnu cross or native)

hardware:

  • x86: ryzen 5950x, nvme (qemu-user, qemu-system, x86 cross)
  • ppc: raptor talos 2 (ibm power9) 2x18c smt4, nvme, little endian (ppc cross)
  • riscv: hifive unmatched, nvme
  • vm disk images: raw on nvme
machine real user sys relative
x86 cross -j32 0m46,203s 19m45,221s 1m56,829s 1.0
ppc cross -j144 0m56.368s 96m19.546s 6m23.851s 1.22
qemu-user -j32 8m23.424s 239m12.872s 5m54.742s 10.89
qemu-user -j16 9m1.339s 131m10.867s 3m44.906s 11.72
qemu-user -j8 14m54.980s 111m47.184s 3m3.516s 19.37
qemu-system smp=8 42m21.095s 264m16.641s 56m43.519s 55.00
qemu-system smp=16 49m7.314s 306m40.816s 67m59.170s 63.79
hifive unmatched -j5 57m56.509s 204m13.861s 22m27.861s 75.24
rvvm smp=8 62m40.191s 456m57.160s 29m10.258s 81.38
rvvm smp=16 67m35.957s 493m50.754s 32m21.729s 87.79
qemu-system smp=32 84m32.050s 525m1.988s 121m26.449s 109.78
qemu-system smp=4 84m34.993s 272m11.423s 57m42.224s 109.84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment