Skip to content

Native runtime performance metrics

Jim Cadden edited this page Dec 14, 2017 · 8 revisions

EbbRT Virtual

master branch commit #c2184e4 release build (e.g., -O4 -flto)
Using qemu-lite: https://github.com/clearcontainers/qemu/tree/qemu-lite-v2.9.0

File sizes

libEbbRT.a 14M
nop.elf 1.4M (stripped)

Minimal Boot

CPU=1, RAM=128MB

 Performance counter stats for '~/local/qemu-lite/build/x86_64-softmmu/qemu-system-x86_64 -smp cpus=1 -cpu host -serial stdio -display none -enable-kvm -kernel nop.release.elf32 -append nodns;':

        57,868,441      cycles
        28,129,972      instructions              #    0.49  insns per cycle

       2.169958796 seconds time elapsed

IncludeOS analogous boot: 52,783,916 cycles, 26,215,788 instructions, 1.515598174 seconds time elapsed

"Fat" Boot

CPU=8, RAM=16G

 Performance counter stats for '~/local/qemu-lite/build/x86_64-softmmu/qemu-system-x86_64 -m 16G -smp cpus=8 -cpu host -serial stdio -display none -enable-kvm -kernel nop.release.elf32 -append nodns;':

       162,630,958      cycles
        62,809,503      instructions              #    0.39  insns per cycle

       4.770555398 seconds time elapsed

Clone this wiki locally