Re: [Bug #13306] hibernate slow on _second_ run

Johannes Berg
2009-06-04T14:26:23Z

[-- Attachment #1: Type: text/plain, Size: 998 bytes --]

Alright, I have managed to trace this.

http://johannes.sipsolutions.net/files/hibernate-delay-dmesg.txt

has the dmesg, you can clearly see the delay:
[50265.143330] ACPI: Waking up from system sleep state S4
[50265.679141] HDA Intel 0000:00:08.0: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
[50265.689525] forcedeth 0000:00:0a.0: restoring config space at offset 0x1 (was 0xb00003, writing 0xb00007)
[50265.699775] ahci 0000:00:0b.0: restoring config space at offset 0x1 (was 0xb00403, writing 0xb00407)
[50286.294910] pci 0000:00:03.2: PME# disabled

I managed to get an entire function trace between

[50265.143330] ACPI: Waking up from system sleep state S4

and

[50290.439040] Restarting tasks ... done.

which I've uploaded to

http://johannes.sipsolutions.net/files/hibernate-delay-trace.bz2

(WARNING: uncompresses to 574MiB!)

I'm not sure why the timing in there doesn't show the delay, Steven was
taking a look at that.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]