Big Swap...

From: Robert Dinse (nanook@eskimo.com)
Date: Fri Jan 14 2000 - 02:31:44 EST


     I thought I remembered seeing something here a while back about a utility
to make large swap partitions.

     I'm running into a bit of a problem related to swap, according to the man
page for mkswap:

       The MINCOUNT and MAXCOUNT values for a swap area are:

              MINCOUNT = 10 * PAGE_SIZE / 1024
              MAXCOUNT = (PAGE_SIZE - 10) * 8 * PAGE_SIZE / 1024

       For example, on a machine with 4kB pages (e.g., x86), we
       get:

              MINCOUNT = 10 * 4096 / 1024 = 40
              MAXCOUNT = (4096 - 10) * 8 * 4096 / 1024 = 130752

     However, on a Sun 4/670MP, which is sun4m architecture and I thought was
8k pages; it will not let me make a swap partition bigger than 130752k as if it
has 4k pages when it should let me make 523648k swap partitions. Eight of
those would just about get me where I need to be on this particular machine.

     I've got 2.2.14 on this box, can anybody tell me what I've got to do to
make bigger than 130MB swap partitions? Thanks.

     If I need a newer, bigger, better utility, where to get it would also be
appreciated.

-
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 : Sat Jan 15 2000 - 21:00:23 EST