From owner-freebsd-current Wed Dec 26 11:33:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 412B837B405; Wed, 26 Dec 2001 11:33:35 -0800 (PST) Received: from 1cust163.tnt1.ogden.ut.da.uu.net ([63.39.40.163] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16JJnx-0007Ap-00; Wed, 26 Dec 2001 11:33:33 -0800 Message-ID: <3C2A260E.D7F6E2CC@mindspring.com> Date: Wed, 26 Dec 2001 11:33:34 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Luigi Rizzo Cc: John Baldwin , Bruce Evans , current@FreeBSD.org, Peter Wemm Subject: Re: vm_zeropage priority problems. References: <20011222023741.P5064-100000@gamplex.bde.org> <20011221095058.A17968@iguana.aciri.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Luigi Rizzo wrote: > > Don't know how interesting this can be, but i am writing > (no plans to commit it, unless people find it interesting) > some code to implement a weight-based instead of priority-based > scheduler. The code is basically the WF2Q+ scheme which is > already part of dummynet, adapted to processes. > It is quite compact, and i think i can make it reasonably > compatible with the old scheme, i.e. a sysctl var can be > used to switch between one and the other with reasonably > little overhead. > > This would help removing the ugly property that priority-based > have, which is that one process can starve the rest of the system. Look for "QLINUX". There's a nice paper on "Weighted Fair Share" scheduling referenced on the page, as well as a couple of LRP references. Note that someone recently did a port of the LRP + Resource Containers code to FreeBSD 4.4 (Terrible Rice Univeristy License, though). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message