system becomes very slow after suspend/resume

Bug #748004 reported by Felix Lawrence
76
This bug affects 15 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

My quad core i5 iMac becomes unusably slow after resuming from suspend. One process will take 100% of a CPU (and nothing will run on the other cores). This process is usually Xorg or beam.smp, although sometimes firefox or evolution will take over. I have observed this with and without the ATI drivers. Logging out and in does not fix the problem for more than a minute or so - only a reboot seems to clear the problem.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: erlang-base 1:13.b.3-dfsg-2ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
Architecture: amd64
Date: Sat Apr 2 15:01:30 2011
ExecutablePath: /usr/lib/erlang/erts-5.7.4/bin/beam.smp
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: erlang
UpgradeStatus: Upgraded to natty on 2011-04-01 (0 days ago)

Revision history for this message
Felix Lawrence (felix-lawrence) wrote :
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Julian Kalinowski (julakali) wrote :

Same here on an X200 Notebook (Core 2 Duo P8400).
After Suspend to Ram and Resume, the System is extremly slow, applications only use one core (100% most of the time).
Even without X, its not usable until next reboot.

Revision history for this message
Julian Kalinowski (julakali) wrote :

Could be a dupicate of bug #236275

Revision history for this message
xtsbdu3reyrbrmroezob (xtsbdu3reyrbrmroezob) wrote :

Also affecting me.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
metos (metos00) wrote :

I have the same probem
I'm using ubuntu 11.04 64b on dell precision m4600

Revision history for this message
juergi (juergi) wrote :

I also have the same problem.
System: Lenovo X200 (Core 2 Duo P8700); Maverick 10.10 32bit

Revision history for this message
ViktigLemma (jorgsk) wrote :

This affects me too, Xubuntu 11.04 AMD64.

Further, the power settings are not respected. I've set it to "never do anything" when on AC, but the system falls asleep anyway.

I'm vaguely speculating if this has something to do with dualbooting windows 7. Maybe the power settings there override the Linux ones, but I don't want to delete windows to find out.

Any tips on how to debug this or how to give helpful reports would be great.

Revision history for this message
xtsbdu3reyrbrmroezob (xtsbdu3reyrbrmroezob) wrote : Re: [Bug 748004] Re: system becomes very slow after suspend/resume

I don't dual boot.

--
Kristian Erik Hermansen
On Aug 4, 2011 10:55 AM, "ViktigLemma" <email address hidden> wrote:
> This affects me too, Xubuntu 11.04 AMD64.
>
> Further, the power settings are not respected. I've set it to "never do
> anything" when on AC, but the system falls asleep anyway.
>
> I'm vaguely speculating if this has something to do with dualbooting
> windows 7. Maybe the power settings there override the Linux ones, but I
> don't want to delete windows to find out.
>
> Any tips on how to debug this or how to give helpful reports would be
> great.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/748004
>
> Title:
> system becomes very slow after suspend/resume
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/748004/+subscriptions

Revision history for this message
ViktigLemma (jorgsk) wrote :

Update:

I've upgraded to kernel 2.6.39 and this might have fixed my problem. Will post back if I encounter problems again.

Revision history for this message
xtsbdu3reyrbrmroezob (xtsbdu3reyrbrmroezob) wrote :

