Re: Maximum swap space?

From: Randy.Dunlap (rddunlap@osdl.org)
Date: Sat Jun 07 2003 - 12:50:00 EST


> I am somewhat confused about how much swap space you can have with a 2.4
> series kernel. If I read the mkswap man page, I get the impression that I
> could have up to 8x2GB of swap space for a total of 16 GB, but reading the
> RedHat reference guide, it says 2GB maximum.
>
> I presume 2.5 kernels have much higher limits?
> --

Hi,

2.5 limits are the same as 2.4.recent AFAIK, but swapfiles in 2.5 work as
well (fast) as swap partitions if I recall Andrew Morton's comments
correctly.

>From http://www.xenotime.net/linux/doc/swap-mini-howto.txt:

3. Swap space limits

Linux 2.4.10 and later, and Linux 2.5 support any combination of swap
files or swap devices to a maximum number of 32 of them. Prior to Linux
2.4.10, the limit was any combination of 8 swap files or swap devices. On
x86 architecture systems, each of these swap areas has a limit of 2 GiB.

~Randy

-
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 : Sat Jun 07 2003 - 22:00:33 EST