Skip to content

Native runtime performance metrics

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

EbbRT in VM

master branch commit #c2184e4 release build (e.g., -O4 -flto)
kvm & 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

Host (qemu) stats:

     4,542,961,191      cycles
     5,472,136,948      instructions              #    1.20  insns per cycle

"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;':

       224,799,547      cycles
       127,419,465      instructions              #    0.57  insns per cycle

       5.774905187 seconds time elapsed

Host (qemu) stats:

    12,260,716,294      cycles
     9,577,469,875      instructions              #    0.78  insns per cycle