"Eric S. Raymond" <esr@thyrsus.com> writes:
> The Red Hat installation manual claims that the size of the swap partition
> should be twice the size of physical memory, but no more than 128MB.
>
> The screaming hotrod machine Gary Sandine and I built around the Tyan S2464
> has 2GB of physical memory. Should I believe the above formula? If not,
> is there a more correct one for calculating needed swap on machines with
> very large memory?
There is no magic formula for calculating the amount of swap space
needed. It really needs to be sized to the expected load on your box
plus some. If you seriously expect to be using swap, have swapsize >
memsize and figure the amount of virtual memory you have is swapsize.
With respect to swap partitions the current limit is about 64Gig.
You can actually make a larger swap partition but the kernel on x86
only uses 24 offset bits into that partition. The 128MB partition
existed but was removed long ago.
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:32 EST