From owner-soc-status@FreeBSD.ORG Sat Aug 14 22:36:31 2010 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CC7C1065697; Sat, 14 Aug 2010 22:36:31 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id D9F308FC15; Sat, 14 Aug 2010 22:36:30 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id E74E014DC658; Sun, 15 Aug 2010 00:36:28 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MxIufuVzR5tT; Sun, 15 Aug 2010 00:36:26 +0200 (CEST) Received: from [192.168.1.105] (catv-80-99-92-167.catv.broadband.hu [80.99.92.167]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 7AF0514DC548; Sun, 15 Aug 2010 00:36:26 +0200 (CEST) Message-ID: <4C671A66.5090700@FreeBSD.org> Date: Sun, 15 Aug 2010 00:36:22 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: soc-status@freebsd.org References: <4C1BCB96.4040608@FreeBSD.org> <4C21CAF0.2040607@FreeBSD.org> <4C230A0B.3080700@FreeBSD.org> <4C2761B8.9030800@FreeBSD.org> <4C30B90F.9040703@FreeBSD.org> In-Reply-To: <4C30B90F.9040703@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: =?UTF-8?B?RWR3YXJkIFRvbWFzeiBOYXBpZXJhxYJh?= Subject: Collective resource limits - final status report X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2010 22:36:31 -0000 The code has been merged to Edward's hrl and containers work and now uses containers to usage accounting. The kernel-level support is ready for basic system calls to deal with jobs and JLIMIT_NUMPROC is completely ready. Other resource limits have the code to count the usage through containers but actual usage enforcement is not complete. The test suite has support for creating a job, adding processes by forking, starting a shell imprisoned to a job and setting various resource limits but resource consumption is mostly incomplete. The userland support also need to be done. So my current TODO list is the following: - Complete limit enforcement for all limits - Complete test suite with resource consumption, so that the limit enforcement can be tested thoroughly - Add userland support for various databases so that it can be used just like in IRIX. Also add support to various utilities, like ps to list processes inside a specific job. Soon, I'm leaving to Portugal for a one-year intership and this will take some preparations and then I'll have to settle down there but once it's done (around Sep 20-25 as I expect) I'll continue working on this project. Gabor