Re: Changing spice image compression algorithm in virt-manager

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

 



Thanks a lot! I don't get any errors when starting the VM, so I assume the setting is in effect.

I don't see any difference in performance though. Reading threads around the internet, I get the impression that it's possible to get native performance (ie. same framerate when I watch a video on the VM and view it using spicec, as viewing the video on the host), like this comment says: https://bugzilla.redhat.com/show_bug.cgi?id=827381#c2

I don't find this to be the case though. Have you been able to achieve native performance for video content over SPICE, and if so how?

Cheers!

/Rune


On Mon, Jun 16, 2014 at 9:04 AM, Giuseppe Scrivano <gscrivan@xxxxxxxxxx> wrote:
Rune Kjær Svendsen <runesvend@xxxxxxxxx> writes:

> Hello list
>
> I'm experimenting with improving performance of viewing a qemu guest
> running on localhost via SPICE.
>
> I would like to see if turning off image compression will increase the
> framerate I currently get.
>
> This is done by adding the following option to the -spice command when
> running qemu-system-x86_64:
>
> image-compression=off
>
> But I can't find out how to add the option in virt-manager. If this
> isn't possible, is there some other way of adding this option to the -
> spice options list when virt-manager runs qemu-system-x86_64?

you can edit the definition XML for the virtual machine trough virsh:

# virsh edit $VM_NAME

and specify the image compression in the graphics xml block, mine looks
like this:

    <graphics type='spice' autoport='yes' listen='::'>
      <listen type='address' address='::'/>
      <image compression='off'/>
    </graphics>

Regards,
Giuseppe

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux