Closed
Bug 952693
Opened 12 years ago
Closed 12 years ago
The Nuwa process should never be OOM killed
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
People
(Reporter: khuey, Assigned: seinlin)
References
Details
Attachments
(1 file)
1.20 KB,
patch
|
khuey
:
review+
khuey
:
feedback+
|
Details | Diff | Splinter Review |
We should never OOM kill the Nuwa process while any app processes are alive, because then there will be app processes spawned from multiple Nuwa template processes, defeating some of the optimization. Since the Nuwa process should be low overhead, I think we should consider even killing the parent process first.
Assignee | ||
Comment 1•12 years ago
|
||
Hi, Kyle, When I try nuwa on device with 128MB memory, I used to adjust nuwa process's priority to the same as parent process in order to prevent it'd been killed by LMK. But I am not sure if this method is a good solution.
Attachment #8350975 -
Flags: feedback?(khuey)
Reporter | ||
Updated•12 years ago
|
Attachment #8350975 -
Flags: feedback?(khuey) → feedback+
Updated•12 years ago
|
blocking-b2g: 1.3? → 1.3+
Comment 2•12 years ago
|
||
Bug 957509 would reduce the size of USS of Nuwa to 1.xMB and preallocated process to 0.8MB. The overhead of Nuwa was dramatically drop.
Comment 3•12 years ago
|
||
(In reply to Thinker Li [:sinker] from comment #2)
> Bug 957509 would reduce the size of USS of Nuwa to 1.xMB and preallocated
> process to 0.8MB. The overhead of Nuwa was dramatically drop.
Sounds good! Then, are we going to land Kai-Zhen's patch as well?
The patch looks like a good solution.
Flags: needinfo?(tlee)
Comment 4•12 years ago
|
||
He have applied the patch from cervantes for daily build.
Flags: needinfo?(tlee)
Comment 5•12 years ago
|
||
Great. Can Kai-Zhen be the assignee for this bug to make sure this bug already has owner and progress? Thank you.
Flags: needinfo?(kli)
Assignee | ||
Comment 6•12 years ago
|
||
I think we can get the attached patch reviewed and landed. But it depends on bug 950266. Before bug 950266 got fix nuwa is not enabled in b2g by default.
Flags: needinfo?(kli)
Comment 7•12 years ago
|
||
Thanks. I think it's a good approach. Can you mark review? to ask for review? Thanks.
Updated•12 years ago
|
Attachment #8350975 -
Flags: review?(khuey)
Reporter | ||
Updated•12 years ago
|
Attachment #8350975 -
Flags: review?(khuey) → review+
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Assignee: nobody → kli
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Comment 10•12 years ago
|
||
status-b2g-v1.3:
--- → fixed
status-b2g-v1.4:
--- → fixed
status-firefox27:
--- → wontfix
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•