[Spice-devel] Performance expectations

Kai Meyer kai at gnukai.com
Tue Feb 21 11:58:55 PST 2012



On 02/21/2012 10:57 AM, Alon Levy wrote:
> On Tue, Feb 21, 2012 at 10:49:04AM -0700, Kai Meyer wrote:
>>
>> On 02/20/2012 05:19 AM, Yonit Halperin wrote:
>>> Hi,
>>> On 02/15/2012 06:22 PM, Kai Meyer wrote:
>>>>
>>>> On 02/15/2012 05:19 AM, Yonit Halperin wrote:
>>>>> On 02/15/2012 01:16 AM, Kai Meyer wrote:
>>>>>> Help me set my expectations straight. Should I be able to
>>>>>> use spice from
>>>>>> inside a VM on my local machine to view video streaming services like
>>>>>> Youtube, Hulu, and Netflix? I have RHEL 6 Workstation for my host, and
>>>>>> Win7 Pro as my guest. I've installed the qxl driver in the
>>>>>> VM, and used
>>>>>> Virt-manager to configure the VM to use Spice as my Display and Video
>>>>>> Model is qxl.
>>>>>>
>>>>> You should be able to do it. But it depends on you network conditions
>>>>> (client to host).
>>>>>
>>>>> Yonit.
>>>>>> -Kai Meyer
>>>>>> _______________________________________________
>>>>>> Spice-devel mailing list
>>>>>> Spice-devel at lists.freedesktop.org
>>>>>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>>> This is a VM on my local machine, so I'm effectively connecting to
>>>> localhost. Network conditions should be the least concern, yet playback
>>>> is terrible.
>>>>
>>> Which spice client do you run?
>>> Another possible reason for the slow playback is that Rhel 6
>>> doesn't have libjpeg-turbo.
>>>
>>> Yonit.
>>>> -Kai Meyer
>> I'm using the spice client that comes in the default RHEL 6
>> repositories. libjpeg-turbo is not installed as a system library
>> anywhere I can find. If I am cpu-bound, it seems like it would be
>> the qemu process running the VM. My spicec process does not utilize
>> more than 50% of a cpu (as reported by top).
> How many cores do you have? if 2, then 50% *is* cpu bound. You can use
> htop for better reporting.
>
>> _______________________________________________
>> Spice-devel mailing list
>> Spice-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
top's CPU% for a process is percent of a core, so processes can take up 
to 200% on a dual-core machine. For further clarification, I typically 
see 15%-30% cpu utilization on the spicec process, and anywhere from 
80%-170% CPU utilization on the qemu process running the VM (the VM has 
access to 2 of my 8 cores).

-Kai Meyer


More information about the Spice-devel mailing list