Re: Swap
Thank you; I did not know that, and it makes for a significant swap size
reduction in nearly all cases of a desktop or laptop workstation.
The other points, I think, are not much changed. For the case Jos
Collin presented initially, (and noting his mention in another branch of
175 MB actually used) 2GB swap likely is quite enough.
Tom
On 02/04/2016 03:41 PM, Stefan Monnier wrote:
>> option, swap is where the memory image is put, and it should be at least
>> as large as real memory.
>
> Actually no: when hibernating, the requirement is that the currently
> unused swap space (which should usually be pretty much the whole swap
> space), be large enough to contain a *compressed* form of a *part* of
> the RAM (the parts that can be skipped are those which would never be
> moved to swap anyway, such as the caches that hold a copy of data which
> is already available elsewhere on disk).
>
> So it doesn't need to be as large as RAM. In many cases, the amount of
> swap space used by hibernation less than 1/3 of RAM.
>
>
> Stefan
>
>
Reply to:
- Follow-Ups:
- Re: Swap
- From: Jos Collin <joscollin@gmail.com>
- References:
- Swap
- From: Jos Collin <joscollin@gmail.com>
- Re: Swap
- From: Tom Dial <tddial@comcast.net>
- Re: Swap
- From: Stefan Monnier <monnier@iro.umontreal.ca>