Very high CPU usage on fast.com
Categories
(Core :: Networking, defect, P2)
Tracking
()
People
(Reporter: rowbot, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf:resource-use, Whiteboard: [necko-triaged])
Reporter | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Reporter | ||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Reporter | ||
Comment 10•6 years ago
|
||
Hey everyone,
I happened to have this computer turned on this weekend (it's no longer my daily driver) and figured I'd check to see if there were any changes. I updated to the latest nightly and I updated my Ethernet Controller driver and Firefox's CPU usage dropped by roughly 15%, which is good, though my entire computer still reports 100% CPU usage.
I took 2 new profiles, both on clean profiles. The second profile is quite large as I ticked the option for "StreamTrans" in the Gecko Profiler since Markus brought up StreamTransport threads. I'm no expert at reading these things, but it looks like there are over 9200 StreamTransport threads in a 32 second window in the second profile. That's roughly 287 threads per second.
https://perfht.ml/2Bjt6Uq
https://perfht.ml/2Bjy8QX (StreamTrans enabled)
Comment 11•6 years ago
|
||
The number of stream transport threads will very likely be solved with bug 1535361. But even with that patch I still can see (in an opt build) a huge CPU load (two cores full load), so it's not a factor.
Updated•4 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Comment 12•11 months ago
|
||
Current profile: https://share.firefox.dev/49MAd5C
Threadripper, 1Gbps connection (fast.com says ~900Mbs).
CPU usage during transfer ~30-40% socket thread, 5-10% MainThread
Comment 13•11 months ago
|
||
(In reply to Markus Stange [:mstange] from comment #8)
- A ton of StreamTransport threads seem to be getting created (and probably
destroyed) during the course of this run, both in the parent process and in
the content process. The parent process goes from StreamTrans#52 all the way
up to StreamTrans#260 in the window from 18.5s to 21s, that's a rate of
about 80 threads being created per second. The content process goes from
StreamTrans#1 all the way to StreamTrans#1363 in the window from 5.5s to
13.3s, which is a rate of 175 threads being created per second.
This part of the issue may have been related to bug Bug 1667581. If we're still creating a large amount of StreamTransport threads, we should look into it - could be a similar but different issue.
Description
•