From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 21 19:58:25 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 473DA1065670 for ; Mon, 21 Nov 2011 19:58:25 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7188FC24 for ; Mon, 21 Nov 2011 19:58:25 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 4B0E274EFD; Mon, 21 Nov 2011 20:58:24 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=iso-8859-1 From: Stefan Bethke In-Reply-To: Date: Mon, 21 Nov 2011 20:58:23 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Adam Vande More X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-hackers@freebsd.org Subject: Re: Limiting disk I/O by jail or uid? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2011 19:58:25 -0000 Am 21.11.2011 um 19:32 schrieb Adam Vande More: > On Mon, Nov 21, 2011 at 11:47 AM, Stefan Bethke = wrote: > I have a process that tends to eat up all available disk bandwidth. I = have other processes that I would like to have preference over this one = process. Is there a facility that would allow me to assign priorities = based on jail ID or uid? >=20 > This is on 8-stable (but will upgrade to 9 soon) on ZFS. >=20 > The straightforward solution is to separate the datasets onto their = own disks, which I'm planning to do, but a software facility would be = that much more flexible. >=20 > =20 > http://wiki.freebsd.org/Hierarchical_Resource_Limits Interesting, but it doesn't seem to offer limiting the I/O bandwidth = induced by a process or jail, or assigning different priorities, which = would need to be implemented in the ZFS or GEOM schedulers, I suppose. Stefan --=20 Stefan Bethke Fon +49 151 14070811