🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36270

Re: INN 2.2, RAM, Solaris, Swapfiles, partitions

#36270
From: Russ Allbery
Date: Tue, 30 Mar 1999 00:00
38 lines
2545 bytes
Ricardo Stella <stellaNO-SPAM@poseidon.rider.edu> writes:
> Russ Allbery wrote:

>> 4x memory is probably excessive for most Solaris machines.

> Well, that was my Sun Certified Educator told me when I was getting
> certified, and a couple of other Admins (not related to the Educator).

I have a very low opinion of your Sun Certified Educator.  The other
admins have the excuse that this used to be true for a very long time due
to the BSD mechanism for allocating swap and was true of SunOS.  (And when
I refer to SunOS, I mean SunOS 4; I say Solaris when referring to SunOS 5.
That's the common way of designating the operating systems, at least among
all the people I talk to regularly.)  A Certified Educator should know
better.

As other people have pointed out, you do want *some* swap so that the
system can more effectively use physical memory for the file system cache,
but under any current version of Solaris, none is required and you
generally don't need very much.  Swap is only useful if you have running
programs that go idle and can be swapped out for extended periods of time.
This isn't the case on, say, a news server, where most of what's running
is going to be running all the time and you don't want or expect it to
swap out.

In those cases, you want to add up the memory usage of all of your running
processes (taking into account expire!), add a bit for overhead, and
ideally install that much physical memory, with some amount of swap for
emergencies and to let the system swap out those few processes that aren't
active.  My server is currently running with 512MB of physical memory and
256MB of swap because when I was building it originally I ended up using a
1GB system disk.  It's not having any difficulties at all in that
configuration.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylzp4v9z2o.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7dg9a7$pbq$1@ultranews.duc.auburn.edu> <36FBF208.1A834FCB@rider.edu> <yl90cjew76.fsf@windlord.stanford.edu> <36FFC209.2A8527BD@rider.edu>

Show Full Headers
Complete Article Headers
Message-ID: <ylzp4v9z2o.fsf@windlord.stanford.edu>
Subject: Re: INN 2.2, RAM, Solaris, Swapfiles, partitions
Date: Tue, 30 Mar 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <7dg9a7$pbq$1@ultranews.duc.auburn.edu> <36FBF208.1A834FCB@rider.edu> <yl90cjew76.fsf@windlord.stanford.edu> <36FFC209.2A8527BD@rider.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 460679744
Organization: The Eyrie
Newsgroups: news.software.nntp