On Thu, 02 November 2000, Larry Marshall wrote:
>
> > Check your 'man swap' and you will find they say 128 MB. You can have up
> > to 8 swap partitions (16 according to the LPI study guide).
>
> Uhm...under what conditions? Swap isn't a single number, it's dependent
> upon OS use of swap space, the size and number of apps being run, etc. If you
> auto-allocate a 128m memory machine using Mandrake installer it
> will give you 250m of swap.
>
> Cheers --- Larry
Here is what I have been reading.
Running Linux, Pg 52 - A single swap file or partition may be up to 128MB
(more with the latest kernels).* If you wish to use more then 128MB of swap
(hardly ever necessary), you can create multiple swap partitions or files - up
to 16 in all. For example, if you need 256MB of swap, you can create two
128MB swap partitions.
*This value applies to machines with Intel processors. On other architectures
like Alpha, it can be higher.
LPI Prep Kit General Linux I, Pg 48 - Your swap partition should be twice the
amount of physical RAM installed on your system. The maximum size of a swap
partition is 128MB, but you can have up to 16 separate swap partitions. The
recommended minimum size is 16MB for the operating system to function at its
best.
man mkswap - With S=4096 (as on i386), the useful area is at most
133890048 bytes (almost 128MiB), and the rest is wasted.
What I get from all this Larry is that for the i386 based machines, the general
rule of thumb is double the RAM up to 128MB of swap. If your resource
monitoring shows a high useage level for the swap, add another.
Barry :-)
________________________________________
Surfree.com - nationwide internet access
http://www.surfree.com