[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: swap size



On Fri, Dec 01, 2000 at 09:35:16PM -0500, patd@dahiroc.net wrote:
> a couple of days ago a was configuring a bunch of boxes with 1G ram
> and i allocated 1G of swap, because my boss said so.  a co-worker then
> told me that the appropriate amount of swap to allocate should be
> twice the ram.  i really don't see the point of having the swap to be
> twice the size of ram, especially since i have 1G of it.  there must
> be a point of diminishing return regarding swap allocation.  is there
> even a point of allocating swap on a system with 1G ram if so what's
> the magic size?

As others have said, you only need what you're going to use and the 2xRAM rule
is largely obsolete these days.  As data points, I run two Linux workstations,
both are configured as development stations using WindowMaker and primarly
run Eterms, XMMS, gcc, and Netscape, plus a horde of dockapps.  The one at
home is set up with 128M RAM + 128M swap; the one at work has 256M RAM and
no swap.  Both work great and never have any memory shortages.

-- 
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton
Geek Code 3.1:  GCS d? s+: a- C++ UL++$ P++>+++ L+++>++++ E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r++ y+



Reply to: