Limiting disk I/O by jail or uid?

Jason Hellenthal jhell at DataIX.net
Thu Nov 24 08:44:10 UTC 2011


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 at 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 at lassitu.de>   Fon +49 151 14070811
> 
> 
> 
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"


More information about the freebsd-hackers mailing list