* throttle IO to multiple devices in one group
@ 2016-09-08 23:32 Guang Yang
[not found] ` <CAKtk8he8kEpbnnDL80LpigDZk-KyU6_o99D+k4iNWiUQ1AeOLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Guang Yang @ 2016-09-08 23:32 UTC (permalink / raw)
To: cgroups-u79uwXL29TY76Z2rM5mHXA
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.
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <CAKtk8he8kEpbnnDL80LpigDZk-KyU6_o99D+k4iNWiUQ1AeOLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: throttle IO to multiple devices in one group [not found] ` <CAKtk8he8kEpbnnDL80LpigDZk-KyU6_o99D+k4iNWiUQ1AeOLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2016-09-09 6:29 ` Nikolay Borisov [not found] ` <57D256C9.60901-6AxghH7DbtA@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Nikolay Borisov @ 2016-09-09 6:29 UTC (permalink / raw) To: Guang Yang, cgroups-u79uwXL29TY76Z2rM5mHXA 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <57D256C9.60901-6AxghH7DbtA@public.gmane.org>]
* Re: throttle IO to multiple devices in one group [not found] ` <57D256C9.60901-6AxghH7DbtA@public.gmane.org> @ 2016-09-12 22:11 ` Guang Yang 0 siblings, 0 replies; 3+ messages in thread From: Guang Yang @ 2016-09-12 22:11 UTC (permalink / raw) To: Nikolay Borisov; +Cc: cgroups-u79uwXL29TY76Z2rM5mHXA 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-6AxghH7DbtA@public.gmane.org> 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org >> 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-12 22:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-08 23:32 throttle IO to multiple devices in one group Guang Yang
[not found] ` <CAKtk8he8kEpbnnDL80LpigDZk-KyU6_o99D+k4iNWiUQ1AeOLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-09-09 6:29 ` Nikolay Borisov
[not found] ` <57D256C9.60901-6AxghH7DbtA@public.gmane.org>
2016-09-12 22:11 ` Guang Yang
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.