I recently changed the swap backoff algorithm in -current and the
    MFC is slated for -stable.

    Try this change and see if it produces better results.

                                                -Matt

Index: label.c
===================================================================
RCS file: /home/ncvs/src/release/sysinstall/Attic/label.c,v
retrieving revision 1.98.2.12
diff -u -r1.98.2.12 label.c
--- label.c     3 Jul 2002 00:01:08 -0000       1.98.2.12
+++ label.c     4 Jul 2002 04:39:03 -0000
@@ -1228,7 +1228,7 @@
                def = SWAP_MIN_SIZE * ONE_MEG;
            if (def > SWAP_AUTO_LIMIT_SIZE * ONE_MEG)
                def = SWAP_AUTO_LIMIT_SIZE * ONE_MEG;
-           nom = (int)(physmem / 512) / 2;
+           nom = (int)(physmem / 512) / 8;
            sz = nom + (def - nom) * perc / 100;
        }
        swap_chunk = Create_Chunk_DWIM(label_chunk_info[here].c->disk, 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to