[Spice-devel] [SPAM] Re: QUIC Image Decompression Method takes much time
Ritesh Prajapati
ritesh.prajapati at slscorp.com
Mon Jan 11 20:46:58 PST 2016
Hi Pavel,
I have upgraded spice protocol to *0.12.10 *and spice server to
*0.12.6 *which are latest and stable release into Ubuntu Host Machine on
which spice server is running. Then, I have checked with older spice gtk
version *0.22 *with QUIC Image Decompression Method on my A20 board
which does not impact any on speed perspective.
Now, I am planning to apply patch for LZ4 image
compression/decompression support on my A20 board and will let you know
the result as soon as possible.
_*Questions:-
*_ Do I need to add option like image-compression=lz4 to enable LZ4
image compression/decompression method while running virtual
manager(kvm) at spice server side? What is default image
compression/decompression method in latest spice server 0.12.6 if we do
not add any image-compression option while running virtual manager(kvm)
on spice server side?
Regards,
Ritesh Prajapati,
System Level Solutions (India) Pvt.Ltd.
On Monday 11 January 2016 02:30 PM, Ritesh Prajapati wrote:
> Hi Pavel,
>
> Thanks for your quick reply.
>
> I will try to upgrade SPICE GTK Firmware or apply patch of lz4
> image compression/decompression support on my A20 SoC board and SPICE
> Server 0.12.6 on my Ubuntu Host System. I will let you know the result
> that it speeds up image decompression process or not after testing it
> on my A20 board.
>
> Regards,
> Ritesh Prajapati,
> System Level Solutions (India) Pvt.Ltd.
>
> On Monday 11 January 2016 02:14 PM, Pavel Grunt wrote:
>> Hi,
>>
>> On Mon, 2016-01-11 at 12:17 +0530, Ritesh Prajapati wrote:
>>> Hi,
>>>
>>> Currently, I am working and porting Android Kitkat 4.4.2 on All-
>>> winner A20 Soc board with following hardware and software details.
>>> A20 Allwinner SoC
>>> 1 GB RAM
>>> 8 GB NAND MMC
>>> Linux Kernel Version 3.4.39
>>> Malli 400 GPU
>>> Android Kitkat Version 4.4.2
>>> SPICE GTK Version 0.22
>> This is 2 years old, please try something more recent. There were some
>> updates to image compression like the lz4 image compression support
>> (v0.27), the ability to change the compression from the client (v0.30).
>> These improvements require the spice server v0.12.6.
>>> I have configured and installed Linux Virtual Manager in one Ubuntu
>>> Desktop 14.04 Linux System to configure and run SPICE Server on it.
>>> Then, I have developed one Android based application which is used to
>>> configure SPICE Client settings and to start SPICE Client for
>>> connecting with SPICE Server which is running on Ubuntu Desktop
>>> System.
>>>
>>> After connecting to SPICE Server from SPICE Client, I have started
>>> one video sample which is stored in Ubuntu Desktop System on which
>>> SPICE Server is running.
>>>
>>> Now, The issue is that the Video Sample which is streamed on A20
>>> board is too much slow compare to playing it in normal mode using
>>> video player.
>>>
>>> So, I have tried to debug SPICE Client code on A20 board and found
>>> that it takes around 300 to 400 millisecond in
>>> QUIC_UNCOMPRESS_RGB(prefix, type) with prefix as 32 and type is RGB32
>>> to uncompress and decode one display frame which is coming from SPICE
>>> Server.
>>>
>>> I have also observed that SPICE Client is using QUIC Image
>>> decompression method to uncompress compressed Image Frame.
>>>
>>> So, Does anyone has idea or solution to decrease time in QUIC Image
>>> De-compression Method or any alternative De-compression Method which
>>> is faster than QUIC Mode?
>> The fastest is without compression. You can try to change the
>> compression in the qemu commandline using image-
>> compression=[auto_glz|auto_lz|quic|glz|lz|off] and see what is the
>> fastest on A20.
>>
>> e.g.:
>> qemu-kvm -spice port=5900,disable-ticketing,image-compression=off
>>
>> Or if you use the latest spice server and spice-gtk you can change the
>> image-compression from the client using its '--spice-preferred-
>> compression'
>>
>> Regards,
>> Pavel
>>>
>>> --
>>> Regards,
>>> Ritesh Prajapati,
>>> System Level Solutions (India) Pvt.Ltd.
>>> _______________________________________________
>>> Spice-devel mailing list
>>> Spice-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20160112/d1c90f4b/attachment.html>
More information about the Spice-devel
mailing list