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

Re: [Debian] max. swap size?



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
You can use 16 swqap spaces simultaneously, for a total of almost
2 GB.
please try 
`man mkswap'	e.g. mkswap/extra-swap 1024
`man swapon'	e.g. swapon/extra-swap
for more information
-- 
Cheers
   Peter


Reply to: