Re: [RFC][PATCH -mm 0/5] cgroup: block device i/o controller (v9)

From: Hirokazu Takahashi
Date: Wed Sep 17 2008 - 03:18:27 EST


Hi,

> TODO:
>
> * Try to push down the throttling and implement it directly in the I/O
> schedulers, using bio-cgroup (http://people.valinux.co.jp/~ryov/bio-cgroup/)
> to keep track of the right cgroup context. This approach could lead to more
> memory consumption and increases the number of dirty pages (hard/slow to
> reclaim pages) in the system, since dirty-page ratio in memory is not
> limited. This could even lead to potential OOM conditions, but these problems
> can be resolved directly into the memory cgroup subsystem
>
> * Handle I/O generated by kswapd: at the moment there's no control on the I/O
> generated by kswapd; try to use the page_cgroup functionality of the memory
> cgroup controller to track this kind of I/O and charge the right cgroup when
> pages are swapped in/out

FYI, this also can be done with bio-cgroup, which determine the owner cgroup
of a given anonymous page.

Thanks,
Hirokazu Takahashi
--
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/