[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swap



> 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: