TB uses > 25 % CPU since 8 hours, no change after restart with webrender on linux
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
People
(Reporter: Ulf.Zibis, Unassigned)
References
Details
(Keywords: perf)
Attachments
(4 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
Steps to reproduce:
Nothing special
Version 91.10.0 on Ubuntu Linux
Actual results:
TB is lazy responsive and uses 25 ... 50 % CPU since more than 12 hours
Profiler data yesterday: https://share.firefox.dev/3xgTXhq
Profiler data after 8 hours: https://share.firefox.dev/38TeMpW
Expected results:
When doing nothing, CPU usage should be below 2 %
Maybe bug 1763729 could help a lot.
Comment 2•2 years ago
|
||
It's a good time consider using beta - a linux user recently reported their performance issue was solved.
(In reply to Wayne Mery (:wsmwk) from comment #2)
It's a good time consider using beta - a linux user recently reported their performance issue was solved.
Thanks for the advice ... or maybe switch over to https://www.betterbird.eu/
Anyway, I want to add, that on my system, beside TB consumes 25 ... 50 % CPU, it also forces the root process Xorg to consume 15 % CPU. When I close TB, the usage of Xorg is gone.
(In reply to Wayne Mery (:wsmwk) from comment #2)
... - a linux user recently reported their performance issue was solved.
Can you please link to their report?
Comment 5•2 years ago
|
||
(In reply to Ulf Zibis from comment #4)
(In reply to Wayne Mery (:wsmwk) from comment #2)
... - a linux user recently reported their performance issue was solved.
Can you please link to their report?
Not quickly. But again, it didn't reproduce in version 102.
Thanks Wayne !
Isn't it really frustrating, that such problems come and go and there is no evident understanding for the reason of such?
In other words, there must be some cause, which is not really known and fixed and can come in effect again at any time.
I now have tried Betterbird 91.10.0-bb33 and Thunderbird 102.0b2.
Both show the same problem, and TB 102-beta consumes even more CPU, up to 65 % and 20 % for Xorg.
Please have a deeper look at this issue.
There is a workaround for me:
gfx.webrender.force-disabled = true
Comment 9•2 years ago
|
||
Please profile the issue which is likely specific to your configuration or hardware: https://profiler.firefox.com/docs/#/
From the previous comment it appears to be an issue with webrender.
Reporter | ||
Comment 10•2 years ago
|
||
(In reply to Rachel Martin from comment #9)
Please profile the issue ...
Didn't you notice the profiles in the bug description above ?
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Sorry we missed that. From the second link https://share.firefox.dev/38TeMpW after clicking on Renderer, it appears like 63% of the samples are taken in __memcpy_ssse3 which is called from some error reporting function viaduct_log_error. So it appears that on your system something is quite wrong with (web)rendering leading to lots of time spent in error logging.
The TB team really needs to analyse the profiling result more carefully and find a maintainer of the Mozilla platform (rendering) code who can determine what is going on here.
Reporter | ||
Comment 12•2 years ago
|
||
(In reply to Rachel Martin from comment #11)
So it appears that on your system something is quite wrong with (web)rendering leading to lots of time spent in error logging.
Can you please explain what you mean by web-rendering? In other words, How can the web be involved in the rendering on my local machine?
Reporter | ||
Comment 13•2 years ago
|
||
Because of this bug: https://launchpad.net/bugs/1950044
I have installed this PPA: https://launchpad.net/~savoury1/+archive/ubuntu/display?field.series_filter=focal
Maybe, this is the source for the current problem.
Comment 14•2 years ago
|
||
Lots of good references to webrender https://www.google.com/search?q=webrender
First and foremost it is a rendering library. It is replacing Mozilla's (Firefox's) classic rendering methods, including in Thunderbird
Reporter | ||
Comment 15•2 years ago
|
||
I now discovered, that webrender is disabled by default in Firefox 101 on Ubuntu. So the question is, why it is enabled by default in Thunderbird.
Comment 16•2 years ago
|
||
(In reply to Ulf Zibis from comment #15)
I now discovered, that webrender is disabled by default in Firefox 101 on Ubuntu. So the question is, why it is enabled by default in Thunderbird.
Please try Thunderbird 102.1.0 from https://www.thunderbird.net/en-US/ in approximately two weeks.
If the problem persists, then attach files to the bug report for firefox and Thunderbird for "copy text to clipboard" in help > more troubleshooting info.
Comment 17•2 years ago
|
||
webrender is known to work better in version 102.
If this still reproduces when using version 102, please provide a new performance profile
Reporter | ||
Comment 18•2 years ago
|
||
Version 102 is available now for Ubuntu 22.04 LTS, see; https://launchpad.net/~mozillateam/+archive/ubuntu/ppa
... and I have installed it.
Now I have up to 50 % CPU use, so there is no progress with this bug.
The more worse is, that the workaround from comment #8 help anymore.
Additionally, I'm no more able to profile the issue. I tried 10 times, but always get:
Reporter | ||
Comment 19•2 years ago
|
||
And after little time I get "Waiting ..."
Reporter | ||
Comment 20•2 years ago
|
||
Reporter | ||
Comment 21•2 years ago
|
||
Reporter | ||
Comment 22•2 years ago
|
||
Now I see, that the reason for the CPU consumption is again bug 1763729.
The switch from 91 to 102 caused the Gloda index to build again from scratch.
So I have to wait again approximately 5 days to see, if v 102 makes a difference regarding webrender.
Comment 23•2 years ago
|
||
Or, you could turn off indexing temporarily and restart thunderbird
Comment 24•2 years ago
|
||
Please use the instructions from https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance
Reporter | ||
Comment 25•2 years ago
|
||
Now I can see, that this bug seems solved. Great !
Also I don't experienced bug 777491 since 5 days. I will observe some days more.
(In reply to Wayne Mery (:wsmwk) from comment #24)
Please use the instructions from https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance
As I have written above, it doesn't work anymore.
Updated•2 years ago
|
Reporter | ||
Comment 26•2 years ago
|
||
With or without webrender disabled now there is no performance difference since V 102, but it is OK now for a Core 3 Duo 2,4 Ghz. I can live with that.
Description
•