qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: qemu-devel@nongnu.org
Cc: Paul Brook <paul@codesourcery.com>
Subject: Re: [Qemu-devel] Re: Extremely slow graphic updates
Date: Wed, 21 Jan 2009 16:29:21 -0500	[thread overview]
Message-ID: <20090121212921.GL29175@csclub.uwaterloo.ca> (raw)
In-Reply-To: <4977804E.70705@eu.citrix.com>

On Wed, Jan 21, 2009 at 08:06:38PM +0000, Stefano Stabellini wrote:
> I am afraid your patch shouldn't make a difference because sdl doesn't
> have a dpy_copy function so with sdl dpy_update is always called.
> Besides none calls qemu_console_copy but graphic cards so passing
> '-serial /dev/null -parallel /dev/null' shouldn't change anything in
> this regard.
> 
> In any case I tried passing '-serial /dev/null -parallel /dev/null' as
> arguments but (locally) I do not see any benefits (I tested with the
> debian ppc installation cd).
> Could you please tell me if you see the slowdown on a local X server also?
> The sdl blitting functions are optimized to be run locally, it is
> possible that they do not have good performances on a remote X server.
> Fortunately we provide a much better interface to connect to qemu
> remotely (vnc), that now should be even faster than before.

No it is not slow locally.

Now can you explain why my patch made it no longer slow remotely because
it did fix the problem for me.  can you explain why changing -serial and
-parallel to /dev/null made it not slow?

So without my patch it runs fine locally.  It runs slow remotely.

With my patch it runs fine locally and remotely.

Without my patch but using -serial /dev/null -parallel /dev/null it runs
fine locally and remotely.

Something more than just a dpy_update must be happening in dpy_copy.
Looking at the code I don't quite see what it could be doing, unless
there is a long list of listeners initiallized some of which do have a
copy function.

So either my patch does something, or I have got my builds mixed up and
have some other patch in now that fixes it.  Maybe I will go do a fresh
checkout and build and test that then just to be sure.

-- 
Len Sorensen

  reply	other threads:[~2009-01-21 21:29 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 16:26 [Qemu-devel] qemu-system-ppc seems slow today Lennart Sorensen
2009-01-19 17:09 ` Aurelien Jarno
2009-01-19 17:49   ` Lennart Sorensen
2009-01-19 18:07     ` Lennart Sorensen
2009-01-19 18:39       ` Aurelien Jarno
2009-01-19 19:42         ` Lennart Sorensen
2009-01-20  0:53           ` Lennart Sorensen
2009-01-20  1:01             ` François Revol
2009-01-20  1:33             ` [Qemu-devel] Extremely slow graphic updates (was: qemu-system-ppc seems slow today) Paul Brook
2009-01-20  1:54               ` [Qemu-devel] Re: Extremely slow graphic updates Anthony Liguori
2009-01-20 11:22               ` Stefano Stabellini
2009-01-20 11:28                 ` Stefano Stabellini
2009-01-20 14:46                   ` Lennart Sorensen
2009-01-20 14:45                 ` Lennart Sorensen
2009-01-20 15:21                   ` Stefano Stabellini
2009-01-20 16:55                     ` Lennart Sorensen
2009-01-20 17:09                       ` Samuel Thibault
2009-01-20 18:15                         ` Lennart Sorensen
2009-01-20 18:16                           ` Stefano Stabellini
2009-01-20 18:25                             ` Lennart Sorensen
2009-01-20 19:35                               ` Lennart Sorensen
2009-01-20 19:46                                 ` Jamie Lokier
2009-01-20 20:02                                   ` Lennart Sorensen
2009-01-20 20:12                                     ` Jamie Lokier
2009-01-20 20:17                                       ` Lennart Sorensen
2009-01-20 19:38                               ` Stefano Stabellini
2009-01-20 20:05                                 ` Lennart Sorensen
2009-01-20 20:30                             ` Avi Kivity
2009-01-20 18:59                           ` Samuel Thibault
2009-01-20 17:21                       ` Stefano Stabellini
2009-01-20 17:35                         ` Stefano Stabellini
2009-01-20 18:11                 ` Paul Brook
2009-01-20 18:48                   ` Re : " Sylvain Petreolle
2009-01-20 21:29                   ` Stefan Weil
2009-01-21  1:50                   ` Paul Brook
2009-01-21 15:23                     ` Lennart Sorensen
2009-01-21 20:06                       ` Stefano Stabellini
2009-01-21 21:29                         ` Lennart Sorensen [this message]
2009-01-21 21:49                           ` Lennart Sorensen
2009-01-21 21:52                             ` Stefano Stabellini
2009-01-22  0:20                             ` Paul Brook
2009-01-22 13:19                               ` Lennart Sorensen

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=20090121212921.GL29175@csclub.uwaterloo.ca \
    --to=lsorense@csclub.uwaterloo.ca \
    --cc=paul@codesourcery.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 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).