On 11/08/2010 10:22 PM, Sagar Dixit wrote:
> Hi,
>
> I am curious to know if there is fine grained resource control in LXC
> containers. For ex. Can I allocate some fixed part of CPU (some %) to a
> container and control this configuration while creating LXC container ?   Or
> can I update it dynamically ?  Similarly, can I specify such control
> parameters for memory, disks etc ?
>
> If no, can any body give me direction as to where to look in the code to
> start implementing it ?
> I am keen to explore this feature in LXC.
>    

You have to look at the direction of the cgroups:

The existing cgroups are:

  * memory + swap
  * disk io
  * scheduler
  * cpuset
  * devices whitelist
  * cpu accounting
  * network bandwidth
  * freezer

There is not cpu usage thresold and disk quota per container is not yet 
implemented.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to