From: Avi Kivity <avi@redhat.com>
To: ya su <suya94335@gmail.com>
Cc: kvm@vger.kernel.org
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 [thread overview]
Message-ID: <4E12DD5B.5020002@redhat.com> (raw)
In-Reply-To: <CA+tHM2HoLzJow3VreFc-aBUJ5DMXjYpcONACd+5WqAEttUd3Dg@mail.gmail.com>
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
next prev parent reply other threads:[~2011-07-05 9:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 9:40 PowerPoint performance degrade greatly when logon on through rdesktop to winxp, and when lotus notes is running ya su
2011-07-05 9:46 ` Avi Kivity [this message]
2011-07-05 14:05 ` ya su
2011-07-11 15:46 ` 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=4E12DD5B.5020002@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=suya94335@gmail.com \
/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.