All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Cc: jan.kiszka@siemens.com
Subject: [Qemu-devel] TCG slowdown
Date: Sat, 20 Aug 2011 22:51:22 +0200	[thread overview]
Message-ID: <20110820205122.GA29545@zapo> (raw)

Lately, my TCG emulated machines have been running terribly slow.
Like a factor 3 or 4 slower, hardly usable.

I bisected it to this:

commit d5ab9713d2d4037fd56b0adddd26c8d4dc11cf09
Author: Jan Kiszka <jan.kiszka@siemens.com>
Date:   Tue Aug 2 16:10:21 2011 +0200

    Avoid allocating TCG resources in non-TCG mode
    
    Do not allocate TCG-only resources like the translation buffer when
    running over KVM or XEN. Saves a "few" bytes in the qemu address space
    and is also conceptually cleaner.
    
    Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


It turns out that the init of the tb cache is now moved to before ram_size
gets it's default value. And because the default tb cache size, if no
-tb-size option is given, is based on the ram_size it is now zero..

Cheers

             reply	other threads:[~2011-08-20 20:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-20 20:51 Edgar E. Iglesias [this message]
2011-08-20 22:37 ` [Qemu-devel] TCG slowdown Jan Kiszka
2011-08-20 23:05   ` Edgar E. Iglesias

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=20110820205122.GA29545@zapo \
    --to=edgar.iglesias@gmail.com \
    --cc=jan.kiszka@siemens.com \
    --cc=qemu-devel@nongnu.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 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.