On Thu, 14 Dec 2017 17:50:25 -0500 David T-G <d13@justpickone.org> wrote:
Carlos, et al --
...and then Carlos E. R. said... % % On Thursday, 2017-12-14 at 11:17 -0500, David T-G wrote: % ... % >How much swap do I need if I'm planning to suspend to disk (aka hibernate % >as compared to sleep, but I forget the s2/s3/... stages)? % % Well, you need as much as you need... :-)
Gee, thanks :-)
% % There can't be an exact reccomendation. You initial choice of 17G is % fine (it is what I have, more or less). Only experience with your % actual usage pattern will tell. [snip]
Well, dang. I guess I share Dave Howorth's position in that I'd like to know some real guidelines. Who knew that Window's hiberfil.sys for dumping RAM to disk alongside the variable-size pagefile.sys for its equivalent of swapping would be so useful?
Soooooo... I think I hear that swap space is used to write the current active memory for hibernation as well as to swap out process data for CPU time sharing, and I think I hear that there are is no firm way to ensure that one always has enough "hibernation" space free. Is that accurate?
/me wonders if creating an 8G file in OS space and using swapon to turn it on right before hibernation (and then off again upon waking up) is a reasonable plan...
I'm surprised nobody has mentioned the OOM killer in this discussion. Does it get called to free up swap for hibernation?
Thanks again & HH
:-D
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org