Re: Swap vnode's [was overcommit thread]

From: Michael Bacarella (mbac@nyct.net)
Date: Thu Mar 30 2000 - 22:08:37 EST


> thinking of this easy solution: just use free disk space in any
> mounted file system as swap over flow. So if you run out, create
> /lost+found/swap-overflow, do a mkswap on it, and start allocating
> swap pages out of there. What's the problem with that?
>
> Sure it isn't "secure" because all your file systems can be full, but that's
> unlikely, use the last X% reserved for root. For the anal among us, you can
> add a "reserved swap space" to the file system and make that be big enough.
> Disk is cheap.

Well shoot, if you happen to have all of that space laying around, why not
just feed it to the VM system in the first place instead of having Linux
run around desperately for swap space when something shitlike hits the
fan? :)

Now, I commit gobs of disk to swap space after the first OOM disaster I
had. :)

Michael Bacarella

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:28 EST