> Having swap provides some cushion.  Swap kind of smooths any bursts. (And it 
> can
> also slow things down as a side effect)

This is why I got rid of it - my application is a lot of CGI scripts. The
overload condition is that we run out of memory - and we run *way* out
of memory .... its never just a little overflow, it;s either handleable or
completely crushed. But swap makes that mre llikely to happen, because
as the processes are swapped out they run slower, take longer to
finish and thus use memory for longer.

What I saw was that as soon as any web server would start tos wap it would
swftly fall down. Without swap they stay up, but reject requests. Its a better
failure mode...

these days I run a compormise - swap on internal machines, and no swap
on customer facing ones, but lots of RAM (16 gig).

-pete.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to