Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Oct 2009 20:48:49 +0000
From:      Tom Judge <tom@tomjudge.com>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-current@FreeBSD.org, freebsd-jail@FreeBSD.org
Subject:   Re: Per Jail Memory Limits
Message-ID:  <4ACCFEB1.1010306@tomjudge.com>
In-Reply-To: <4ACC60EF.50104@quip.cz>
References:  <4ACA0549.7030404@tomjudge.com> <4ACBF147.1030002@tomjudge.com> <4ACC60EF.50104@quip.cz>

index | next in thread | previous in thread | raw e-mail

Miroslav Lachman wrote:
> 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?
Thanks for adding it to the wiki.

It should be simple to apply to 7.2,  I can try to knock out a patch in 
my spare time for this.

However at this time I have no plans to take this any further, it seems 
plenty of people are working on this problem.  Maybe one day there will 
be an in tree solution.

Tom






home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ACCFEB1.1010306>