From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 11 18:46:29 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34BCC16A418 for ; Sun, 11 Jun 2006 18:46:29 +0000 (UTC) (envelope-from shadow@psoft.net) Received: from mail.sevcity.net (ns.sevcity.net [193.47.166.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43B6343D6B for ; Sun, 11 Jun 2006 18:46:22 +0000 (GMT) (envelope-from shadow@psoft.net) Received: from mail.sevcity.net (service.sevcity [127.0.0.1]) by mail.sevcity.net (Postfix) with ESMTP id 3CE6D17000A; Sun, 11 Jun 2006 21:48:01 +0300 (EEST) Received: from berloga.shadowland (umka.sevcity.net [193.47.166.138]) by mail.sevcity.net (Postfix) with ESMTP id A52BF170004; Sun, 11 Jun 2006 21:46:46 +0300 (EEST) Received: from berloga.shadowland (berloga.shadowland [127.0.0.1]) by berloga.shadowland (8.12.11.20060308/8.12.11) with ESMTP id k5BIj01W023491; Sun, 11 Jun 2006 21:45:00 +0300 Received: (from root@localhost) by berloga.shadowland (8.12.11.20060308/8.12.11/Submit) id k5BIiuup023487; Sun, 11 Jun 2006 21:44:56 +0300 From: Alex Lyashkov To: Chris Jones In-Reply-To: <1A2863A3-21D6-4F38-AB98-BAB605507095@novusordo.net> References: <1A2863A3-21D6-4F38-AB98-BAB605507095@novusordo.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: Positive Software Message-Id: <1150051496.3315.25.camel@berloga.shadowland> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-17) Date: Sun, 11 Jun 2006 21:44:56 +0300 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-hackers@freebsd.org Subject: Re: Jail-Aware Scheduling X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2006 18:46:29 -0000 =F7 =F7=D3=CB, 11.06.2006, =D7 08:51, Chris Jones =D0=C9=DB=C5=D4: > Hi, folks --- as some of you might know, FreeBSD has a Summer of Code =20 > project to bring resource limits to jails, and one part of that is to =20 > permit an administrator to put limits on a jail's CPU usage. That's =20 > where I come in: I'm the guy doing the project, and I've been =20 > spending the last two weeks coming up to speed on scheduling and the =20 > like. >=20 > What I'd like from freebsd-hackers is the following: >=20 > - are there any good references on scheduling that you know of =20 > which I should read? I've already got Design & Implementation of =20 > FreeBSD and the Petrou / Milford / Gibson and Waldspurger / Weihl =20 > papers on lottery scheduling. >=20 > - what're your thoughts on making the existing scheduler jail-=20 > aware as opposed to writing a sort of 'meta-scheduler' that would =20 > schedule between jails, and then delegate to a scheduler per jail =20 > (which could be very similar, if not identical, to the existing =20 > scheduler)? I've got some very preliminary thoughts on this, but I'd =20 > like to hear what you've got to say, as I'm aware that this is =20 > rather ... complex. >=20 > Thanks, You are look in FreeBSD 4.x vimage project or linux projects (OpenVZ, FreeVPS, Linux-VServer)?=20 other reference can be 'fair share scheduler' where groups equal jail. --=20 FreeVPS Developers Team http://www.freevps.com Positive Software http://www.psoft.net