I installed a fresh copy of oneiric amd64 for my MacBook in hopes of solving
the issue with kernel 3.0. Now resuming from suspend doesnt even work :(
On Aug 10, 2011 7:01 AM, "ViktigLemma" <email address hidden> wrote:
> Update:
>
> I've upgraded to kernel 2.6.39 and this might have fixed my problem.
> Will post back if I encounter problems again.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/748004
>
> Title:
> system becomes very slow after suspend/resume
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/748004/+subscriptions

Revision history for this message
ViktigLemma (jorgsk) wrote :

It seems the kernel 2.6.39 didn't fix my problem. What seems to have done it, though, is disabling settings in xscreensaver! Even if xscreensaver was not configured to enter any sleep or suspend mode, it must have done so anyway. After I disabled the screensaver I don't have any problems any more. I also don't have a screensaver, but that's something I can live with.

Revision history for this message
James D (demichej) wrote :

I think ViktigLemma hit on this, but I installed xscreensaver, and told my Ubuntu 11.10 to never suspend. Now the computer responds the way I expect. It's just on me to turn off my monitor when I'm done for the day......not a big deal. Well worth it to have my computer function correctly 100% of the time.

This is an AWFUL bug.

Revision history for this message
Albert Wilkes (o-null07) wrote :

My impression is that I was able to get rid of the issue after disabling "Spin down hard disks when possible" and the issue seemed to only affect my Dell D630, not my D820 despite running both running 2.6.32-38-generic #83-Ubuntu SMP

Revision history for this message
penalvch (penalvch) wrote :

Felix Lawrence, thank you for reporting this and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please provide the information following https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume ? As well, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ . However, note you can only test Suspend, not Hibernate, when using a LiveCD. If the issue remains, run the following command in the development release from a Terminal (Applications->Accessories->Terminal) as it will automatically gather and attach updated debug information to this report.

apport-collect -p linux <BUGNUMBER>

Additionally, if you could try to reproduce this with the upstream mainline kernel that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.

Please let us know your results. Thanks in advance.

tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Felix Lawrence (felix-lawrence) wrote :

A few months ago I did a fresh install of 12.04 while it was at alpha 2. I ran this on the same computer for about a month and never encountered this problem. I presume it must have been fixed some time between 11.04 and then - feel free to close this bug if that is the appropriate response.

tags: removed: needs-upstream-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Babstar (debian-lists) wrote :

To add a data point, I recently upgraded my Dell 1555 (xubuntu 12.04) from 3Gb to 8Gb of RAM and the problem has disappeared. In a month, I haven't had a single failed resume. I use the computer in exactly the same way that I always have. Interestingly I now monitor memory usage with a widget (system monitor in xfce4), and I consistently uses 4+Gb of RAM - the worst offender is Google Chrome - sometimes I can have 50+ tabs open. Is the issue related to memory swapping?

I wonder if other users reporting this problem also have large memory use programs running prior to suspend. Pretty easy to test, close everything and try suspend/resume.

Revision history for this message
penalvch (penalvch) wrote :

Babstar, please do not add data points to another person's report. For more on this, please see https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported . If you are having a problem in Ubuntu, please file a new report by executing the following via the Terminal and feel free to subscribe me to it:
ubuntu-bug linux

Thanks!

Revision history for this message
ole.tange (n-launchpad-net-tange-dk) wrote :

I read another place that taking out the battery would help.

And it does!

Today I suspended my 20 GB HP 8540w to RAM. 2.7 GB of this RAM was in use. After resume everything is working as if the 1.6 GHz 4 core CPU has been replaced with a 16 MHz 4 core CPU: I can start multiple processes but they often take up 100% of a core.

Then I suspended to RAM again, removed the battery (this obviously only works if you are on AC), and resumed. Now the machine is working as the expected 1.6 GHz 4 core again.

Plugging the battery back in after resume did not crash anything.

Revision history for this message
penalvch (penalvch) wrote :

ole.tange, if you have a bug in Ubuntu, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report may delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Revision history for this message
penalvch (penalvch) wrote :

Felix Lawrence, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/748004/comments/16 regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in linux (Ubuntu):
status: Expired → Invalid
Revision history for this message
Etienne V. (evrignaud) wrote :

I have the same probem with my Dell E6520 that is running a fresh install of the 13.04 Ubuntu release.
After doing suspend / resume on my computer most of the time I need to reboot it.
Don't know what's wrong and how I can diagnose the problem.
I tried to see something using the top command.
There is no process that consumes CPU, but the laptop is slow.
It's like everything is done at a lower rate.
Is there some tool that can help me to display the frequency of the CPU, or ...

Revision history for this message
Etienne V. (evrignaud) wrote :

I think this bug is still valid

Changed in linux (Ubuntu):
status: Invalid → Opinion
Revision history for this message
Etienne V. (evrignaud) wrote :

Incomplete should be better in fact

Changed in linux (Ubuntu):
status: Opinion → Incomplete
Revision history for this message
penalvch (penalvch) wrote :

Etienne V., if you have a bug in Ubuntu, the Ubuntu Kernel team, Ubuntu Bug Control team, and Ubuntu Bug Squad would like you to please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report would delay your problem being addressed as quickly as possible.

Thank you for your understanding.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.