huray I am up and running Linux 6.2

Ben Pfaff pfaffben@msu.edu
12 Sep 2000 14:36:39 -0400


Edward Glowacki <glowack2@msu.edu> writes:

> On 12 Sep 2000, Ben Pfaff wrote:
> > The usual rule of thumb is that swap space should be at least as
> > much as the physical memory in your machine but that anything
> > more than twice that is a waste of space.
> 
> It all depends on what you're doing, some tasks may legitimately
> require extra swap space (I've seen stuff that recommends swap
> space equal to 3x your main RAM).

Sure, I'm speaking of in-my-experience typical user tasks.

> Basically the trick is to never get into a situation where
> "RAM+swap < amount_needed", as bad things tend to happen.

OTOH, I've been known to deactivate all swap if I think something
"bad" is going to happen (in particular, a program allocating way
too much memory because of some kind of bug or leak), because it
takes much longer for interactive performance to recover when a
program allocates 64 MB RAM + 200 MB swap before it dies than if
it can only allocate 64 MB RAM before it dies.
-- 
"Let others praise ancient times; I am glad I was born in these."
--Ovid (43 BC-18 AD)