From owner-freebsd-current Sun Jan 26 13:27:13 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5F1037B401 for ; Sun, 26 Jan 2003 13:27:12 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id F152243F13 for ; Sun, 26 Jan 2003 13:27:11 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.6/8.12.6) with ESMTP id h0QLRB0i068784; Sun, 26 Jan 2003 13:27:11 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.6/8.12.6/Submit) id h0QLRBMJ068783; Sun, 26 Jan 2003 13:27:11 -0800 (PST) Date: Sun, 26 Jan 2003 13:27:11 -0800 (PST) From: Matthew Dillon Message-Id: <200301262127.h0QLRBMJ068783@apollo.backplane.com> To: Garance A Drosihn Cc: Terry Lambert , current@FreeBSD.ORG Subject: Re: "A"utodefaults in disklabel on 5.0dp2 install References: <3DDF5106.7469FBA@mindspring.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message