Re: Swap area: why not more than 128M each?

Chris Wedgwood (cw@ix.net.nz)
Fri, 13 Mar 1998 12:18:30 +1300


From: Lagos Munoz Leonardo Alberto <LLagos@entel.cl>
To: "'linux-admin@vger.rutgers.edu'" <linux-admin@vger.rutgers.edu>,
"'linux-kernel@vger.rutgers.edu'" <linux-kernel@vger.rutgers.edu>
Subject: Swap area: why not more than 128M each?
Date: Thu, 12 Mar 1998 17:55:25 -0400

Hi,

i just want to know why a swap partition can not be greater than 128M.
Well, actually, it can be, but linux will only use 128M.

Thanks,

Leo

Another one for the linux-kernel FAQ (that doesn't exist... volunteers?)

[I could be wrong]

Linux uses one 4k page/swap to keep track of which pages are uses. One page
has 4096 bytes (on the Intel), 8 bits per byte.

(4096 * 8 * 4096) -> 128MB.

Now - presumably on the Alpha with 8K pages it is 4 times this?

-cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu