RE: 2.4 and 2GB swap partition limit

From: Matt_Domsch@Dell.com
Date: Sun Mar 04 2001 - 17:04:52 EST


> > > Linus has spoken, and 2.4.x now requires swap = 2x RAM.
> >
> > I think I missed this. What possible value does this have?

A good write-up of the discussion can be found at:
http://kt.zork.net/kernel-traffic/kt20010126_104.html#2

My concern is that if there continues to be a 2GB swap partition/file size
limitation, and you can have (as currently #defined) 8 swap partitions,
you're limited to 16GB swap, which then follows a max of 8GB RAM. We'd like
to sell servers with 32GB or 64GB RAM to customers who request such for
their applications. Such customers generally have no problem purchasing
additional disks to be used for swap, likely on a hardware RAID controller.

We've also seen (anecdotal evidence here) cases where a kernel panics, which
we believe may have to do with having 0 < swap < 2x RAM. We're
investigating further.

> Actually the deal is: either use enough swap (about 2x RAM) or use
> none at all.

If swap space isn't required in all cases, great! We'll encourage the use
of swap files as needed, rather than swap partitions. But, if instead you
*require* swap = 2x RAM, then the 2GB swap size limitation must go.

Thanks,
Matt
        

-- 
Matt Domsch
Dell Linux Systems Group
Linux OS Development
www.dell.com/linux
-
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 : Wed Mar 07 2001 - 21:00:16 EST