cloudfoundry/garden-runc-release

Document CPU entitlement

gcapizzi opened this issue · 7 comments

The CPU entitlements feature can be quite tricky to understand. We want to document both its behaviour and its implementation.

For the behaviour, we have some good starting points:

Let's also remember to mention the CF CLI plugins!

For the implementation, let's try to describe:

  • how CPU shares work in the kernel
  • how we use nested CPU cgroups to implement throttling

Had a read of what needs to be done. Have a rough outline of what the doc should include:

CPU Entitlement and Throttling

CPU entitlements and cpu throttling are two interconnected features in Garden,
designed to improve how CPU resources are distributed to applications in Cloud
Foundry.

What does this look like for users?

  • overview - maybe just link to video/blog post as they are high level
  • explain the problem - the default cpu metric is innacurate
  • what happens when with spare resources currently
  • what is entitlement
  • how do the spare resources get distributed now

How is it implemented?

Entitlement

Throttling

Runtime tracker story has been generated for this issue: https://www.pivotaltracker.com/story/show/180812792

Hello @ameowlia and @MarcPaquette.
Is this getting worked on? What's the current state?
We have it in our backlog so I assume somebody made a commitment to work on this from our end. Is it actionable?

Hi @sleepychild,

This issue is in our icebox at this time, but we don't have any immediate plans to work on this. I can bring it up in IPM next week to discuss.

Thanks

Hi @MarcPaquette,

There was a discussion between @ameowlia and our PO and they agreed that our team is going to work on this documentation.

Hello @ameowlia and @MarcPaquette,

Could you please take a look at the following PRs:
cloudfoundry/docs-cf-admin#220
cloudfoundry/docs-loggregator#64

Thank you in advance.

Merged!