xpra icon
Bug tracker and wiki

Opened 5 months ago

Closed 5 months ago

#2093 closed defect (fixed)

high CPU on Raspberry Pi

Reported by: weberjn Owned by: weberjn
Priority: major Milestone: 2.5
Component: server Version: 2.4.x
Keywords: high cpu Cc:

Description (last modified by Antoine Martin)

Fedora 29 32 bit on Raspberry Pi 3B

xpra start --start=firefox

firefox is idle

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 1622 weberjn   20   0  276456  53812  19088 S  34.0   5.4  16:55.89 xpra
 1215 weberjn   20   0  172552  49880  23760 S  14.7   5.0   7:35.96 xpra
 1296 weberjn   20   0  598608 227148 101948 S   0.0  23.0   1:20.76 firefox

When firefox is busy with a large download, system locks up after some hours (cpu is hot).

on an intel laptop:

xpra on F29 64 on i3 has <1% cpu

Change History (3)

comment:1 Changed 5 months ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to weberjn

First, since you have two xpra processes, my guess is that you have speaker forwarding enabled and this will consume quite a bit of CPU.

Second, just because Firefox doesn't use much CPU does not mean that it isn't updating its window.
Try running the xpra server with the debug flag -d compress to see if there are screen updates being sent.

Finally, please see wiki/ReportingBugs to provide more details so we can help you.

comment:2 Changed 5 months ago by weberjn

cat .xpra/xpra.conf
speaker=off
printing=off

Thanks, this brought CPU down, would never have thought, that sound is so expensive.

Download active, no user interaction to firefox:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 1522 weberjn   20   0 1011188 257076 104284 S   2.3  26.0   1:36.75 firefox
 1486 weberjn   20   0  156984  47184  18900 S   0.0   4.8   0:55.76 xpra

comment:3 Changed 5 months ago by weberjn

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.