qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Corentin Chary <corentin.chary@gmail.com>
To: Peter Lieven <pl@dlh.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] VNC encoding ZLibHex?
Date: Tue, 18 May 2010 14:16:13 +0200	[thread overview]
Message-ID: <AANLkTikAqnVD_VL65Kq8AWf5P52YIPcUFrWZu_UYIIOM@mail.gmail.com> (raw)
In-Reply-To: <4BF28181.1010701@dlh.net>

On Tue, May 18, 2010 at 2:01 PM, Peter Lieven <pl@dlh.net> wrote:
> is there any standard tests that can be run for comparing
> different encodings? i am not familiar whit that unfortunately.
>
> br,
> peter

I'm not aware of standard tests (and if anyone know some, please let me know).
Here is how I did my tests for zlib, hextile and tight [1].

I installed a kubuntu with qemu and hacked SDL_viewer example from
libvncserver to be able to select an encoding (I can give you the line
to modify if you want).
Then launched (several times) qemu with ./qemu  -m 512 -hda
kubuntu.img -vnc :0 & sleep 0.5; ./SDL_viewer 127.0.0.1

On another term I launch tcpdump -i lo0 -nvv port 5900 | python
tcpstat.py > dump.csv (but you can use wireshark, etc ...)

[1] http://xf.iksaif.net/blog/index.php?post/2010/05/18/QEMU%3A-some-charts-on-tight-zlib-and-hextile


-- 
Corentin Chary
http://xf.iksaif.net

  reply	other threads:[~2010-05-18 12:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18 10:15 [Qemu-devel] VNC encoding ZLibHex? Peter Lieven
2010-05-18 11:37 ` Corentin Chary
2010-05-18 12:01   ` Peter Lieven
2010-05-18 12:16     ` Corentin Chary [this message]
2010-05-18 13:44 ` Anthony Liguori
2010-05-18 13:47   ` Peter Lieven
2010-05-18 13:56     ` Anthony Liguori

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=AANLkTikAqnVD_VL65Kq8AWf5P52YIPcUFrWZu_UYIIOM@mail.gmail.com \
    --to=corentin.chary@gmail.com \
    --cc=pl@dlh.net \
    --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).