Re: [SLUG] hibernation

From: Paul Bransford (draeath@gmail.com)
Date: Thu Mar 25 2010 - 22:46:15 EST


Note you can have swap without using it (except where you would otherwise crash with "out of memory).

There's a kerrnel VM sysctl called "swappiness" that governs this. I don't recallspecifics but some Google-fu should find it for you.

-- Sent from my Palm Pre
On Mar 25, 2010 11:37 PM, PiousMinion <piousminion@gmail.com> wrote:

On Thu, Mar 25, 2010 at 11:22 PM, Eben King <eben01@verizon.net> wrote:

Is it possible to set up a machine with no swap so it'll suspend to a file on a remote server accessible only through an 802.11 card?  Sure, it'll be slow, but that's OK.  Right now the share is via Samba but I could figure out NFS if Samba is a no-go.

-- 

-eben   QebWenE01R@vTerYizUonI.nOetP   royalty.mine.nu:81

       Two atoms are walking along.  Suddenly, one

     stops.  The other says, "What's wrong?" "I've lost

       an electron." "Are you sure?" "I'm positive!"

-----------------------------------------------------------------------

This list is provided as an unmoderated internet service by Networked

Knowledge Systems (NKS).  Views and opinions expressed in messages

posted are those of the author and do not necessarily reflect the

official policy or position of NKS or any of its employees.

Running with no swap isn't generally a good idea unless you've got a butt load of ram, but if you have a butt load of ram you probably have a few gigs to spare on your machine. *shrugs*

There is also a huge security concern if trying to dump the entire contents of your ram to a remote location. All your passwords, encryption keys, web sessions, and everything else will be transmitted and stored somewhere else.  Yikes.

I'm fairly sure this can be done if you prepare an appropriate initrd/initramfs, but I seriously doubt any distribution supports anything like this natively.  You'd likely have to modify the initrd/initramfs by hand.

Again, this is a very bad idea, but should be possible. --Clayton Holloway

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:04:08 EDT