Open
Bug 1026090
Opened 10 years ago
Updated 2 years ago
WebRTC LoadMonitor opens /proc/stat
Categories
(Core :: WebRTC, defect, P4)
Tracking
()
NEW
backlog | webrtc/webaudio+ |
People
(Reporter: jld, Unassigned)
References
Details
From content/media/webrtc/LoadMonitor.cpp: 373 procStatFile->InitWithPath(NS_LITERAL_STRING("/proc/stat")); This is code we control, so it should be doable to have the parent open the file and return the parsed information. Also… we seem to have two "Sys Load Info" threads in the same process, each independently opening and reading /proc/stat once per second. Since I'm using http://mozilla.github.io/webrtc-landing/pc_test.html I'd guess there's one per endpoint. This may or may not be improvable as a side-effect of this bug.
Comment 1•10 years ago
|
||
Two+ LoadMonitor threads is a bug I fixed at the end of last week - we now have a singleton for the LoadMonitor; make sure you have that patch. (Bug 1022235) Sure, on B2G it would make sense to have the LoadMonitor in the parent (ditto E10S)
Reporter | ||
Comment 2•9 years ago
|
||
Sorry for the bugspam; filter on 086f2ac3-ac15-4299-889b-009181af5029.
Blocks: 1121295
Reporter | ||
Comment 3•9 years ago
|
||
Sorry for the bugspam; filter on 086f2ac3-ac15-4299-889b-009181af5029.
No longer blocks: 930258
Updated•9 years ago
|
backlog: --- → webRTC+
Rank: 35
Priority: -- → P3
Comment 5•8 years ago
|
||
I'm fairly sure LoadMonitor still sits at the content side.
Flags: needinfo?(rjesup)
Comment 6•8 years ago
|
||
(In reply to Gian-Carlo Pascutto [:gcp] from comment #5) > I'm fairly sure LoadMonitor still sits at the content side. Yes. We should look to move the load monitor to the Master process and periodically update the children, especially as we move towards multi-content-processes. It's not low-latency.
Comment 7•7 years ago
|
||
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•