Mailinglist Archive: opensuse (4626 mails)

< Previous Next >
Re: [opensuse] Creating a swap file
  • From: Randall R Schulz <rschulz@xxxxxxxxx>
  • Date: Thu, 11 Jan 2007 20:45:16 -0800
  • Message-id: <200701112045.17015.rschulz@xxxxxxxxx>
On Thursday 11 January 2007 19:46, jan kalcic wrote:
> Randall R Schulz wrote:
> > ...
> >
> > There's no fixed relationship and its never strictly necessary to
> > have any swap space at all. Rules of thumb are just that: rough,
> > generic guidelines that may be suitable for some non-negligible
> > fraction of installations, but which cannot possibly be optimum for
> > all but a few particular installations.
>
> That's true, there's no fixed relationship but there's a rule of
> thumb. And rule of thumb is very usefull for almost everybody.

Almost everybody? Unlikely.

If there's a useful rule of thumb, then it would not take the form X *
physical memory for some arbitrary constant X.

Rather, it would be something more like:

P - (K + B + U)

where:

- P is the physical RAM

- K is the minimal kernel requirements

- B is the baseline memory requirements defined by the ordinary
operating configuration, including things like fixed system services,
server processes (Apache, NFS servers, Tomcat, SSH daemon, etc.)
selected by the configuring user, the GUI subsystem requirements and
other programs that must run just to get the expected user base logged
in and running

- U is the amount of memory required to run the set of concurrently
running programs that characterize the typical users' application mix.


It will be the rare system for which this equals 2 * P (or any other
fixed multiple of P).


> ...


Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups