From owner-freebsd-arch Mon Feb 17 16:27:30 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7CB337B401 for ; Mon, 17 Feb 2003 16:27:29 -0800 (PST) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BBD343FA3 for ; Mon, 17 Feb 2003 16:27:29 -0800 (PST) (envelope-from sam@errno.com) Received: from melange (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.5/8.12.1) with ESMTP id h1I0ROnN032783 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 17 Feb 2003 16:27:24 -0800 (PST)?g (envelope-from sam@errno.com)œ X-Authentication-Warning: ebb.errno.com: Host melange.errno.com [66.127.85.82] claimed to be melange Message-ID: <019101c2d6e4$828cd370$52557f42@errno.com> From: "Sam Leffler" To: "Matthew Dillon" , "Bosko Milekic" Cc: "Andrew Gallatin" , References: <20030216213552.A63109@unixdaemons.com> <15952.62746.260872.18687@grasshopper.cs.duke.edu> <20030217095842.D64558@unixdaemons.com> <200302171742.h1HHgSOq097182@apollo.backplane.com> <20030217154127.A66206@unixdaemons.com> <200302180000.h1I00bvl000432@apollo.backplane.com> Subject: Re: mb_alloc cache balancer / garbage collector Date: Mon, 17 Feb 2003 16:27:24 -0800 Organization: Errno Consulting MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > By creating a thread you are introducing more moving parts, and like > a physical system these moving parts are going to ineract with each > other. Remember, the VM system is *already* trying to ensure that > enough free pages exist in the system. If you have a second thread > eating memory in large globs it is far more likely that you will > destabilize the pageout daemon and create an oscillation between the > two threads (pageout daemon and your balancer). Good point. Trying to reason about the behaviour of the system w/ two (or more) threads trying to do the same/similar work is too hard. Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message