Hibernate (suspend-to-disk) is very slow

Bug #285324 reported by eddiewould
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

As per bug #185703, on my SONY VAIO CR323 laptop hibernate is very slow, even with the 2.6.27 kernel.

While I appreciate Linux is not Windows and does not aim to be, comparisons should give an indication of what the hardware is capable of. Hibernate in Windows takes approximately 7 seconds on this machine.

Under Kubuntu Linux 8.04, from selecting "Suspend to Disk" in Knetworkmanager to the machine actually powering down takes 1:14 seconds. Interestingly enough, the HDD activity light is only on for 11 seconds of this time. Would be very interesting to know what it is doing for the rest of the time :)

uname -a: Linux eddie-laptop 2.6.27-6-generic #1 SMP Tue Oct 7 04:15:04 UTC 2008 i686 GNU/Linux

cat /proc/version_signature: Ubuntu 2.6.27-6.9-generic

lsb_release -rd:
Description: Ubuntu 8.04.1
Release: 8.04

apt-cache policy linux-image-2.6.27-6-generic
linux-image-2.6.27-6-generic:
  Installed: 2.6.27-6.9
  Candidate: 2.6.27-6.9
  Version table:
 *** 2.6.27-6.9 0
        100 /var/lib/dpkg/status

dmesg.log & lspci-vvnn.log attached in bug #185703

Revision history for this message
eddiewould (eddie-eddiewould) wrote :

As an update to this, I've played with s2disk and s2both from the package uswsusp. Before doing this, I cleared my syslog.

These commands give quite a bit more information, which could be useful. From starting s2disk it first does an initial "Suspending consoles(s)", then it frees memory, writes pages to disk, etc. This is all relatively quick.

Finally it gets to appear to the final line "Suspending consoles(s)" (the second time round) and this stage is taking 45 seconds. Yet my /var/log/syslog has no record of this 45 second delay. I've attached the excerpt, if anyone is interested:

Revision history for this message
eddiewould (eddie-eddiewould) wrote :

As an update - I have patched and built a kernel with TuxOnIce support. I have found performance using TuxOnIce to be better on this laptop - approximately 30 seconds from closing the lid to power off and around the same for resuming.

At this stage it doesn't look like TOI will become part of Ubuntu - so I am probably restricted to running a custom kernel.

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

Hi eddie-eddiewould,

This bug was reported while ago and there hasn't been any activity in it recently. We were wondering is this still an issue? Can you try with the latest development release of Ubuntu? (ISO CD images are available from http://cdimage.ubuntu.com/releases/)

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux-image-`uname -r` 285324

Also, if you could test the latest upstream kernel available 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. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kernel-suspend
tags: added: kernel-hibernate
tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: needs-verification
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
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.