[winswitch] xpra: high %cpu when start a background application

Long Nguyen Thanh ntlong0210 at gmail.com
Mon Sep 8 01:58:40 BST 2014


Hi,

On Sat, Sep 6, 2014 at 5:04 PM, Antoine Martin <antoine at nagafix.co.uk>
wrote:

>  (snip)
>
>   > 3. At server : top -> %CPU xpra ~ 10%
>> Does removing your app make any difference? (just connecting xpra)
>> My guess is that sound forwarding is using your CPU for compression (mp3
>> or other).
>> Yes, even when no sound is being played:
>> http://xpra.org/trac/wiki/Sound#StatusandConfiguration
>>
>  I remove my app, just use : xpra start :100 --bind-tcp=0.0.0.0:20000,
> attach and check %CPU. It still ~ 8 - 10%.
>  My sound forwarding is :  "MPEG 1 Audio, Layer 3 (MP3)" and %CPU of
> pulseaudio ~3%
>
> So... just disable sound to get your CPU usage close to zero.
> Have you tried it?
>
I tried it, and %CPU ~ 0%. Thanks for your help. :)

>
> Antoine
>



More information about the shifter-users mailing list