[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080111175847.GA4016@ucw.cz>
Date: Fri, 11 Jan 2008 17:58:47 +0000
From: Pavel Machek <pavel@....cz>
To: Andrea Righi <righiandr@...rs.sourceforge.net>
Cc: Balbir Singh <balbir@...ux.vnet.ibm.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Valdis.Kletnieks@...edu, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [RFC][PATCH] per-uid/gid I/O throttling (was Re: [RFC][PATCH] per-task I/O throttling)
On Tue 2008-01-15 17:49:36, Andrea Righi wrote:
> Allow to limit the I/O bandwidth for specific uid(s) or gid(s) imposing
> additional delays on those processes that exceed the limits defined in a
> configfs tree.
>
> Examples:
>
> Limit the I/O bandwidth for user www-data (UID 33) to 4MB/s:
>
> root@...ux:/config/io-throttle# mkdir uid:33
> root@...ux:/config/io-throttle# cd uid:33/
> root@...ux:/config/io-throttle/uid:33# cat io-rate
> io-rate: 0 KiB/sec
> requested: 0 KiB
> last_request: 0 jiffies
> delta: 388202 jiffies
> root@...ux:/config/io-throttle/uid:33# echo 4096 > io-rate
> root@...ux:/config/io-throttle/uid:33# cat io-rate
> io-rate: 4096 KiB/sec
> requested: 0 KiB
> last_request: 389271 jiffies
> delta: 91 jiffies
>
> Limit the I/O bandwidth of group backup (GID 34) to 512KB/s:
Maybe ionice from cfq should be improved, instead?
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists