From owner-freebsd-chat@FreeBSD.ORG Sat Jan 17 16:48:06 2004 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA73716A4CE for ; Sat, 17 Jan 2004 16:48:06 -0800 (PST) Received: from tx3.oucs.ox.ac.uk (tx3.oucs.ox.ac.uk [163.1.2.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01DE043D1F for ; Sat, 17 Jan 2004 16:48:03 -0800 (PST) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from scan3.oucs.ox.ac.uk ([163.1.2.166] helo=localhost) by tx3.oucs.ox.ac.uk with esmtp (Exim 4.20) id 1Ai16f-0007aX-PX for freebsd-chat@freebsd.org; Sun, 18 Jan 2004 00:48:01 +0000 Received: from rx3.oucs.ox.ac.uk ([163.1.2.165]) by localhost (scan3.oucs.ox.ac.uk [163.1.2.166]) (amavisd-new, port 25) with ESMTP id 28769-08 for ; Sun, 18 Jan 2004 00:48:01 +0000 (GMT) Received: from gateway.wadham.ox.ac.uk ([163.1.161.253]) by rx3.oucs.ox.ac.uk with smtp (Exim 4.20) id 1Ai16f-0007aT-C8 for freebsd-chat@freebsd.org; Sun, 18 Jan 2004 00:48:01 +0000 Received: (qmail 24061 invoked by uid 0); 18 Jan 2004 00:48:01 -0000 Received: from colin.percival@wadham.ox.ac.uk by gateway by uid 71 with qmail-scanner-1.16 (sweep: 2.14/3.71. spamassassin: 2.53. Clear:. Processed in 3.079248 secs); 18 Jan 2004 00:48:01 -0000 X-Qmail-Scanner-Mail-From: colin.percival@wadham.ox.ac.uk via gateway X-Qmail-Scanner: 1.16 (Clear:. Processed in 3.079248 secs) Received: from dhcp1131.wadham.ox.ac.uk (HELO piii600.wadham.ox.ac.uk) (163.1.161.131) by gateway.wadham.ox.ac.uk with SMTP; 18 Jan 2004 00:47:58 -0000 Message-Id: <6.0.1.1.1.20040118004459.03fe6c10@imap.sfu.ca> X-Sender: cperciva@imap.sfu.ca (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Sun, 18 Jan 2004 00:47:49 +0000 To: Jeremy Faulkner From: Colin Percival In-Reply-To: <4009D71E.3020209@gldis.ca> References: <6.0.1.1.1.20040116175159.03f4dd48@imap.sfu.ca> <6.0.1.1.1.20040118000417.02bbee70@imap.sfu.ca> <4009D71E.3020209@gldis.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-chat@freebsd.org Subject: Re: Good BSD/Linux Article (somewhat off-topic) X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 00:48:06 -0000 At 00:45 18/01/2004, Jeremy Faulkner wrote: >Colin Percival wrote: > > Actually, this raises an interesting point -- if >>1. There is a significant amount of network traffic, >>2. There is memory pressure, and >>3. There are several runnable processes, >>it might be a good idea to give scheduling priority to the oldest >>process, in the hope that it will complete and free its memory. >>Colin Percival > >dnetc and seti would be the oldest process on some machines. So making >this a mandatory setting would be counter productive. You're absolutely right -- s/oldest process/oldest process which started within the past 5 seconds/ would probably be more appropriate. (And, for bonus points, we could make this behaviour depend upon a global variable which would be set by network drivers if they detected the string "slashdot" within any incoming packets...) Colin Percival