Re: [PATCHSET] blk-throttle: implement proper hierarchy support

From: Tejun Heo
Date: Fri May 03 2013 - 15:14:29 EST


On Fri, May 03, 2013 at 03:08:23PM -0400, Vivek Goyal wrote:
> T1 T2 T3 T4 T5 T6 T7
> parent: b1 b2 b3 b4 b5
> child: b1 b2 b3 b4 b5
>
>
> So continuity breaks down because application is waiting for previous
> IO to finish. This forces expiry of existing time slices and new time
> slice start both in child and parent and penalty keep on increasing.

It's a problem even in flat mode as the "child" above can easily be
just a process which is throttling itself and it won't be able to get
the configured bandwidth due to the scheduling bubbles introduced
whenever new slice is started. Shouldn't be too difficult to get rid
of, right?

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/