Hi Ritesh, On Tue, 2016-01-12 at 10:16 +0530, Ritesh Prajapati wrote: > 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. If you cannot use spice-gtk v0.30, I would recommend you to first try other compression methods - auto_glz, auto_lz, glz, lz, off You can do it from the qemu commandline or using `virsh edit domain` In order to use lz4 in 0.22 you would need to apply patches to spice- gtk and also to the spice-common submodule. Look for patches from Javier Celaya. > > > 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? Unfortunately lz4 can be only enabled by the client, eg: remote-viewer --spice-preferred-compression=lz4 I don't know how you manage virtual machines (virt-manager ?). If it is by virsh, you can do `virsh edit domain` and add eg <image compression='lz'/> node - see http://libvirt.org/formatdomain.html#elementsGraphics The default value should be 'auto_glz' which selects from 'quic' and 'glz'. Regards, Pavel > > 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@xxxxxxxxxxxxxxxxxxxxx > > > > http://lists.freedesktop.org/mailman/listinfo/spice-devel ;
spice性能优化
最新推荐文章于 2024-05-17 14:20:55 发布