Comment #13 on issue 21470 by balazs.racz: computer takes long time to wake  
up from sleep when chrome is open
http://code.google.com/p/chromium/issues/detail?id=21470

I've been having this issue for a long time. Despite not having been able  
to figure
out chrome might be the cause, I have some input data.

1) The delay always happens before windows turns the screen on.
2) I always have two gmails (corp and private) and a google calendar open  
in my
chrome. I would focus on one gmail and one google calendar tab as the  
reproducing
scenario.
3) I always have a flash plugin running.
4) there is minimal/no disk activity during the delay [i.e. disk led  
flashes no more
often than any normal use], so it is definitely not swapping or  
disk-thrashing
5) delay happens both when waking up from sleep and when waking up from  
hybernate
6) the delay length is roughly linear in the time the computer spent in  
sleep mode.
The rate is about 1 minute per day.


I think the last is the key observation here. My guess at the problem is  
the following:
- some javascript in an open tab has a periodic timer event
- chrome wakes up, realizes that N timer events are pending
- chrome executes N timer event.
- for some weird reason this blocks the computer from waking up -  
potentially by
hogging the CPU, but may be some serialization problem, like the event  
driver is
waited for in a sequentially executed OS thread (for example one that sends
power-state notifications).


Due to 6) this bug takes very long to reproduce -- you'd have to wait one  
day for any
reproducing try. THe delay is not observable on short sleeps (10-30 sec for  
an
overnight sleep). I recommend the following procedure:

- disable NTP client
- open chrome, open gmail and google calendar
- put the machine into _hybernate_ mode
- turn the machine on, enter BIOS setup
- change date to two to four days in the future
- let windows resume from hybernation
- observe delay.

hth,
Balazs

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to