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

Re: putting "/tmp" to memory help



On 2011-01-25 21:48 +0100, Celejar wrote:

> You're right; I see now that 'free' reports only 317376 free.  This is
> a laptop, and I do hibernate it a couple of times a day, so I suppose
> that the cache(s) are thrown away to use the RAM for hibernation (and
> to avoid pointlessly saving cached disk data in RAM back to disk), and
> then when the system is restored, the RAM becomes free again until it's
> once again used for cache or application storage?

Yes, that's it (compare the output of "free" before and after
hibernating to convince yourself).  If you don't want to get your cache
blown away, use suspend (to RAM) rather than hibernation.

Sven


Reply to: