Clear the computer's memory?

Matt Price matt.price at utoronto.ca
Thu Mar 30 17:35:41 UTC 2006


On Thu, 2006-03-30 at 13:01 +0200, Vincent Trouilliez wrote:

> That being said, hopefully the mechanism will be improve/sophisticated,
> to overcome this problem. Maybe do something like my original
> assumption: use any partition with enough space, dump the contents of
> the RAM, and reload it back into RAM in the exact same state that it was
> before hibernating. Basically, kind of making a binary snapshot of the
> RAM, put it to disk (swap partition or anywhere else), then copy that
> "image" back into RAM. A bit like cloning a hard disk with 'dd' ;-)
> This way, the system will be restored 100% like it was, hence if the
> system was responsive before hibernating, it will be as responsive after
> the resume. And if no swap was used before, not swap will be used after.
> Should speed up the resume phase as well, since I usually have only
> 200MB of RAM used, which tales only 4 or 5 seconds to read from a hard
> disk.
> 
> Well, something like that... :-)
> 

You might want to look into suspend2 (www.suspend2.net), which allowsthe
use of a swapfile in addition to ordinary swap partitions.  I believe
encryption is also supported, though I don't use it so I'm not quite
sure.  This involves patching and compiling your own kernel, but htat's
not very hard and there are a veriety of guides to it -- some on the
ubuntu wiki and at least one over at Debian itself.  

Matt

> 
> --
> Vince, day dreaming...
> 
> 




More information about the ubuntu-users mailing list