Hi everybody,<br>I have just started playing with lxc and having some difficulties to set cpu and memory on my guests. After my searches, seems that resources controlling is managing in cgroup files and I think that I missed something or I didn't understand how deal with cgroup.<br>
<br>After reading cgroup documentation, I understand that:<br>- <b><i>cpuset.cpus</i></b> indicate to a container the number of cpu available<br>-<b><i>cpuset.cpu_exclusive</i></b> limit the number of cpu which the container can use.<br clear="all">
Am I in good way? <br>For example , can I tell to my container that there are 2 cpu available (<b><i>cpuset.cpus)</i></b>, but use one generally (<b><i>puset.cpu_exclusive)</i></b>, use the second one only  when it's necessary (when there are a  lot of application to run)? What I want is manage QoS with my containers.<br>
And my last question is, Can I do the same thing with memory sharing?<br><br>Thanks for your answers<br>-- <br>Yanick HOUNGBEJI<br>Engineering student in Telecom Lille 1<br><a href="mailto:yanick.emiliano@gmail.com">yanick.emiliano@gmail.com</a><br>
+336 89 18 69 81<br>---------<br>Elle est pas belle la vie!! :)<br><br>