From owner-freebsd-current@FreeBSD.ORG Wed Oct 7 09:35:48 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BAD1106566B; Wed, 7 Oct 2009 09:35:48 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0A7138FC19; Wed, 7 Oct 2009 09:35:47 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 1F48A19E027; Wed, 7 Oct 2009 11:35:46 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 7FE1A19E023; Wed, 7 Oct 2009 11:35:43 +0200 (CEST) Message-ID: <4ACC60EF.50104@quip.cz> Date: Wed, 07 Oct 2009 11:35:43 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Tom Judge References: <4ACA0549.7030404@tomjudge.com> <4ACBF147.1030002@tomjudge.com> In-Reply-To: <4ACBF147.1030002@tomjudge.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: Per Jail Memory Limits X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 07 Oct 2009 09:35:48 -0000 Tom Judge wrote: > So I have worked up some thing usable fore us based on the 7.0 code from > the wiki. > > This patch is for 7.1 in implements both soft and hard memory limits. > > Details are here: > http://www.tomjudge.com/index.php/FreeBSD/Jails/MemoryLimits > > Changes that add supporting infrastructure for cpu limiting are in the > patch but changes to the schedulers have not been included. If you need > the scheduling support you will need to patch sched_4bsd with the code > from the original patch set here: > > http://lists.freebsd.org/pipermail/freebsd-jail/2008-June/000333.html > > Hope this is useful for some people. I added links to this thread and to your patch into wiki page http://wiki.freebsd.org/Jails. I hope it will help people to find your work. Do you plan to make it for 7.2 and other future releases? Miroslav Lachman