[comp.unix.questions] UNIX SWAP SIZE

rvp@softserver.canberra.edu.au (Rey Paulo) (05/24/91)

I know it depends on a lot of factors but anyway let me ask my 
question.

Is there any rule of thumb that can be used to determine the size
of the swap partition or partitions of a particular UNIX 
installation?

Thanks.
-- 
Rey V. Paulo                  | Internet:  rvp@csc.canberra.edu.au 
University of Canberra        | I am not bound to please thee with my answer. 
AUSTRALIA                     |         -Shylock, in "The Merchant of Venice" 
------------------------------+----------------------------------------------

geoffg@sigma21.oz.au (Geoffrey R Graham) (05/25/91)

rvp@softserver.canberra.edu.au (Rey Paulo) writes:

>Is there any rule of thumb that can be used to determine the size
>of the swap partition or partitions of a particular UNIX 
>installation?

The "official" rule of thumb (from AT&T for System V Rel 4) is that the
minimum swap partition size should be twice the size of physical memory
on the system.

You could also calculate swap by multiplying the number of users by the
expected swap requirement per user.  This requirement ranges from under
1Mb for each light user to over 5Mb for each heavy user (eg. Oracle
Financials or X-Windows).

If in doubt always allocate more than you think you will need.
----
Geoff Graham                                     Usenet: geoffg@sigma21.oz.au
Sigma Data Corporation               AT&T Mail: internet!sigma21.oz.au!geoffg
Western Australia                 Phone +61 9 321 1116     FAX +61 9 321 9178
-- 
Geoff Graham                                     Usenet: geoffg@sigma21.oz.au
Sigma Data Corporation               AT&T Mail: internet!sigma21.oz.au!geoffg
Western Australia                 Phone +61 9 321 1116     FAX +61 9 321 9178