qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [PATCH] vnc: shared buffer: skip some optimizations.
Date: Wed, 11 Mar 2009 10:43:33 -0500	[thread overview]
Message-ID: <49B7DC25.6010500@codemonkey.ws> (raw)
In-Reply-To: <49B7CE21.4030104@redhat.com>

Gerd Hoffmann wrote:
>   Hi,
>
> When using a shared display surface buffer some of the optimizations
> done by the vnc server code don't work.  In shared buffer mode the guest
> may update the screen while the vnc server looks at the framebuffer.
> That in turn makes some code racy, the dirty bitmap walk through for
> example, leading to screen corruption.  Right now this is visible with
> xenfb only.  I expect simliar issues will show up for vga too once we
> run the vcpus in threads.
>   

:-/  I'd rather disable the shared buffers.

The minimization optimization is extremely important for VNC 
performance.  It's a much bigger win than the memory copy that you lose 
when using shared buffers.

Regards,

Anthony Liguori

> please apply
>   Gerd
>   

  reply	other threads:[~2009-03-11 15:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11 14:43 [Qemu-devel] [PATCH] vnc: shared buffer: skip some optimizations Gerd Hoffmann
2009-03-11 15:43 ` Anthony Liguori [this message]
2009-03-12 19:58   ` Gerd Hoffmann
2009-03-13 12:03     ` Stefano Stabellini
2009-03-16  8:35       ` Gerd Hoffmann
2009-03-16 10:27         ` Stefano Stabellini
2009-03-16 11:06           ` Gerd Hoffmann
2009-03-16 11:17             ` Stefano Stabellini
2009-03-12 14:16 ` Stefano Stabellini

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=49B7DC25.6010500@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefano.stabellini@eu.citrix.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 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).