Added cgroup

Signed-off-by: Shuai Zhang <zs.broccoli@gmail.com>