[winswitch] windows xpra client CPU usage
Thomas Esposito
tmesposito00 at gmail.com
Thu Nov 17 15:47:54 GMT 2016
On Thu, Nov 17, 2016 at 12:21 AM, Antoine Martin <antoine at nagafix.co.uk>
wrote:
> Please don't top post.
>
> On 17/11/16 12:14, Thomas Esposito wrote:
> > I'm pretty sure that I have audio disabled on the server side,
> There are 3 possible values for the "speaker" option: on, off, disabled.
> If you disable it server side, the client cannot enable it.
>
> > but I'll check again tomorrow.
> >
> > Do I have to do anything special to disable audio
> > on the client side?
> There are many ways of doing this on the client side, you can add:
> * "--speaker=off" to you command line, as a one-off.
> * "speaker=off" to your connection file if you use one (for that host)
> * "speaker=off" to your user settings (affects all connections)
> * "speaker=off" to your global xpra settings (affects all users)
> * turn it off using the system tray at runtime
>
Both speaker and microphone are set to disabled. Accordingly, they are both
"grayed out" on the client because they are disabled on the server.
Nevertheless, I still have a constant CPU usage of 5% to 7%. I don't know
if this matters, but since I have a reasonable high-bandwidth connection to
the server, I'm using zlib/lz4/lzo encoding which seems to result in
quicker response times.
Client version is beta 1.0 r14228, running on Windows 7.
Server is beta 1.0 r14232 running on RHEL 6.6.
FWIW, I observed the same behavior on 0.17.5.
> Cheers
> Antoine
>
>
>
> >
> >
> > On Nov 16, 2016 9:27 PM, "Antoine Martin via shifter-users"
> > <shifter-users at lists.devloop.org.uk
> > <mailto:shifter-users at lists.devloop.org.uk>> wrote:
> >
> > On 16/11/16 22:41, Thomas Esposito via shifter-users wrote:
> > > My Xpra-Launcher.exe process is ALWAYS using from 5% to 10% of my
> CPU
> > > capacity, even when my X applications are TOTALLY idle (i.e.
> > windows are
> > > out of focus and/or no redrawing from X clients).
> > My guess is that sound is enabled, sound forwarding uses a stream and
> > will consume network and CPU even when no sound is being played.
> >
> > > This is a HUGE increase in CPU usage (and heat generation) on my
> > laptop
> > > relative to when I'm just doing simple browsing and email. For
> > example, if
> > > i'm just browsing and reading/writing email, my total CPU usage
> > stays under
> > > 1% to 2% and the laptop stays cool with the fan off. If I add the
> Xpra
> > > client to this, even though I'm not interacting with the X
> application
> > > windows and they are not redrawing, my laptop starts getting hot
> > and the
> > > fan turns on. Note this is only with a single X application window
> > running.
> > Without sound, there should not be any network or CPU usage unless
> the
> > application's window is refreshing.
> > (bar ping packets every few seconds, but those are tiny)
> >
> > > In comparison, the TigerVNC viewer and x2go CPU usage is
> > effectively 0% if
> > > the windows are not updating.
> > TigerVNC does not do sound, or printing, and many other things!
> >
> > Cheers
> > Antoine
> > _______________________________________________
> > shifter-users mailing list
> > shifter-users at lists.devloop.org.uk
> > <mailto:shifter-users at lists.devloop.org.uk>
> > http://lists.devloop.org.uk/mailman/listinfo/shifter-users
> > <http://lists.devloop.org.uk/mailman/listinfo/shifter-users>
> >
>
>
More information about the shifter-users
mailing list