Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 09:51:13 -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:  <20111124145113.GB10540@DataIX.net>
In-Reply-To: <BE222EB1-DC55-4BB5-A075-E36FB9DC9DF1@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> <20111124081532.GA10540@DataIX.net> <BE222EB1-DC55-4BB5-A075-E36FB9DC9DF1@lassitu.de>

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

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable



On Thu, Nov 24, 2011 at 11:14:58AM +0100, Stefan Bethke wrote:
> Am 24.11.2011 um 09:15 schrieb Jason Hellenthal:
>=20
> >=20
> > Hi Stefan,
> >=20
> > This is probably what you are looking for. Give it a shot.
> >=20
> > https://jhell.googlecode.com/hg/base/vendor/vehosting/slowdown.c
>=20
> Just tried this: Unfortunately, my app is not slowed down sufficiently.  =
I'm afraid I need something that actually re-prioritizes actual disk I/O.

What app is this ?

Considering the above code is a wrapper for stat() fstat() lstat() syscalls=
 and you only seen a small decrease I would believe its using something els=
e quite intensively but without the application at hand or at least a ktrac=
e(1) or a truss(1) of the running proccess, I don't think there is much tha=
t can be done.


It would be nice if something like this was natively available but we tend =
to lack a few things here in FreeBSD that can be seen elsewhere.

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJOzlngAAoJEJBXh4mJ2FR+jXMH/3wznogcLe2YAv0VbSfbBccS
8f3/K/OkJWB8AyC49YSy8jDTJe4xxAt75YDY/bmgSFI95cUVCi+dvM382IMjcvxP
48xl6D6EDUXX04Y+I5xmywXw2l4lME3a38sY1T7XRb5DSTxqd5qytWPlLbdxso6m
iIQaCv0KorJK+GMj/nXRVqMa8TvoNidt6Q02On93K0eKK3UJCtskTjh1GNOawB5g
NTjhm7bkUeMJCk0MY3f/FCrQBVmgX45OJxtf7FdXrWMkIyywml+Fki4EsQK23EG7
+03NUN0gEbTgAt+CriUD1biOwSqbCwLxFCbzyfueakuG2Jz3nPh7tb9xbW1V3ig=
=kdNH
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--



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