From owner-freebsd-jail@FreeBSD.ORG Thu Jul 3 10:01:31 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E36EF1065677 for ; Thu, 3 Jul 2008 10:01:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9BF9D8FC0C for ; Thu, 3 Jul 2008 10:01:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id D53F919E019; Thu, 3 Jul 2008 12:01:29 +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 605AA19E023; Thu, 3 Jul 2008 12:01:27 +0200 (CEST) Message-ID: <486CA390.9020109@quip.cz> Date: Thu, 03 Jul 2008 12:01:52 +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: Christopher Thunes References: <48616B3F.4030705@brewtab.com> In-Reply-To: <48616B3F.4030705@brewtab.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Memory limits on 7.0 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 10:01:32 -0000 Christopher Thunes wrote: > Hey everyone, > I spent some time working on getting cdjones' memory limit patches > updated for 7.0 and beyond and thought I'd post my progress. I've > attached my current patch which implements memory limits on 7.0-RELEASE, > but only for the older (and default in -RELEASE) bsd4 scheduler (won't > work at all on ULE). I haven't yet started work for ULE or getting CPU > sharing working. This patch also includes fixes for problems in the > original cdjones patches. If you want to give it a whirl it should apply > cleanly to a 7.0-RELEASE source tree and if you run into any issues let > me know. Thanx for you work, I put it on Jails wiki! I hope I'll give it a try in next week after I setup new testing machine with ZFS, 4GB of RAM and lot of jails for testing :) Do you plan to work on ULE version? (AFAIK ULE will be default for next release) Miroslav Lachman