Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hibernate & suspend: What's the current recommended method?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Mon Feb 22, 2016 9:11 am    Post subject: Hibernate & suspend: What's the current recommended meth Reply with quote

Hi,

so I'm re-installing the entire Gentoo system on my laptop, and I was wondering which kernel to go with, to achieve the best suspend & hibernate experience. A few years ago, Tuxonice was recommended (hence tunonice-sources), but now I'm wondering if the normal gentoo-sources might be sufficient?

What's currently the recommended method?

Note: I'm using KDE/Plasma5 as a desktop, and of course I'd like to suspend/hibernate from the desktop, not using the command-line...
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 669

PostPosted: Mon Feb 22, 2016 9:46 am    Post subject: Reply with quote

One vote for stock gentoo-sources with pm-utils. I've used it for hibernate & suspend on my laptop (KDE desktop) for years, no problems.
_________________
Greybeard
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Mon Feb 22, 2016 12:41 pm    Post subject: Reply with quote

Cool :) I'm glad stock can be recommended. Any other opinions?
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
spectromas
n00b
n00b


Joined: 13 Jul 2014
Posts: 50

PostPosted: Mon Feb 22, 2016 1:13 pm    Post subject: Reply with quote

Any sources and hibernate-script works fine for me.
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Tue Feb 23, 2016 1:49 pm    Post subject: Reply with quote

Awesome, I'll go with stock gentoo-sources then I think :)
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
ese002
Tux's lil' helper
Tux's lil' helper


Joined: 20 Sep 2006
Posts: 115

PostPosted: Tue Mar 08, 2016 4:58 am    Post subject: Reply with quote

I'm using stock gentoo-sources. It works but getting to a usable state after resuming from hibernation is painfully slow. It is entirely possible I'm doing something wrong but what I've read suggests that this is just par for the course. The only helpful looking advice I have seen suggests that I should be running tuxonice.
Back to top
View user's profile Send private message
Goverp
l33t
l33t


Joined: 07 Mar 2007
Posts: 669

PostPosted: Tue Mar 08, 2016 12:20 pm    Post subject: Reply with quote

ese002 wrote:
I'm using stock gentoo-sources. It works but getting to a usable state after resuming from hibernation is painfully slow. It is entirely possible I'm doing something wrong but what I've read suggests that this is just par for the course. The only helpful looking advice I have seen suggests that I should be running tuxonice.

Interesting! I've also run stock gentoo-sources, and resume from hibernate is slow. My netbook spends a few seconds recovering the page file's contents, then the desktop appears, and I'd hope it was in a similar state to resume from suspend. But it isn't - it takes another minute or two before the desktop is responsive. Can any tuxonice users comment?
_________________
Greybeard
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Tue Mar 08, 2016 7:14 pm    Post subject: Reply with quote

Goverp wrote:
Can any tuxonice users comment?

Goverp ... sure, it takes about 3 seconds to resume from hibernation (2Ghz core duo, 2Gb RAM, and 3.13.11), so nothing like what you experience.

I'm using =sys-power/hibernate-script-2.0-r6 with very little configured, I run 'sync ; sleep 1; sync' on suspend, that's about all, tuxoniceui is the UI.

More RAM (in use) will result in more to write to disk, so you could 'drop_caches' on suspend and so not have these written (which will speed up both suspend and resume), so:

Code:
echo 3 > /proc/sys/vm/drop_caches

HTH & best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum