Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How much RAM do I need for suspend/hibernate to RAM ?
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
LegionOfHell
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2019
Posts: 86
Location: Toronto, Canada

PostPosted: Fri Apr 19, 2019 11:01 pm    Post subject: How much RAM do I need for suspend/hibernate to RAM ? Reply with quote

here is what happens when i try the commands :

https://ibb.co/9h1F1qD


Can you confirm I am installing things properly ?

first I install "emerge --ask sys-power/suspend" for suspend to RAM.

then I install "emerge --ask sys-power/hibernate-script" for hibernate to RAM.

"pm-suspend" or "s2ram" suspends to RAM.

"hibernate-ram" hibernates to RAM.

is 4GB enough for suspending/hibernating to RAM ?


Last edited by LegionOfHell on Sat Apr 20, 2019 12:48 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13830

PostPosted: Sat Apr 20, 2019 12:45 am    Post subject: Reply with quote

You can use suspend-to-RAM with any amount of RAM that runs the system. RAM remains powered and retains its contents.
Back to top
View user's profile Send private message
LegionOfHell
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2019
Posts: 86
Location: Toronto, Canada

PostPosted: Sat Apr 20, 2019 12:53 am    Post subject: Reply with quote

did i install everything properly ?

since the above mentioned commands did not work I used:

cat /sys/power/state ... which returned:

freeze mem disk

then i tried:

echo mem > /sys/power/state which suspended the system

I suppose that the following command hibernates the system:

echo disk > /sys/power/state

where will the data go when hibernating ? will it go into the swap partition ? when I suspend to disk, will the computer stay on or it gets turned off ?
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