Hi,

I was planning on using qemu to run several instances on various OSes on my
OpenBSD 5.0/amd64 server.

As a first try, I ran an OpenBSD 5.0/i386 instance using qemu-0.14.1p4:
# ifconfig tun0 link0
# ifconfig bridge0 add tun0 add bge0 up
# qemu -nographic -m 128 -net nic -net tap,ifname=tun0 -no-fd-bootchk -hda
/home/vm/monitoring.img

Then I configured munin-server in the vm to poll the amd64 server and the
local munin-node.

On the virtual machine side, I get:
# top -o cpu -n 1
load averages:  2.77,  3.35,  2.13    monitoring.tumfatig.net 22:54:30
42 processes:  2 running, 39 idle, 1 on processor
CPU states: 17.6% user, 33.1% nice,  8.8% system,  0.1% interrupt, 40.4% idle
Memory: Real: 31M/72M act/tot Free: 44M Cache: 22M Swap: 0K/259M

  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
  568 _munin    84   10 6396K 5268K run       -         0:57 48.68% perl

On the server side, I get:
# top -o cpu -n 1
load averages:  2.28,  1.72,  1.40    bagheera.tumfatig.net 22:55:16
96 processes:  93 idle, 1 zombie, 2 on processor
CPU0 states: 11.7% user,  1.2% nice,  2.3% system,  0.1% interrupt, 84.7%
idle
CPU1 states: 11.2% user,  1.1% nice,  2.2% system,  0.0% interrupt, 85.4%
idle
Memory: Real: 421M/1140M act/tot Free: 6811M Cache: 611M Swap: 0K/512K

  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
 5764 root      64    0  207M  156M onproc/1  -        13:43 84.38% qemu

I read that kqemu is not available anymore but wondered if there were some
tricks to accelerate the Qemu instances ?

TIA,
        Jo

Reply via email to