You are not logged in.
Pages: 1
Pm-hibernate works fine but... system starts from swap in ~40 seconds. Normal system start takes 20-30 seconds. I can see 2 problems:
- pm-ulils safe disk cache to swap, which takes ~50-70% of RAM!
- only ~16Mb/s in read. I think, that my HDD in Thinkapd T42 is a little faster...
Any ideas how to fix this?
English is not my first language, so please forgive me for my mistakes.
Offline
Buy a faster harddrive?
What is the RPM of your current drive?
How much RAM do you have?
Offline
It is laptop, so 5400 RPM.
1024MB ram + 2048MB swap. When I made hibernate I used ~100MB for programs and ~180MB HDD cache.
Is pm-utils check data when it load data from swap?
Is it possible, to do not write cache from ram do hdd?
English is not my first language, so please forgive me for my mistakes.
Offline
It is laptop, so 5400 RPM.
There are 7200 and 4800 RPM drives also . . .
Is pm-utils check data when it load data from swap?
I am assuming that pm-utils would check the data before reloading it.
Looks like my laptop:
25 Second resume from Hibernate
22 Second boot (loading cups, hal, wicd, alsa, and mpd)
So . . . 12% +/- time difference.
What programs are you running when hibernating?
Offline
I have had the same problem.
Now I do not use hibernate
My laptop HP6910p , 3GB RAM
Offline
My laptop needs about the same time to boot and to resume from hibernation (about 50 secs to a fully usable graphical environment in both cases).
arch(3) adj amused because you think you understand something better than other people ;P
Offline
Yeah, the times I quoted were to a login prompt, I don't use a login manager, so it's pretty fast for me.
Offline
sync
echo 1 > /proc/sys/vm/drop_caches
pm-hibernateWakes up in 24s.
English is not my first language, so please forgive me for my mistakes.
Offline
@dext: A really cool hack. My computer wakes up in 30s now (it was more like 50-60s before).
A suggestion: if you want pm-hibernate to use this hack automatically (e.g. when you hibernate from a Gnome menu etc.) you can create a file under /etc/pm/sleep.d/ that takes care of that.
Eg., create /etc/pm/sleep.d/drop_caches with this content:
#!/bin/bash
if [ "$1" = "hibernate" ]; then
sync
echo 1 > /proc/sys/vm/drop_caches
fiMake sure it's owned by root and has permissions set to 755 and voila.
Edit: I added an if clause so that it only gets invoked before hibernation and not upon wakeup or suspend.
Last edited by JeremyTheWicked (2008-06-21 17:21:32)
arch(3) adj amused because you think you understand something better than other people ;P
Offline
Pages: 1