From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 24 08:44:10 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 544BE106564A for ; Thu, 24 Nov 2011 08:44:10 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id D0D918FC13 for ; Thu, 24 Nov 2011 08:44:09 +0000 (UTC) Received: by faap15 with SMTP id p15so3775013faa.13 for ; Thu, 24 Nov 2011 00:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=3ioXrVI/OnGOer7ObwC/BaaaIISPOB20NmrN7mDA3J4=; b=ateqFatJLfZ0g0jLtSNdYG7yPhx5IGf7/VoFjjHYUjbpZHMyzkuX0wTuGJOzT3GwHa ODBxPeVSpnoiTx7tNEnjBuXV8imgbeWlrYrX4esoZDjO0ctTgV7angMm4BLZMjD3TbvM plavYgdIYNyX/Jbmw86N7n48YhyMUswoeKSSw= Received: by 10.180.85.4 with SMTP id d4mr12553889wiz.19.1322122547850; Thu, 24 Nov 2011 00:15:47 -0800 (PST) Received: from DataIX.net (ppp-21.212.dialinfree.com. [209.172.21.212]) by mx.google.com with ESMTPS id j5sm9124581wix.20.2011.11.24.00.15.41 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 24 Nov 2011 00:15:45 -0800 (PST) Sender: Jason Hellenthal Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id pAO8FZcx011077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 24 Nov 2011 03:15:36 -0500 (EST) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id pAO8FWMf011076; Thu, 24 Nov 2011 03:15:32 -0500 (EST) (envelope-from jhell@DataIX.net) Date: Thu, 24 Nov 2011 03:15:32 -0500 From: Jason Hellenthal To: Stefan Bethke Message-ID: <20111124081532.GA10540@DataIX.net> References: <33122B07-5473-4C84-A89D-B4C2F9677BC0@lassitu.de> <6354F6F2-959D-4451-A434-32C5C7335C25@lassitu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6354F6F2-959D-4451-A434-32C5C7335C25@lassitu.de> Cc: Adam Vande More , 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: Thu, 24 Nov 2011 08:44:10 -0000 Hi Stefan, This is probably what you are looking for. Give it a shot. https://jhell.googlecode.com/hg/base/vendor/vehosting/slowdown.c On Mon, Nov 21, 2011 at 10:25:36PM +0100, Stefan Bethke wrote: > > Am 21.11.2011 um 21:42 schrieb Stefan Bethke: > > > Am 21.11.2011 um 21:40 schrieb Adam Vande More: > > > >> On Mon, Nov 21, 2011 at 1:58 PM, Stefan Bethke wrote: > >> > >> 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. > >> > >> Limiting CPU has long been the poor man's IO scheduler, and has usually worked pretty well for me but has required some trial and error. YMMV > > > > Good point, I'll give that a try. > > > 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. > > > Stefan > > -- > Stefan Bethke Fon +49 151 14070811 > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"