On 08/24/2011 04:06 PM, 陈竞 wrote: > i have a computer with 2 cores cpu. I want to create a container with 0.5 > cpu. I found that cpuset.shares means how many time cpu time it get, > but i don't know whether cpuset.shares point to one cpu or all cpu? > if it points to one cpu, is the following configuratian right? > lxc.cgroup.cpuset.cpus = 0 > lxc.cgroup.cpuset.shares = 512
Do you mean lxc.cgroup.cpu.shares = 512 ? If yes, that should be ok. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users