From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 21 18:59:45 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 B680F106566B for ; Mon, 21 Nov 2011 18:59:45 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 498398FC2B for ; Mon, 21 Nov 2011 18:59:45 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so9262378bkb.13 for ; Mon, 21 Nov 2011 10:59:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CdU08Kw6H5cZM8QrIU2ITidTTFdpzfEKvwBVLZOZJnU=; b=eE931j+TV57SpNyUpmKeobgf09qBtGUyEQWaI6A9+BigDGCrlzrQeU8fxD3RFE3rE9 F1XUnhyY4Go6V8ArSLYDkpr5+U7HV7pUyjCChC377NWYiUYZ69VTSvSS3HkaeF8/ic1d pbMT6KXKXVu9au0vGBSuWm+vE3LXUmUW+R/XQ= MIME-Version: 1.0 Received: by 10.204.9.209 with SMTP id m17mr15569383bkm.101.1321900349366; Mon, 21 Nov 2011 10:32:29 -0800 (PST) Received: by 10.223.88.72 with HTTP; Mon, 21 Nov 2011 10:32:29 -0800 (PST) In-Reply-To: References: Date: Mon, 21 Nov 2011 12:32:29 -0600 Message-ID: From: Adam Vande More To: Stefan Bethke Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 18:59:45 -0000 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? > > This is on 8-stable (but will upgrade to 9 soon) on ZFS. > > 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. > http://wiki.freebsd.org/Hierarchical_Resource_Limits -- Adam Vande More