From owner-freebsd-bugs Tue Dec 2 17:20:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA22849 for bugs-outgoing; Tue, 2 Dec 1997 17:20:07 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA22808; Tue, 2 Dec 1997 17:20:02 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 2 Dec 1997 17:20:02 -0800 (PST) Resent-Message-Id: <199712030120.RAA22808@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, dillon@best.net Received: from flea.best.net (root@flea.best.net [206.184.139.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA22342 for ; Tue, 2 Dec 1997 17:14:16 -0800 (PST) (envelope-from dillon@flea.best.net) Received: (from dillon@localhost) by flea.best.net (8.8.7/8.7.3) id RAA17646; Tue, 2 Dec 1997 17:14:06 -0800 (PST) Message-Id: <199712030114.RAA17646@flea.best.net> Date: Tue, 2 Dec 1997 17:14:06 -0800 (PST) From: Matt Dillon Reply-To: dillon@best.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/5197: Idle-swapout / swapper ineffective Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 5197 >Category: kern >Synopsis: The swapper is ineffective >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 2 17:20:00 PST 1997 >Last-Modified: >Originator: Matt Dillon >Organization: Best Internet Communications >Release: FreeBSD 2.2.5-STABLE i386 >Environment: FreeBSD 2.2.5 >Description: The swapper (verses the pager) is somewhat ineffective, activating only during a severe memory shortfall. The only current way to tune swap operation is via vm.v_free_target, but setting it high enough to cause swapping tends to result in too much swapping. i.e. the parameter is too sensitive when it comes to the swapping code (verses the paging code). >How-To-Repeat: n/a >Fix: It would be useful to have the vm_pageout code swap out processes idle over N seconds, where N is programmable via a sysctl. In fact, if this were in place I would almost consider removing the 'severe memory shortfall activates swapper' code. >Audit-Trail: >Unformatted: