On 11/05/2009 09:09 PM, Erik Rull wrote:
Can you describe how performance suffers?
Please provide vmstat (for host int/sec) and "kvm_stat -l -f
'exits|irq_exits'" output.
I'm sorry, but my target system has no python installed. Any ideas how
to do that manually?
Try the attached bash script. You'll want debugfs mounted on
/sys/kernel/debug.
--
error compiling committee.c: too many arguments to function
#!/bin/bash
p="/sys/kernel/debug/kvm"
old_exits=0
old_irq_exits=0
while :; do
exits="$(cat "$p/exits")"
irq_exits="$(cat "$p/irq_exits")"
d_exits=$((exits - old_exits))
d_irq_exits=$((irq_exits - old_irq_exits))
printf "%10d %10d\n" "$d_exits" "$d_irq_exits"
sleep 1
old_exits="$exits"
old_irq_exits="$irq_exits"
done