You are not logged in.

#1 2010-05-03 06:02:25

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

[SOLVED-using_tuxonice]pm-hibernate not storing cache

I guess I've put this thread in the right place.

Anyone knows why pm-hibernate doesn't put all the cache and entire ram in the hibernate image?
I have 1,2GB of RAM and a 1GB swap on my laptop.Sometimes when I go to hibernate I see there is, in example, 500MB cached and 100MB used ram. When waking up from hibernation I end up without that cache? Isn't that an unnatural behaviour of a hibernation?

I have 838860800 in /sys/power/image_size, so that must be enough.

Cheers. smile

Last edited by archman-cro (2010-05-13 12:22:48)

Offline

#2 2010-05-03 08:49:07

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

I recall there being an option for that? I for one don't want my cache in the hibernation image, it would slow down the hibernation process AND the resume process something terrible.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-05-03 15:29:01

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

There's no option for that in man pages or pm-hibernate --help. sad
Can't google up anything either...
Any ideas? Writing cache to image would be cool. That's (imo) the spirit of hibernation. System at 100% same state like before powering off.

Offline

#4 2010-05-03 20:19:59

Anaki
Member
Registered: 2008-05-14
Posts: 8

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

Try tuxonice! Its default behaviour is to save the cache on hibernating, and it is very fast wink

Offline

#5 2010-05-04 07:06:27

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

I will look into Tuxonice again, thanks! Although I had an impression that it required a kernel to be patched, but maybe I've missed something. I want to go with my default configuration as long as it's possible.

Thanks for the recommendation! smile

Offline

#6 2010-05-04 09:24:14

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

tuxonice is a kernel patch - there are various builds for it in the AUR.

Offline

#7 2010-05-04 15:02:00

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

Means I have to repatch each new kernel when it gets updated? Do I update a "normal" kernel or kernel26-ice when an update is out?

Offline

#8 2010-05-04 21:32:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

kernel26-ice.

Offline

#9 2010-05-04 22:01:53

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

Ok, thanks, guys! I will mark this as solved, but if anyone knows of some tricks "under the hood" with pm-hibernate, feel free to post here! smile

Cheers.

Offline

#10 2010-05-13 12:21:41

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

Ok, I'm here to report that I'm running a kernel26-ice with great success. smile It works flawlessly, with lzo compression, it's fast and reliable. And I mean faaast return from hibernation - AND caching is here. Awesome. Marked as "solved" now.

Thanks, devs! smile

Offline

#11 2010-05-13 19:25:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

Just fyi - the Arch devs are not responsible for kernel26-ice. It's an aur package.

Offline

#12 2010-05-13 23:16:36

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

Yes, kernel26-ice is maintained by iceman81, and a few others help him out with updates.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#13 2010-05-14 09:02:41

iceman81
Member
From: Cambridge
Registered: 2007-07-25
Posts: 59
Website

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

ngoonee wrote:

Yes, kernel26-ice is maintained by iceman81, and a few others help him out with updates.

I am still struggling to get an internet connection at my new place. I will be back next week hopefully.

Enjoy the kernel :-)

Offline

#14 2010-05-14 11:01:10

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

tomk wrote:

Just fyi - the Arch devs are not responsible for kernel26-ice. It's an aur package.

I wrote "devs", not "Arch devs" smile. I knew Arch devs didn't do the kernel patch. All is said in the AUR description. smile
So, thanks to iceman81 for packaging and devs for programming it.*

*as told by Ngoonee

I failed. big_smile
Cheers. smile

Last edited by archman-cro (2010-05-14 15:21:50)

Offline

#15 2010-05-14 12:27:03

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [SOLVED-using_tuxonice]pm-hibernate not storing cache

archman-cro wrote:
tomk wrote:

Just fyi - the Arch devs are not responsible for kernel26-ice. It's an aur package.

I wrote "devs", not "Arch devs" smile. I knew Arch devs didn't do the kernel patch. All is said in the AUR description. smile
So, thanks to iceman81 to be precise.

Cheers. smile

If you're referring to iceman81, he's not the dev for tuxonice either, just the packager for Arch Linux.... And the real developers of the software won't ever read these forums I'd think.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB