Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2011 18:41:08 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Limiting disk I/O by jail or uid?
Message-ID:  <CA%2BtpaK09afMsgum7Pjy_QorWDonhXCJRROj1OKRmPdJCUM1Lpg@mail.gmail.com>
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
On Mon, Nov 21, 2011 at 3:25 PM, Stefan Bethke <stb@lassitu.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK09afMsgum7Pjy_QorWDonhXCJRROj1OKRmPdJCUM1Lpg>