Re: Swap size for a machine with 2GB of memory

From: Eric S. Raymond (esr@thyrsus.com)
Date: Sun Aug 19 2001 - 16:15:58 EST


Eric W. Biederman <ebiederm@xmission.com>:
> 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.

That's helpful, thanks.

-- 
		<a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a>

Never trust a man who praises compassion while pointing a gun at you. - 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