From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 22 00:41:09 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 EBA16106566B for ; Tue, 22 Nov 2011 00:41:09 +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 7323A8FC0A for ; Tue, 22 Nov 2011 00:41:09 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so9659181bkb.13 for ; Mon, 21 Nov 2011 16:41:08 -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=sEGwkh2nTib8g70r7/+SvBscOpxnAMoy7OJ1LMav3Pk=; b=XflsPSHRRa6XhJYcnKKb3nP72dVRsYt9kHhZcAjSIMxn2e17eb9D/tbgiAHDbX1wk6 mMMkr+yP9NxzmGeUzY5w0qwd011zpXSEztmCtadmogkVJT/QmA/6xfhjRjKLKyhrse9W 6v/ejA9VzHlHc2uAV1SL77VYfWIt8pvwxsr5Y= MIME-Version: 1.0 Received: by 10.204.154.77 with SMTP id n13mr16877832bkw.83.1321922468153; Mon, 21 Nov 2011 16:41:08 -0800 (PST) Received: by 10.223.88.72 with HTTP; Mon, 21 Nov 2011 16:41:08 -0800 (PST) In-Reply-To: <6354F6F2-959D-4451-A434-32C5C7335C25@lassitu.de> References: <33122B07-5473-4C84-A89D-B4C2F9677BC0@lassitu.de> <6354F6F2-959D-4451-A434-32C5C7335C25@lassitu.de> Date: Mon, 21 Nov 2011 18:41:08 -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: Tue, 22 Nov 2011 00:41:10 -0000 On Mon, Nov 21, 2011 at 3:25 PM, Stefan Bethke wrote: > > Unfortunately, the process I want to limit is not sufficiently CPU bound > to be limited that way vs. all the other processes. I guess I'll put in a > second disk. > > Well, a couple other suggestions. Have you tried with gsched? It's pretty easy to turn on and might be good enough to keep the system responsive in your workload. Also AFAIK ZFS has a built in scheduler, not sure if it's adequate or tunable. Finally workaround in VirtualBox. The "VBoxManage bandwidthctl" allows you to set bandwidth per disk image. -- Adam Vande More