From: "Gregory Haskins" <ghaskins-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
To: <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
"Dor Laor" <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH 00/10] in-kernel APIC v3 (kernel side)
Date: Thu, 10 May 2007 09:20:00 -0400 [thread overview]
Message-ID: <4642E39D.BA47.005A.0@novell.com> (raw)
In-Reply-To: <64F9B87B6B770947A9F8391472E032160BBA66AF-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
>>> On Thu, May 10, 2007 at 9:07 AM, in message
<64F9B87B6B770947A9F8391472E032160BBA66AF-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>,
"Dor Laor" <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
>> At this point, I can boot
>>
>>A) 32- bit XP w/ACPI enabled
>>B) 64- bit SLED (2.6.16 based)
>>
>>both with "level- 0" (userspace PIC emulation) and "level- 1" (in- kernel
> PIC
>>emulation). The performance with XP under level- 1 seems to be a huge
>>improvement over in- trunk performance.
>
> Impressive! Can you tell how much host cpu is consumed by an idle xp
> guest w acpi?
> Next week I'll try to check it with the pv network if I'll have the
> time.
The load-average on my system is about 1 while XP is idling. qemu seems to be mostly at "0%" but will bounce up to 1% on occasion. Here is the output of "top -b -p <qemu-pid>" over a few seconds:
top - 09:17:45 up 16:58, 3 users, load average: 1.02, 0.86, 0.42
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1%us, 0.2%sy, 0.0%ni, 99.5%id, 0.1%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 3994704k total, 2018980k used, 1975724k free, 70996k buffers
Swap: 2104472k total, 0k used, 2104472k free, 1148284k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10359 ghaskins 15 0 598m 83m 75m S 0 2.1 1:37.87 qemu-system-x86
top - 09:17:48 up 16:58, 3 users, load average: 1.02, 0.86, 0.42
Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.7%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3994704k total, 2019120k used, 1975584k free, 70996k buffers
Swap: 2104472k total, 0k used, 2104472k free, 1148472k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10359 ghaskins 15 0 598m 83m 75m R 0 2.1 1:37.87 qemu-system-x86
top - 09:17:51 up 16:58, 3 users, load average: 1.02, 0.87, 0.42
Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.7%sy, 0.0%ni, 99.1%id, 0.0%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 3994704k total, 2019120k used, 1975584k free, 70996k buffers
Swap: 2104472k total, 0k used, 2104472k free, 1148560k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10359 ghaskins 15 0 598m 83m 75m R 2 2.1 1:37.94 qemu-system-x86
top - 09:17:54 up 16:58, 3 users, load average: 1.02, 0.87, 0.42
Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.7%id, 0.1%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3994704k total, 2019368k used, 1975336k free, 70996k buffers
Swap: 2104472k total, 0k used, 2104472k free, 1148744k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10359 ghaskins 15 0 598m 83m 75m R 0 2.1 1:37.94 qemu-system-x86
top - 09:17:57 up 16:58, 3 users, load average: 1.02, 0.87, 0.43
Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.3%sy, 0.0%ni, 99.5%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3994704k total, 2019492k used, 1975212k free, 71000k buffers
Swap: 2104472k total, 0k used, 2104472k free, 1148832k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10359 ghaskins 15 0 598m 83m 75m R 1 2.1 1:37.96 qemu-system-x86
top - 09:18:00 up 16:59, 3 users, load average: 1.01, 0.87, 0.43
Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3%us, 0.9%sy, 0.0%ni, 98.4%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 3994704k total, 2019988k used, 1974716k free, 71000k buffers
Swap: 2104472k total, 0k used, 2104472k free, 1149016k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10359 ghaskins 15 0 598m 83m 75m R 0 2.1 1:37.96 qemu-system-x86
top - 09:18:03 up 16:59, 3 users, load average: 1.01, 0.87, 0.43
Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.3%sy, 0.0%ni, 99.6%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3994704k total, 2019988k used, 1974716k free, 71000k buffers
Swap: 2104472k total, 0k used, 2104472k free, 1149104k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10359 ghaskins 15 0 598m 83m 75m R 0 2.1 1:37.96 qemu-system-x86
top - 09:18:06 up 16:59, 3 users, load average: 1.01, 0.87, 0.43
Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.5%us, 0.7%sy, 0.0%ni, 98.8%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 3994704k total, 2020044k used, 1974660k free, 71000k buffers
Swap: 2104472k total, 0k used, 2104472k free, 1149280k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10359 ghaskins 15 0 598m 83m 75m R 0 2.1 1:37.96 qemu-system-x86
top - 09:18:09 up 16:59, 3 users, load average: 1.01, 0.87, 0.43
Tasks: 1 total, 1 running, 0 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3994704k total, 2020044k used, 1974660k free, 71000k buffers
Swap: 2104472k total, 0k used, 2104472k free, 1149376k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10359 ghaskins 15 0 598m 83m 75m R 0 2.1 1:37.96 qemu-system-x86
Here is the output of kvm_stat:
kvm statistics
exits 12503136 1888
guest_intr 0 0
halt_exits 34478 64
invlpg 0 0
io_exits 1182337 305
irq_accepte 64404 79
irq_exits 12889 0
irq_posted 110887 137
irq_window 0 0
light_exits 10954910 1519
mmio_exits 294605 0
pf_fixed 716870 4
pf_guest 56142 0
request_irq 158 0
signal_exit 29311 0
tlb_flush 58210 32
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
next prev parent reply other threads:[~2007-05-10 13:20 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-10 12:46 [PATCH 00/10] in-kernel APIC v3 (kernel side) Gregory Haskins
[not found] ` <20070510123831.10200.4769.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-10 12:46 ` [PATCH 01/10] KVM: Adds support for in-kernel mmio handlers Gregory Haskins
2007-05-10 12:46 ` [PATCH 02/10] KVM: VMX - fix interrupt checking on light-exit Gregory Haskins
2007-05-10 12:46 ` [PATCH 03/10] KVM: Add irqdevice object Gregory Haskins
2007-05-10 12:47 ` [PATCH 04/10] KVM: Adds ability to preempt an executing VCPU Gregory Haskins
2007-05-10 12:47 ` [PATCH 05/10] KVM: Adds ability to signal userspace using a file-descriptor Gregory Haskins
[not found] ` <20070510124706.10200.68571.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-13 13:00 ` Avi Kivity
[not found] ` <46470BF7.5080108-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-14 12:15 ` Gregory Haskins
[not found] ` <46481A61.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-14 12:22 ` Avi Kivity
[not found] ` <46485488.2010608-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-14 14:00 ` Gregory Haskins
[not found] ` <46483320.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-14 14:42 ` Avi Kivity
[not found] ` <4648756D.5040001-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-14 17:18 ` Gregory Haskins
2007-05-14 16:52 ` Davide Libenzi
[not found] ` <Pine.LNX.4.64.0705140948150.19682-GPJ85BhbkB8RepQJljzAVbITYcZ0+W3JAL8bYrjMMd8@public.gmane.org>
2007-05-14 17:12 ` Avi Kivity
[not found] ` <4648986B.9090403-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-14 17:15 ` Davide Libenzi
[not found] ` <Pine.LNX.4.64.0705141013310.19682-GPJ85BhbkB8RepQJljzAVbITYcZ0+W3JAL8bYrjMMd8@public.gmane.org>
2007-05-14 17:23 ` Avi Kivity
[not found] ` <46489B12.8030807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-14 19:01 ` Gregory Haskins
[not found] ` <464879A3.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-14 19:12 ` Davide Libenzi
[not found] ` <Pine.LNX.4.64.0705141207070.19682-GPJ85BhbkB8RepQJljzAVbITYcZ0+W3JAL8bYrjMMd8@public.gmane.org>
2007-05-14 20:18 ` Gregory Haskins
[not found] ` <46488BCD.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-14 21:32 ` Davide Libenzi
2007-05-10 12:47 ` [PATCH 06/10] KVM: Add support for in-kernel LAPIC model Gregory Haskins
2007-05-10 12:47 ` [PATCH 07/10] KVM: Adds support for real NMI injection on VMX processors Gregory Haskins
2007-05-10 12:47 ` [PATCH 08/10] KVM: Adds basic plumbing to support TPR shadow features Gregory Haskins
2007-05-10 12:47 ` [PATCH 09/10] KVM: Add statistics from interrupt subsystem Gregory Haskins
[not found] ` <20070510124726.10200.53053.stgit-sLgBBP33vUGnsjUZhwzVf9HuzzzSOjJt@public.gmane.org>
2007-05-14 11:17 ` Avi Kivity
2007-05-10 12:47 ` [PATCH 10/10] KVM: Adds support for TPR shadowing under VMX processors Gregory Haskins
2007-05-10 13:07 ` [PATCH 00/10] in-kernel APIC v3 (kernel side) Dor Laor
[not found] ` <64F9B87B6B770947A9F8391472E032160BBA66AF-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-05-10 13:20 ` Gregory Haskins [this message]
[not found] ` <4642E39D.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-13 8:00 ` Dor Laor
[not found] ` <64F9B87B6B770947A9F8391472E032160BC745D3-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-05-13 13:59 ` Gregory Haskins
[not found] ` <4646E16D.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-13 14:06 ` Dor Laor
[not found] ` <64F9B87B6B770947A9F8391472E032160BC74642-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-05-14 12:37 ` Gregory Haskins
[not found] ` <46481FC0.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-14 13:04 ` Dor Laor
2007-05-13 12:38 ` Avi Kivity
[not found] ` <464706BF.6000808-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-14 11:59 ` Gregory Haskins
[not found] ` <464816AB.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-14 12:05 ` Dor Laor
2007-05-14 12:14 ` Avi Kivity
2007-05-10 13:32 ` Gregory Haskins
2007-05-13 13:10 ` Avi Kivity
[not found] ` <46470E58.2040208-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-14 12:23 ` Gregory Haskins
[not found] ` <46481C4B.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-05-14 12:24 ` Avi Kivity
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=4642E39D.BA47.005A.0@novell.com \
--to=ghaskins-et1tbqhtxzrqt0dzr+alfa@public.gmane.org \
--cc=dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox