[ovirt-users] [Spice-devel] Video performance

Sven Achtelik Sven.Achtelik at eps.aero
Wed Jan 25 08:07:59 UTC 2017


Hi, 

where would I have to add this: 

<graphics type='spice' autoport='yes'>
    <listen type='address'/>
    <image compression='off'/>
    <streaming mode='filter'/>
</graphics>

I mean which file or is it somewhere in the config ? 

I found something that sounds like it would do the same. What do you think
about that ? 

http://www.jieyung.com/en/faq.asp?newsclassid=377&newsid=508

It's written for 3.5 and does something before the VM start with a hook to
change that. Would that also work in 4.06 or is there a more elegant way to
do this ? 

Thank you, 

Sven 

-----Ursprüngliche Nachricht-----
Von: users-bounces at ovirt.org [mailto:users-bounces at ovirt.org] Im Auftrag von
Victor Toso
Gesendet: Montag, 9. Januar 2017 14:50
An: Yaniv Dary <ydary at redhat.com>
Cc: spice-devel at lists.freedesktop.org; Shalabh Goel
<shalabhgoel13 at gmail.com>; users <users at ovirt.org>
Betreff: Re: [ovirt-users] [Spice-devel] Video performance

Hi,

> Hi,
>
>  I have installed ovirt engine 4.0.5 on centos 7.3. I installed 
> ovirt-node on a separate phyical system and added it to ovirt-engine.
>  I installed windows 7 in a VM on the node. I installed all the virtio 
> drivers in the guest. The protocol used by me to access VM is Spice 
> QXL. I have installed virt-viewer on the clients to access (one is 
> windows and othe ris ubuntu)  Now, when I pay the sample video 
> "wildlife" in the windows the video frame rate is very low and it is 
> skipping a aot of frames. I tested it on both of the clients. The 
> screen resolution is 1280x1024 on ubuntu and 1366x768 on windows.
>
> The *lscpu* output of the node is:
>
> Architecture:          x86_64
> CPU op-mode(s):        32-bit, 64-bit
> Byte Order:            Little Endian
> CPU(s):                48
> On-line CPU(s) list:   0-47
> Thread(s) per core:    2
> Core(s) per socket:    12
> Socket(s):             2
> NUMA node(s):          2
> Vendor ID:             GenuineIntel
> CPU family:            6
> Model:                 62
> Model name:            Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
> Stepping:              4
> CPU MHz:               3047.097
> BogoMIPS:              5406.43
> Virtualization:        VT-x
> L1d cache:             32K
> L1i cache:             32K
> L2 cache:              256K
> L3 cache:              30720K
> NUMA node0 CPU(s):     0-11,24-35
> NUMA node1 CPU(s):     12-23,36-47
>
> The top command output is showing the following on the node:
>
> PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+
> COMMAND
>
> 30219 qemu      20   0 5040176 4.048g  13564 S 113.2  3.2  16:05.49
> qemu-kvm
>
>  6178 root      15  -5 1495476  48092  10676 S  28.1  0.0 300:58.82
> supervdsmServer
>
>   361 root      25   5       0      0      0 S   7.0  0.0 333:14.58
> ksmd
>
>   265 root      rt   0       0      0      0 S   2.6  0.0   0:06.80
> migration/32
>
> 27504 qemu      20   0 5137240 4.412g  13516 S   2.6  3.5  10:53.39
> qemu-kvm
>
> 30222 root      20   0       0      0      0 S   2.0  0.0   0:11.98
> vhost-30219
>
>  6329 vdsm       0 -20 3258204 151772  13004 S   0.7  0.1  65:29.75 vdsm
>
> -
> Please suggest what should I do to improve the video performance.

You could try enabling the streaming mode, disabled by default in el7 due
different issues (see [0])

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1294564

To enable the streaming mode, you should include that inside the graphics
node, see mine bellow for an example. Options are 'off', 'all'
and 'filter'.

<graphics type='spice' autoport='yes'>
    <listen type='address'/>
    <image compression='off'/>
    <streaming mode='filter'/>
</graphics>

Cheers,
  toso
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4811 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170125/556beb4b/attachment.p7s>


More information about the Users mailing list