[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Cgroup Templates



K - maybe something to keep in mind as libvirt work moves ahead - that we might want to be able to assign resource profiles to gears above and beyond the basic settings.  Don't think there's an action for now

> On Sep 24, 2013, at 10:08 PM, "Robert L. Millner" <rmillner redhat com> wrote:
> 
>> On Tue, 2013-09-24 at 21:40 -0400, Clayton Coleman wrote:
>> It's probably worth asking the question of whether the throttler and
>> booster should be restoring to "previous state" rather than
>> "defaults".  How could we track that, and what other implications are
>> there to that work?
> 
> The booster is typically an ephemeral change wrapping a specific block
> of code and could read its starting point at the cost of being more
> expensive to call.  The only other risk would be restoring to a broken
> state rather than a known good one.  Probably a minor change otherwise.
> 
> Ex:
> OpenShift::Runtime::Utils::Cgroups.new(@uuid).boost do
>  # the unidle work
> end
> 
> 
> The throttler is a bit more complicated since it makes a durable setting
> and has performance and scale requirements.  Fotios can better speak to
> the sizing of having it store the previous configuration but its also
> disabled in Origin.
> 
> Surviving reboot requires regenerating /etc/cgconfig.conf on every
> durable cgroups change instead of just every gear create/delete.  That
> would be a more expensive call to make as well.  A little bigger of a
> change due to having to merge new values into the existing saved values;
> I'd estimate it as a 3.
> 
>    Cheers,
>    Rob
> 
> 
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]