[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian] max. swap size?



On Mon, Nov 16, 1998 at 10:33:47PM +0100, Peter Berlau wrote:
> On Mon, Nov 16, 1998 at 06:18:04PM +0100, Nico De Ranter wrote:
> > 
> > Howdy,
> > 
> > I installed a PC with 128MB of RAM running Linux kernel 2.0.34
> > I added the append="mem=128M" line to lilo.conf so the system
> > realy sees 128M of RAM.  Since I normaly use the rule SWAP=MEM*2
> > on SUN and SGI I created a swappartition of 256MB and did mkswap
> > and... got only 130MB.  Why can't I use 256MB of swap?
> > 
> hi Nico
> Linux can per default only handle swap-partitions <= 128 MB
> if You need more swap-space You must add more than one swap-
> partition,
> also You must check the priority of swap-partition
> the actual limit of swap space is
> (4096 -10)  * 8 * 4096 = 133890048 bytes or 127.6875 Megabytes

The latest 2.1 kernels raise this to just shy of 2GB :-)

You will need a new version of util-linux which I am about to do an NMU of -
util-linux-2.9e-0.1 will be the name.

Cheers

Adrian

email: adrian.bridgett@zetnet.co.uk, http://www.poboxes.com/adrian.bridgett
Windows NT - Unix in beta-testing.   PGP key available on public key servers
Avoid tiresome goat sacrifices  -=-  use Debian Linux http://www.debian.org


Reply to: