Suspend/Resume slowness
December 26, 2009 7:33 PM   Subscribe

My Ubuntu laptop is unresponsive within the first 20 seconds after resume from suspend. I think the culprit is Flash (npviewer.bin), since it is shown as using 80%+ of CPU. How can I work around this?

One of the things I was considering doing was having a script kill flash before and after suspend, but I'm not sure how.

Any ideas? (other than stop using flash :)

Ubuntu 9.04 on a Dell XPS m1330.
posted by lwf to Computers & Internet (3 answers total) 1 user marked this as a favorite
 
Are you certain it's software and not hardware? My Lenovo T62 does basically the same thing, both in Gentoo and in Windows 7; the issue there seems to be that the CPU and memory states are still coming back online after the video display is up, and that input devices take a bit longer to start working.
posted by ellF at 8:47 PM on December 26, 2009


Best answer: Have you tried timing the suspend/resume cycle with and without a browser running? How about disabling flash in your browser and timing?

To terminate flash before suspend, try killall -9 npviewer.bin. I'm not familiar with ubuntu, but suspend/resume should be handled by scripts invoked from /etc/pm/sleep.d, see man pm-action for more information.
posted by Dr Dracator at 9:54 PM on December 26, 2009


Response by poster: @ellF, the s/r cycle takes longer when I start a new GNOME session than when I've been using a session for a while.

I've already authenticated to my screensaver by the time I'm noticing browser/session slowness, so the keyboard and mouse is up.
posted by lwf at 8:17 PM on December 27, 2009


« Older What games have I missed?   |   Help me help my 7-yr-old appreciate what she has. Newer »
This thread is closed to new comments.