kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roland Koebler <r.koebler@yahoo.de>
To: kvm@vger.kernel.org
Subject: KVM performance with Firefox?
Date: Wed, 7 Aug 2013 19:32:46 +0200	[thread overview]
Message-ID: <20130807173246.GA15964@localhost> (raw)

Hi,

I'm using KVM on Debian, and run a VM with Debian and Firefox.
Unfortunately, Firefox in the VM is *extremely* slow (and maybe
it got slower with newer Firefox-versions, but I'm not sure):
Nearly every time I open a new Firefox-tab or click on link,
CPU load goes to 100% ("system time" according to xosview)
for several seconds (or several 10 seconds), and everything
else slows down (e.g. scrolling and switching tabs does
not work or is very slow, and if I move a window, the screen
does not get updated, but a grey rectangle appears instead)
until the CPU is done. This makes Firefox more or less unusable
inside of KVM; outside of KVM Firefox runs quite fast in comparion.

I guess that it's a graphics problem (Firefox being too graphics-
intense), but I haven't found anything about this in the net, so
I'm now asking you for help:

- Is this a know problem?
- Is it a graphics problem?
  (e.g. no graphics acceleration in KVM + heavy graphics usage in Firefox)
- Is this better in newer KVM-versions?
- Do you know how to improve the performance?
- Do you know any test I could make?
- Or is Firefox simply that slow in KVM, and there's nothing to do?

Here's some information about my system:
- Host/Guest: Debian Linux 6.0
- KVM version: QEMU emulator version 1.1.2 (qemu-kvm-1.1.2+dfsg-5~bpo60+1, Debian), Copyright (c) 2003-2008 Fabrice Bellard
  (Updating to a newer Debian-package would unfortunately require to
  update the whole system.)
- X11 host dirver: "nvidia",
  graphics card nVidia Corporation NV44 [GeForce 6200 TurboCache(TM)]
- modules "kvm" and "kvm_amd" are loaded
- KVM commandline:
  /usr/bin/kvm -monitor stdio -soundhw es1370 -k de -vga std -enable-kvm -m 1024 -no-fd-bootchk -localtime -drive file="/home/user/debianvm.raw",if=virtio,cache=none -boot once=c,menu=off -net nic,vlan=0,model=virtio -net user,vlan=0 -name "debianvm" -usbdevice tablet -virtfs local,id=shared_dev,path=/home/user/shared,security_model=none,mount_tag=shared_mount


thanks
Roland

                 reply	other threads:[~2013-08-07 17:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20130807173246.GA15964@localhost \
    --to=r.koebler@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).