On Monday, 8. November 2004 20:21, Stefan Seyfried wrote:
On Mon, Nov 08, 2004 at 06:39:43PM +0100, Michael Karbach wrote:
thank you for the information!
But why is suspend to disk so slow for you?
Yes, in my point of view with a formerly working APM-suspend-resume, it is really slow. Now with SuSE-9.2-2.6.8 compared to 9.1-2.6.5 it is much better.
well, APM must have been suspend to RAM since APM suspend-to-disk is _really_ slow, it just saves the total amount of RAM without any "intelligence" on what may be discarded etc.
Yes it was suspend to RAM, unfortunately the fallback (acpi=off apm=on) in 2.6 is actually not the same as it was with kernel 2.4, because with 2.4 APM-suspend-to-RAM has worked in my case perfectly, but the fallback does not work at all;-)
For suspending roughly: 1:30min and for resuming (with a real working machine;-) 2:00min. But in some occasions it needs up to 3-5min for suspending. In this cases the last step (with the measuring percentage number) is the worst one.
Yes, this is a bug. I have seen this, too. Unfortunately, i never had a serial console ready to debug this. Usually it should write the pages to swap with full harddisk-speed but sometimes it doesn't. It works fine for me ~98% of all cases but sometimes it is slow writing to disk. The worst i have seen was ~25 _minutes_ of writing to swap. But it happens very infrequently and is though hard to debug :-(
Yes in one case I have observed 15minutes too. Usually in any case I avoid to reboot my system and try resolve all problems without a boot, so my statistics is not very convincing, but as far as I remember it has happend nearly in every instance after the first resume/suspend cycle (out of 4 or 5 since I have SuSE-9.2).
May be this is related to 768MB RAM? I have altogether 3GB SWAP, may be this is too much? I have tried before 1GB and also 2GB, but I have not yet done comparisons between different scenarios.
no, this _should_ not matter. I have used suspend2disk on 512MB and 1G machines and it worked on all of them. I have 512MB RAM and 1G swap right now. You should have only one swap partition though, with more than one you are very lucky if it works at all! (it sounds like you have two swap partitions with 1G and 2G).
Right, and it works. But nice to hear, so I will remove one.
So just remove 'usb_storage sbp2 ohci_hcd uhci_hcd ehci_hcd ohci1394' from POWERSAVE_UNLOAD_MODULES_BEFORE_SUSPEND2DISK in /etc/sysconfig/powersave/sleep.
OK, I will try this.
This will not help the "slow writing to disk"-bug, it will speed up "pre-suspend" and "post-resume" but the in-kernel part will stay the same.
OK, may be for the normal suspend, which I try right after this Email!