Resources on linux machine could be controlled by cgroup subsystem, such as memory and cpu. While we cannot control buffer write io and network rx before kernel 4.x. For this, we add two new cgroup subsystems in kernel, to control buffer write io and network rx, which allow user to assign different resource values to different jobs for QOS.