认识cgroup和 lxc

01-09-2013 by luw2007

引子

[CPyUG] 对于python的sandbox,有什么好的方案吗? 由python的沙箱引出虚拟化中的两个名词lxc和cgroup。

cgroup(control groups)

Lxc(LinuX Containers)

由于与OpenVZ同为OS级别的虚拟化技术,免不了对比两者之前的差异。

OpenVZ vs LXC

通过上面的文章可以看到目前lxc 还不适合是用在生产环境。Lxc 依赖的cgroup 早已加入linux kernel mainline中。我比较认同Lxc 最终会替代 OpenVZ。

see also


Comments