Max size of swapspace - 2GB?

Fraser Campbell fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Mon Aug 22 18:53:34 UTC 2005


Hi,

I have been creating >2GB swapspaces for quite a while.  Recently I read 
the manpage:

     The maximum useful size of a swap area now depends on the
     architecture.  It is roughly  2GiB on  i386,  PPC,  m68k, ARM, 1GiB
     on sparc, 512MiB on mips, 128GiB on alpha and 3TiB on sparc64.

As a test I just created a 3GB swapspace (single logical volume) and 
then had a few programs suck up all the RAM.  I saw 3GB of real RAM used 
and 3GB of swapspace used before the server ran out of memory.

Based on my test I assume that the manpage is just out of date, or am I 
missing something?  My test was with 2.6.5 kernel (SuSE 9).

Thanks,
Fraser

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list