New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 702243 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocked on: View detail
issue 701848
issue 702275
issue 702282


Participants' hotlists:
Hotlist-4


Sign in to add a comment

improve chrome tab and android app discard under memory pressure

Project Member Reported by semenzato@chromium.org, Mar 16 2017

Issue description

This meta-bug covers several issues:

1. Order of discards.  We think that there are cases in which the discard order in a mixed Chrome/Android environment is far from optimal.

2. Pressure at discard.  We often see excessive performance degradation, likely due to too much work in the kernel memory manager, before a discard occurs.

3. Discard vs. OOM kills.  The system was tuned to use discards to prevent the kernel from making OOM kills.  Some OOM kills are unavoidable but should be minimized.  According to UMA stats, some platforms see a majority of discards, others see a majority of OOM kills, and we should fix the latter.

4. Priority of OOM kills.  The current setup does not guarantee that processes are OOM-killed in the same order in which tabs are discarded.  In general this guarantee cannot be achieved because tabs may be discarded without killing the underlying renderer, which may be serving multiple tabs.

Next, I'll find or open bugs for each of these points and link them here.


 
Cc: cylee@chromium.org sonnyrao@chromium.org diand...@chromium.org kanliu@chromium.org bccheng@chromium.org dtor@chromium.org
Status: Available (was: Untriaged)
This bug is NOT for generic linux memory manager misbehavior such as issue 645198.  Here we try to work around what we have.

Also this bug is NOT for keeping track of memory leaks such as crosbug.com/p/62731.

Blockedon: 701848
Blocking on bug 701848 which addresses point 4: kernel OOM kill priority is not the same as tab/app discard priority.
For the reader: issue 645512 is a related mega-bug with many discussions and experiments.

Blockedon: 702275
Blocking on issue 702275: order of tab discards/android app kills may be suboptimal (to address point 1).
Blockedon: 702282
Blocking on issue 702282: tune/improve low-memory threshold calculation (addressing point 2)
Components: OS>Systems
Labels: OS-Chrome
Actually issue 702282 addresses point 3 as well.  They kind of go together.

Comment 8 by igo@chromium.org, Apr 4 2017

Cc: igo@chromium.org
Owner: cylee@chromium.org
Project Member

Comment 9 by sheriffbot@chromium.org, Apr 6 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".

Sign in to add a comment