[Nottingham] size of swap partition

Peter Woods nottingham at mailman.lug.org.uk
Mon Jan 20 20:25:01 2003


>Got a PC with 1 Gig RAM and I'm confused
about the different suggestions
>regarding swap size. When I had 256 M RAM I
did a swap partition of 512.
>But what sort of size should I allocate when
having 1 Gig of RAM? Double?

>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.

To put it the other way round: since 2.4.10,
the kernel will be ok with no swap at all.
It is accepted, it works for me, but I can't
comment on how well it works.
Having no swap is better for security (I
read.)

Pete

Peter Woods LUG Mail Newbie