qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] vnc: allow fall back to RAW encoding


From: Peter Lieven
Subject: Re: [Qemu-devel] [PATCH] vnc: allow fall back to RAW encoding
Date: Fri, 28 Aug 2015 20:24:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Am 28.08.2015 um 13:56 schrieb Gerd Hoffmann:
> On Do, 2015-08-27 at 14:46 +0200, Peter Lieven wrote:
>> I have observed that depending on the contents and the encoding it happens
>> that sending data as RAW sometimes would take less space than the encoded 
>> data.
>> This is especially the case for small updates or areas with high color 
>> images.
>> If sending RAW encoded data is beneficial allow a fall back to RAW encoding
>> for the framebuffer update.
> Do you happen to have some stats for this, especially the "small update"
> case?  We might want to go straight to raw (without trying other
> encodings) for small updates, to avoid encoding things twice.

Interesting idea. I think this magic number is different for each encoding 
though.
I think its possible to calculate it and then know that a update ip to a given
size cannot be smaller than encoded in raw - no matter what contents
are in that update.

Peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]