From owner-freebsd-current@FreeBSD.ORG Sun Apr 20 17:28:49 2003 Return-Path: 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 1F13C37B401; Sun, 20 Apr 2003 17:28:48 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C1B843FB1; Sun, 20 Apr 2003 17:28:48 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by rwcrmhc52.attbi.com (rwcrmhc52) with ESMTP id <20030421002847052001ip11e>; Mon, 21 Apr 2003 00:28:47 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA84156; Sun, 20 Apr 2003 17:28:45 -0700 (PDT) Date: Sun, 20 Apr 2003 17:28:42 -0700 (PDT) From: Julian Elischer To: Matthew Dillon In-Reply-To: <200304201924.h3KJOxWo090302@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: David Schultz cc: freebsd-current@freebsd.org Subject: Re: Broken memory management on system with no swap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 00:28:49 -0000 On Sun, 20 Apr 2003, Matthew Dillon wrote: > note (1): normally act_count protects against thrashing. It is the > active queue's act_count algorithm which gives FreeBSD's such a nice > smooth degredation curve when memory loads become extreme by preventing > a frequently accessed page from being freed too early, so we don't > want to just turn it off. Maybe we need a test for 'too many active > pages', aka when > 80% of available pages are in the active queue > to temporarily disable the act_count test. I guess just raising the bar as to what a page needs, to be considdered "active" would have that effect.