From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46875 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OELiy-000104-FR for qemu-devel@nongnu.org; Tue, 18 May 2010 08:16:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OELib-0000Vz-7p for qemu-devel@nongnu.org; Tue, 18 May 2010 08:16:19 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:48869) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OELib-0000Vm-0Y for qemu-devel@nongnu.org; Tue, 18 May 2010 08:16:17 -0400 Received: by fxm17 with SMTP id 17so2284693fxm.4 for ; Tue, 18 May 2010 05:16:16 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4BF28181.1010701@dlh.net> References: <4BF268B5.6080708@dlh.net> <4BF28181.1010701@dlh.net> Date: Tue, 18 May 2010 14:16:13 +0200 Message-ID: Subject: Re: [Qemu-devel] VNC encoding ZLibHex? From: Corentin Chary Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: qemu-devel@nongnu.org On Tue, May 18, 2010 at 2:01 PM, Peter Lieven 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