In <Pine.LNX.4.10.10004291706440.519-100000@localhost.localdomain> Mark Zealey (kernel@itsolve.co.uk) wrote:
> On Sat, 29 Apr 2000, Riley Williams wrote:
>> 1. /dev/hda1 is a Linux Swap partition of just under 128M
>> (not more than 130,950 blocks) in size, starting at
>> cylinder 1.
> Just a question, but why the 128M limit? That's not the limit on memory,
> so it's not about page allocation. I would gladly create 1*1Gb swap
> partition, rather than 8*128Mb.
Long time ago first page of swap contained signature 10 bytes long in the end
of first page and the rest of that page was devoted to bit map (bit 1 == page
usable, bit 0 == page unusable). First page was thus unavailable as well
(there is bit map and signature) maxsize=4096*((4096-10)*8-1)=133885952 bytes
Now (with kernel 2.2 and up) limit is raised to 2146791424 bytes so I REALLY
see no reason to use 8*128MiB swap partitions... Perhaps Riley still can not
forget about 2.0 compatibility...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:17 EST