From: Avi Kivity <avi@redhat.com>
To: Erik Rull <erik.rull@rdsoftware.de>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Interrupt Assignment on host
Date: Sun, 08 Nov 2009 10:50:09 +0200 [thread overview]
Message-ID: <4AF68641.70102@redhat.com> (raw)
In-Reply-To: <4AF322D7.8080509@rdsoftware.de>
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
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
[-- Attachment #2: kvm_stat.bash --]
[-- Type: text/plain, Size: 352 bytes --]
#!/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
prev parent reply other threads:[~2009-11-08 8:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-28 21:16 Interrupt Assignment on host Erik Rull
2009-11-01 15:41 ` Avi Kivity
2009-11-05 19:09 ` Erik Rull
2009-11-08 8:50 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AF68641.70102@redhat.com \
--to=avi@redhat.com \
--cc=erik.rull@rdsoftware.de \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.