Skip to content

gkoloventzos/kvmperf

This branch is 55 commits ahead of, 10 commits behind chazy/kvmperf:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a6c7136 · Jun 28, 2016
Dec 8, 2015
Jan 17, 2014
Jun 28, 2016
Jun 20, 2015
Jul 16, 2013
Aug 7, 2015
Jul 26, 2015
Mar 19, 2015
Dec 27, 2012
Feb 4, 2014
Jul 28, 2015
Mar 20, 2015
Jul 5, 2013
Jan 28, 2013
Jan 28, 2013
Jan 6, 2013
Jul 2, 2013
Mar 17, 2015
Mar 20, 2013
Feb 25, 2013
Feb 15, 2015

Repository files navigation

Introduction

This is a hacked together test suite of a number benchmarks I use to run workloads on KVM/ARM and x86 platforms to evaluate the relative performance.

How to use

This is what you need:

  • An ARM board that can run VMs (like an A15 of some sort)
  • The ARM board must be running a KVM-enabled kernel
  • The ARM board must be accessible by ssh using public key authentication to root@<board-ip> without providing a password
  • The ARM board must have a script in root's home folder named run-ubuntu.sh, which runs a VM using either QEMU or kvmtool. Sample script for run-guest.sh is provided here - run-ubuntu.sh is just a wrapper that sets the name to ubuntu. The script will assume a file named ubuntu.img containing a file system image.
  • The guest must use bridged networking and must also accept ssh connections using public key authentication just like the board itself: ssh root@<guest-ip>

TODO: Describe required support for x86 TODO: Describe how to use the power test

Then, to run a test, you simply do: ./run-all.sh --help ...and follow the instructions

Experiments Logbook

To carry out the full test suite, we need:

  • SMP numbers host/guest
  • UP number host/guest
  • ARM no vgic/timers guest SMP/UP
  • LMBENCH ARM/x86
  • Power Numbers

Laptop Notes

  1. Boot host with "maxcpus=2 mem=1536M" on the kernel command line
  2. Get non-graphics tty (ctrl+alt+f6)
  3. shutdown not-needed services
    1. service lightdm stop
    2. service network-manager stop
    3. service avahi-daemon stop
  4. for i in seq 0 1; do cpufreq-set -c $i -g performance; done;'
  5. ./run-all.sh --host-only
  6. TODO: LMBENCH
  7. Boot host with "maxcpus=2 mem=2048M" on the kernel command line
  8. Get non-graphics tty (ctrl+alt+f6)
  9. shutdown not-needed services
    1. service lightdm stop
    2. service network-manager stop
    3. service avahi-daemon stop
  10. sudo bash -c 'for i in seq 0 1; do cpufreq-set -c $i -g performance; done;'
  11. ./run-all.sh --guest-only

3.10 Measurement Notes

Arndale host source: git://github.com/columbia/linux-kvm-arm.git v3.10-arndale-measue 5cf2e8efe14e8aba05432e02edce59c252e3500c

git://github.com/columbia/linux-kvm-arm.git v3.10-vexpress-measure 94af25f43d7864caa3cda269ea63885c984395a6

About

kvm performance test suite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 92.7%
  • Shell 5.9%
  • Other 1.4%