From owner-freebsd-arch@FreeBSD.ORG Thu Jun 8 13:46:17 2006 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9EA316C646; Thu, 8 Jun 2006 11:32:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 384B243D5C; Thu, 8 Jun 2006 11:32:43 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 6E79146BB8; Thu, 8 Jun 2006 07:32:42 -0400 (EDT) Date: Thu, 8 Jun 2006 12:32:42 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Brooks Davis In-Reply-To: <20060607160850.GB18940@odin.ac.hmc.edu> Message-ID: <20060608123125.W26068@fledge.watson.org> References: <1149610678.4074.42.camel@berloga.shadowland> <448633F2.7030902@elischer.org> <20060607095824.W53690@fledge.watson.org> <200606070819.04301.jhb@freebsd.org> <20060607160850.GB18940@odin.ac.hmc.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Alex Lyashkov , Julian Elischer , freebsd-arch@freebsd.org Subject: Re: jail extensions X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2006 13:46:17 -0000 On Wed, 7 Jun 2006, Brooks Davis wrote: > It's not clear to me that we want to use the same containers to control all > resouces since you might want a set of jails sharing IPC resources or being > allocated a slice of processor time to divide amongst them selves if we had > a hierarchical scheduler. That said, using a single prison structure could > do this if we allowed the administrator to specifiy a hierarchy of prisons > and not necessicairly enclose all resources in all prisons. When looking at improved virtualization support for things like System V IPC, my opinion has generally been that we introduce virtualization as a primitive, and then have jail use the primitive much in the same way it does chroot. This leaves flexibility to use it without jail, etc, but means we have a well-understood and well-defined interaction with jail. Robert N M Watson