Clear the computer's memory?

Vincent Trouilliez vincent.trouilliez at modulonet.fr
Thu Mar 30 09:07:42 UTC 2006


On Thu, 2006-03-30 at 09:38 +0100, Tony Arnold wrote:
> Isn't that inevitable? Suspend to disk means just that: move all the
> processes out to the disk so the machine can be powered off. 

Yes exactly. It puts the contents of the RAM onto disk, so it can read
it back when resumed. Problem is that when I resume, there is still data
on swap, despite there were none when I put it to sleep.

> Linux then uses its normal paging mechanism to get stuff back into memory as it is
> needed.

Ah, I understand... so I guess I just expected too much from the
hibernate mode, it seems. It doesn't work as I would have expected
it :o(


> Does the machine not become more an more responsive without deactivating
> swap? I'm thinking the processes that get used will be swapped back into
> memory anyway over time? 

Nope. Even if I leave it alone for a few seconds after closing VMWare
(or whatever), it will not think of reloading the other apps from swap
by itself, that's the problem...


--
Vince





More information about the ubuntu-users mailing list