From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: PowerPoint performance degrade greatly when logon on through rdesktop to winxp, and when lotus notes is running. Date: Tue, 05 Jul 2011 12:46:03 +0300 Message-ID: <4E12DD5B.5020002@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: ya su Return-path: Received: from mx1.redhat.com ([209.132.183.28]:38708 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755156Ab1GEJqI (ORCPT ); Tue, 5 Jul 2011 05:46:08 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 07/05/2011 12:40 PM, ya su wrote: > I am using qemu-kvm, cli as the following: > > qemu-system-x86_64 -drive > file=test-notes.img,if=virtio,cache=none,boot=on -net > nic,macaddr=00:00:00:11:22:88,model=virtio -net tap -m 1024 -vnc :3 > > I open powerpoint 2007, and drag a rectangel, it moves very > slowly. it must meet the following conditions to produce the same > result: > (1) lotus notes is running. > (2) logon through rdestktop. > > if I connect through vnc, it will not happen; if I don't run > louts notes, it will not happen. if I change to 2 vcpus as the > following cli, it will respond much better. > > qemu-system-x86_64 -drive > file=test-notes.img,if=virtio,cache=none,boot=on -net > nic,macaddr=00:00:00:11:22:88,model=virtio -net tap -m 1024 -vnc :3 > -smp 2 > > I first doubt that maybe it's from windows internal problem, so > I tested on a uni-processor PC, but It looks good. > > I also run qemu-kvm with -no-kvm, it produce the same results. > > I run kvm-stat when dragging a rectangle, the output is as the following: > > exits 4650520 24645 > insn_emulation 3508180 15158 > host_state_reload 1273409 13999 > io_exits 1031465 13504 > irq_injections 179104 2629 > hypercalls 131481 2084 > halt_wakeup 33589 495 > halt_exits 33584 495 > irq_exits 105020 237 > pf_fixed 449879 106 > fpu_reload 16852 54 > mmio_exits 46426 1 > mmu_cache_miss 9985 0 > mmu_shadow_zapped 11736 0 > signal_exits 2145 0 > remote_tlb_flush 251 0 > > it seems that qemu-kvm is emulating some instruction which take > much cpu resource, but I don't know how to find the emuated > instructions. > Please follow the instructions in http://www.linux-kvm.org/page/Tracing to find out which instruction is executed. -- error compiling committee.c: too many arguments to function