(don't we already have a bug for this? I can't find it)
In a high-load situation, the tab discarder fires too late, then keeps firing for a long time when it should no longer be firing.
The attached chart shows one such situation. The data is from a 2GB cyan running a ToT build with a large number of open tabs, while I was switching tabs cyclically.
Each green-dotted vertical line shows when the kernel reports an OOM-kill in kmsg.
Each black-dotted vertical line shows when chrome creates the sad tab for the OOM-kill.
Each red vertical line is a tab discard.
Each blue vertical line corresponds to a low-memory notification being triggered. The blue graph is "available RAM". The horizontal blue line is the notification margin.
The green graph is free RAM, brown is free swap, hot pink is a 5-second moving average of tasks in the run queue (i.e. a 5-second load average).
|
Deleted:
figure_1.png
329 KB
|
Comment 1 by semenzato@chromium.org
, Nov 3 2017