Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 03:15:32 -0500
From:      Jason Hellenthal <jhell@DataIX.net>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        Adam Vande More <amvandemore@gmail.com>, freebsd-hackers@freebsd.org
Subject:   Re: Limiting disk I/O by jail or uid?
Message-ID:  <20111124081532.GA10540@DataIX.net>
In-Reply-To: <6354F6F2-959D-4451-A434-32C5C7335C25@lassitu.de>
References:  <E04BD92A-EFEA-4EB4-BC57-1F07EC040383@lassitu.de> <CA%2BtpaK3J1BCvGLsNZ_LBuYs9ve08UJY=12HH9Ch%2Bb=3wRbqKNg@mail.gmail.com> <CA545615-4337-439F-A8A5-AD7C2B54BC97@lassitu.de> <CA%2BtpaK1utojFPbvCvwQELgyMi2nno6RMc7dCK_3=b_%2Bp24Yy_w@mail.gmail.com> <33122B07-5473-4C84-A89D-B4C2F9677BC0@lassitu.de> <6354F6F2-959D-4451-A434-32C5C7335C25@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <stb@lassitu.de> 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 <stb@lassitu.de>   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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111124081532.GA10540>