From owner-cvs-all Thu Feb 18 11:58:23 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2BF551185B; Thu, 18 Feb 1999 11:57:34 -0800 (PST) (envelope-from dillon@FreeBSD.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id LAA90564; Thu, 18 Feb 1999 11:57:34 -0800 (PST) (envelope-from dillon@FreeBSD.org) Message-Id: <199902181957.LAA90564@freefall.freebsd.org> From: Matt Dillon Date: Thu, 18 Feb 1999 11:57:33 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm swap_pager.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 1999/02/18 11:57:33 PST Modified files: sys/vm swap_pager.c Log: Limit number of simultanious asynchronous swap pager I/Os that can be in progress at any given moment. Add two swap tuneables to sysctl: vm.swap_async_max: 4 vm.swap_cluster_max: 16 Recommended values are a cluster size of 8 or 16 pages. async_max is about right for 1-4 swap devices. Reduce to 2 if swap is eating too much bandwidth, or even 1 if swap is both eating too much bandwidth and sitting on a slow network (10BaseT). The defaults work well across a broad range of configurations and should normally be left alone. Revision Changes Path 1.114 +109 -13 src/sys/vm/swap_pager.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message