OpenVZ Forum


Home » Mailing lists » Devel » Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices [message #7980] Wed, 01 November 2006 21:18 Go to previous message
Chris Friesen is currently offline  Chris Friesen
Messages: 4
Registered: August 2006
Junior Member
Srivatsa Vaddagiri wrote:

>>> - Support limit (soft and/or hard depending on the resource
>>> type) in controllers. Guarantee feature could be indirectly
>>> met thr limits.

I just thought I'd weigh in on this. As far as our usage pattern is
concerned, guarantees cannot be met via limits.

I want to give "x" cpu to container X, "y" cpu to container Y, and "z"
cpu to container Z.

If these are percentages, x+y+z must be less than 100.

However, if Y does not use its share of the cpu, I would like the
leftover cpu time to be made available to X and Z, in a ratio based on
their allocated weights.

With limits, I don't see how I can get the ability for containers to
make opportunistic use of cpu that becomes available.

I can see that with things like memory this could become tricky (How do
you free up memory that was allocated to X when Y decides that it really
wants it after all?) but for CPU I think it's a valid scenario.

Chris
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH 2.6.19-rc3] VFS: extra check inside dentry_unhash()
Next Topic: Re: [ckrm-tech] [RFC] Resource Management - Infrastructure choices
Goto Forum:
  


Current Time: Mon Aug 19 22:29:38 GMT 2024

Total time taken to generate the page: 0.03215 seconds