MLUG: Re: [MLUG - DISCUSSION] working without swap
Re: [MLUG - DISCUSSION] working without swap
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Wed, Jul 03, 2002 at 09:48:12PM -0500, Kmicic wrote:
> What do you guys think of getting rid of swap space completely? This may
> be more relevant to Windows than Linux, but even on Linux you sometimes
> end up swapping something that should've stayed in the RAM. I've been
> thinking about it, and experimenting with it with some good results.

You have to be very careful on what you run on the box, or it may
snap and bite ya. An example from just yesterday:

I use a single computer for both NAT and network scanning, via SANE and
an old HP flatbed. Unbeknownst to me, the swap partition wasn't active.

I set an option in SANE to keep scanned images in memory until they
are fully scanned, thinking it might improve overall performance for
ADF work. Unfortunately the kernel cried wolf before fully shrinking
buffers and cache, and the OOM killer wound up nuking my local DNS server
and gkrellm before fully fitting the image in memory. Hence everybody
started complaining about not being able to access anything. :F

> Paul

-- 
Rich Tollerton <EMAIL:PROTECTED>

Attachment: pgp00000.pgp
Description: PGP signature