>-----Original Message----- >From: Gregory Haskins [mailto:[EMAIL PROTECTED] >Sent: Thursday, May 10, 2007 4:20 PM >To: kvm-devel@lists.sourceforge.net; Dor Laor >Subject: RE: [kvm-devel] [PATCH 00/10] in-kernel APIC v3 (kernel side) > >>>> On Thu, May 10, 2007 at 9:07 AM, in message ><[EMAIL PROTECTED] >8.exch011.intermedia.net>, >"Dor Laor" <[EMAIL PROTECTED]> 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:
Superb results, when I run the old in-kernel apic I got much higher idle cpu consumtion. I know that's vmenter-vmexit latency was drastically improved but 0-1% cpu consumption for winxp 32 bit sounds too good to be true. Are you sure an ACPI HAL is used in the guest? (can be checked by looking at the computer node in the device manager). I noticed the kvm_stat below, there are no mmio exits. You need to update the statistics. > >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 > ... > >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/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel