Re: throttle IO to multiple devices in one group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the reply, Nikolay. It works for me with 2.6.32 kernel too.

Thanks,
Guang

On Thu, Sep 8, 2016 at 11:29 PM, Nikolay Borisov <kernel@xxxxxxxx> wrote:
>
>
> On 09/09/2016 02:32 AM, Guang Yang wrote:
>> Hello,
>> We are evaluating to use cgroups to isolate different applications on
>> Linux. One use case of our application is that it reads/writes to
>> multiple block devices and we would like throttle the IO for each
>> application to each devices via blkio.throttle.read_iops_device.
>> However, it looks like each group can only configure one device.
>>
>> Am I miss anything? Is there a way to support such semantic - limit
>> the number of reads to multiple devices within one group?
>>
>> Thanks very much.
>> --
>> To unsubscribe from this list: send the line "unsubscribe cgroups" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
>
> [root@kernighan c11]# cat blkio.throttle.read_bps_device
> [root@kernighan c11]# echo "253:12 1600000" > blkio.throttle.read_bps_device
> [root@kernighan c11]# echo "253:13 1600000" >> blkio.throttle.read_bps_device
> [root@kernighan c11]# cat blkio.throttle.read_bps_device
> 253:13 1600000
> 253:12 1600000
>
>
> It works just fine (this is on 4.4 kernel though)
>
> Regards,
> Nikolay
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux