My favorites | Sign in
Project Home Downloads Wiki Issues
New issue   Search
for
  Advanced search   Search tips
Issue 11700: Ameliorate problems due to renderer being swapped out
121 people starred this issue and may be notified of changes. Back to list
 
Reported by project member ben@chromium.org, May 9, 2009
Open lots of tabs in multiple windows, including plugins (e.g. youtube, 
hulu etc). Use computer for a while. Sleep it, wake it up, etc etc.

After hours and hours tab switching becomes unbearably slow. This is 
frustrating when you are trying to close tabs and the system must page them 
in in order to shut them down.

Honestly, it would be faster for me to shoot them and reload the page than 
wait for it to come back.

Sometimes when the tab is repainting the whole browser UI locks too, and 
the tab content is painted in a series of horizontal strips.

I would say this is one of the biggest obstacles using Chrome on my 2.4GHz 
dual core laptop/2GB RAM.

Assigning to Darin so he can find the right person to work on this :-)
Comment 1 by ben@chromium.org, May 9, 2009
(No comment was entered for this change.)
Labels: Jank
Comment 2 by darin@chromium.org, May 9, 2009
This is more of a meta bug or a duplicate bug.  There are several things at play here, 
and many related bug reports.
Comment 3 by ben@chromium.org, May 13, 2009
Well what's the duplicate then? Either this bug should be targeted at a milestone
with someone to investigate, or the duplicate found, added to the Jank label,
targeted and assigned.
Comment 4 by darin@chromium.org, Jul 29, 2009
(No comment was entered for this change.)
Owner: c...@chromium.org
Cc: da...@chromium.org
Comment 5 by prog...@gmail.com, Aug 19, 2009
The "tabs gets detached" bug happened more frequently to users with "old" tabs

 Issue 2105  is probably the most popular issue about this
some info in http://code.google.com/p/chromium/issues/detail?id=8628#c2 too

Comment 6 by prog...@gmail.com, Aug 19, 2009
also  Issue 17178  and Issue 18753
Comment 7 by pkasting@chromium.org, Sep 16, 2009
To be clear, this bug is about the problems caused when the renderer is swapped out 
and takes a while to swap in.  There are several potential not-mutually-exclusive 
solutions:

* Reduce the renderer memory footprint, e.g. by kicking caches out of memory on 
idle or after some time threshold, by having V8 garbage collect and compact, etc.

* Do tricks to hide the renderer swapping back in, such as backing the backing store 
with a file that we can quickly read of disk in one go and at least make a static image 
of the page come up quickly while the renderer tries to swap in

* Play tricks with keepalive pings, OS hints etc. to try and shape what gets swapped 
out

More?

cpu, if you are not looking into this, please unassign yourself.
Summary: Ameliorate problems due to renderer being swapped out
Blockedon: 16222
Comment 8 by pkasting@chromium.org, Sep 18, 2009
 Issue 2105  has been merged into this issue.
Comment 9 by pkasting@chromium.org, Sep 18, 2009
One other ntoe: The possible cause of  issue 2105  is the _backing store_ getting swapped 
out.  We never want to swap the backing store back in from disk.  My rough memory of 
Darin's recent comments on this is that there may be some way to keep the backing 
stores on the GPU instead of in main memory, which would mean that the GPU would throw 
them away (?) instead of swapping to disk.
Comment 10 by pkasting@chromium.org, Sep 18, 2009
Another note: when the system is under major memory pressure, the renderers should 
really clamp down into utter minimization mode -- not just throw out caches, but 
serialize their state off to disk and kick themselves out of memory, or something.
Comment 11 by pkasting@chromium.org, Sep 18, 2009
 Issue 11063  has been merged into this issue.
Comment 12 by pkasting@chromium.org, Sep 18, 2009
 Issue 21230  has been merged into this issue.
Cc: cr...@chromium.org
Comment 13 by jam@chromium.org, Sep 18, 2009
Carlos: are you actively looking at this?
Cc: j...@chromium.org gwil...@chromium.org
Comment 14 by pkasting@chromium.org, Sep 18, 2009
(No comment was entered for this change.)
Blockedon: 21926
Comment 15 by pkasting@chromium.org, Sep 21, 2009
(No comment was entered for this change.)
Blockedon: 22546
Comment 16 by buda...@gmail.com, Sep 22, 2009
After weeks waiting to patch I am back on Firefox, bye chrome!
Comment 17 by gwil...@chromium.org, Sep 23, 2009
(No comment was entered for this change.)
Labels: Mstone-4
Comment 18 by pkasting@chromium.org, Sep 29, 2009
(No comment was entered for this change.)
Blockedon: 23400
Comment 19 by pkasting@chromium.org, Sep 30, 2009
(No comment was entered for this change.)
Blockedon: -16222
Comment 20 by cpu@chromium.org, Oct 1, 2009
Most certainly our excessive use of memory and poor memory page management in tcmalloc 
is hurting us here big time.

Comment 21 by curtis.k...@gmail.com, Oct 1, 2009
not sure if this info will help or not...  but I just noticed the SAME type of
problem today while viewing a webpage that uses Silverlight, using IE8.  Strange...
Comment 22 by parado...@gmail.com, Oct 7, 2009
In Mac Chromium, I don't experience a lockup of the computer or browser, only the 
symptom that clicking on a tab that hasn't been used recently will give me a blank 
tab for a few seconds. I can switch tabs without an issue even if the first tab has not 
finished re-rendering yet.

Is the lockup and the extremely slow line-by-line redraw still happening on other 
platforms?

I'm on nightly r27530.
Comment 23 by yurken...@gmail.com, Oct 7, 2009
> Is the lockup and the extremely slow line-by-line redraw still happening on other 
platforms?

Line-by-line redraw is still the case on Windows with Beta channel, when many tabs are 
open (which don't fit into physical RAM?)--until redraw is complete, the whole system 
is unresponsive.
Comment 24 by cpu@chromium.org, Oct 8, 2009
@22 and @23. Yes, the memory has been paged out to disk and the redraw is touching 
every page causing a page fault that reads the page from disk, this can make the 
computer very slow.

I believe this can happen in any OS.

What @22 is observing is the "backingstore lost" effect, Meaning that we only have a 
few backingstores (5) and the different tabs compete for them. At some point some tab 
is going to loose its backingstore and upon that tab being made visible it will regain 
an empty backingstore and force a full redraw.


Comment 25 by pkasting@chromium.org, Oct 21, 2009
This may be hugely aggravated by bug 25336.
Blockedon: 25336
Comment 26 by darin@chromium.org, Oct 27, 2009
How much more are we going to do here for M4?  Should this bug block M4?
Comment 27 by lafo...@chromium.org, Oct 28, 2009
(No comment was entered for this change.)
Labels: -Mstone-4 Mstone-5
Comment 28 by pkasting@chromium.org, Nov 5, 2009
 Issue 17178  has been merged into this issue.
Cc: prog...@chromium.org pkast...@chromium.org
Comment 29 by pkasting@chromium.org, Nov 5, 2009
There are a number of reports that the worst problems here come when waking up from 
hibernate, not just sleep.  I don't think anyone on the team knows precisely how 
hibernation affects memory pages.
Comment 30 by est...@chromium.org, Dec 4, 2009
 Issue 25152  has been merged into this issue.
Comment 31 by or...@chromium.org, Dec 17, 2009
Replacing labels:
   Area-BrowserBackend by Area-Internals

Labels: -Area-BrowserBackend Area-Internals
Comment 32 by orngjce...@gmail.com, Dec 17, 2009
Apparently hibernate writes the volatile memory to disk, pages presumably left where
they were previously unless the implementation isn't how I think it is.
Comment 33 by phajdan...@chromium.org, Jan 19, 2010
 Issue 9979  has been merged into this issue.
Comment 34 by darin@chromium.org, Mar 17, 2010
(No comment was entered for this change.)
Labels: -Mstone-5 Mstone-6
Comment 35 by dquicks...@yahoo.com, Mar 22, 2010
you should also merge  issue 8628  into this one, since there are many disgruntled 
comments there, with users thinking no action has been taken since 2008...
Comment 36 by pkasting@chromium.org, Mar 22, 2010
 Issue 8628  has been merged into this issue.
Comment 37 by cpu@chromium.org, Jun 16, 2010
I am tapped in the short term. Releasing this bug.
Status: Available
Labels: -Mstone-6 Mstone-7
Comment 38 by mitog...@gmail.com, Aug 26, 2010
I don't use sleep or hibernate mode, and I get this problem all the time, beta channel. Any progress at all on this issue?
Comment 39 by cpu@chromium.org, Aug 31, 2010
(No comment was entered for this change.)
Owner: ---
Labels: -Mstone-7 Mstone-8
Comment 40 by eschrepel@gmail.com, Oct 6, 2010
Still happening for me with Chrome 6.0.472.63, Win XP SP3, 2GB RAM, no other apps open, only two Chrome tabs open. Come back in the morning, line-by-line redraw which locks Chrome for about 60 seconds.
Comment 41 by lafo...@chromium.org, Oct 19, 2010
Since we are passed the branch, moving all mstone-8 issues to mstone-9 for triage/punting
Labels: -Mstone-8 Mstone-9
Comment 42 by lafo...@chromium.org, Nov 11, 2010
Does this meta bug have any utility anymore?  Can we close it?
Labels: Internals-Core
Comment 43 by quentin....@gmail.com, Nov 11, 2010
I haven't seen this problem for some time, it only used to happen on my work PC with Intel onboard video.
Comment 44 by pappub...@gmail.com, Nov 11, 2010
This still happens in 7.0.517.44

Using Intel Core 2 Duo and 4GB of Ram. 
Comment 45 by dbl...@google.com, Nov 11, 2010
Comment 40 is from Oct 06, and  Issue 2105 , which is marked as a duplicate of this, has had people complaining about it within the last couple of weeks.
Comment 46 by gwil...@chromium.org, Nov 11, 2010
Are we sure that fixing the other blocking bugs will resolve this issue?

This meta bug seems to have some value in tracking the progress of the other issues.
Comment 47 by stevek...@gmail.com, Nov 11, 2010
laforge@chromium.org writes: "Does this meta bug have any utility anymore?  Can we close it?"

If anyone closes this bug (meta or otherwise), it should not end the generation of progress reports to those of us tracking (and still experiencing) the bug. Not that we enjoy the sporadic confirmation (which has astonishingly lasted *years* and spanned the entire lifetime of the product) that this is *not fixed*, but it would be distinctly worse to receive a final notification that the (*did I mention that it's not fixed?*) bug is "closed," never to hear another peep about the issue.

I have no idea what a meta bug is, nor do I have any idea what options this tracking system provides to those of us receiving notifications when a bug is closed, marked as a duplicate, or otherwise "resolved." Regardless, don't do anything that will prevent those of us following the bug to continue to receive progress reports until this bug is truly fixed (which it's not, in case you didn't know).
Comment 48 by lafo...@chromium.org, Nov 18, 2010
(No comment was entered for this change.)
Labels: -Mstone-9 Mstone-X
Comment 49 by downch...@gmail.com, Dec 16, 2010
Issue #21926 may be related: 'Ensure backing stores aren't swapped out.'


Comment 50 by wayne.m...@gmail.com, Dec 16, 2010
is there open bug for this?  (I didn't find one)
Or a closed bug?

comment 20:
> Most certainly our excessive use of memory and poor memory page management in tcmalloc is hurting us here big time.

Comment 51 by lafo...@chromium.org, Mar 18, 2011
Open lots of tabs in multiple windows, including plugins (e.g. youtube, 
hulu etc). Use computer for a while. Sleep it, wake it up, etc etc.

After hours and hours tab switching becomes unbearably slow. This is 
frustrating when you are trying to close tabs and the system must page them 
in in order to shut them down.

Honestly, it would be faster for me to shoot them and reload the page than 
wait for it to come back.

Sometimes when the tab is repainting the whole browser UI locks too, and 
the tab content is painted in a series of horizontal strips.

I would say this is one of the biggest obstacles using Chrome on my 2.4GHz 
dual core laptop/2GB RAM.

Assigning to Darin so he can find the right person to work on this :-)
Labels: -Jank bulkmove TaskForce-Jank
Comment 52 by pappub...@gmail.com, Mar 27, 2011
Just reiterating that this bug still exists in Chrome 10.0.648.204

I was on firefox 4 for a month with no issues and switched back to Chrome when V10 was released. Speed was the marketing buzz for V10 but with this annoying bug speed really does not matter.
Comment 53 by yurken...@gmail.com, Mar 27, 2011
The problem is maybe even worse than described in comment #52, as in my experience Chrome now changes with a matter of several new tabs open from "it works pretty fast most of the time" to "it freezes the system completely, and you need to hard restart the whole OS just to start closing the extra tabs Chrome failed to handle" - there is even no warning that Chrome is close to making the system unstable - not to say it fails to completely prevent the system to going to such instability whatever a user does.

And Wontfixing the  issue 66827  addressing exactly that problem even without giving an effort to reproduce it is just no comments. 
Comment 54 by ken...@gmail.com, May 19, 2011
I'm not sure if it's related.
But on Mac, with Chrome 12.0.742.53 beta
All tabs are frozen when till another form on other tab is submitted.

Comment 55 by yurken...@gmail.com, Jul 26, 2011
One of the possible ways to go: issue 90593: "Save never-used tab's page contents when Chrome starts using too much physical memory"
Comment 57 by pkasting@chromium.org, Nov 9, 2011
Comment 56 is not related to this bug.  You should probably file a separate bug.
Comment 58 by danielgutson@gmail.com, Nov 9, 2011
You are right, in fact after writing this, I realized it could be about frequency change, did some experiments, and confirmed it. I was going to remove the comment, I'll do it right away.
Sorry for the noise interference.
Comment 59 by ldobb...@chromium.org, Dec 6, 2011
(No comment was entered for this change.)
Labels: nomedia
Comment 60 by jsdecker...@gmail.com, Dec 15, 2011
Could issue 104421 be related?
Sign in to add a comment

Powered by Google Project Hosting