Skip to content

Commit

Permalink
review-> added docs around cpu entitlement in ops file
Browse files Browse the repository at this point in the history
  • Loading branch information
asalan316 committed Mar 26, 2024
1 parent fec20a1 commit 2aab122
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/operations/set-cpu-entitlement-per-share.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# This operations file is used to set the CPU entitlement per share in for the garden process in the diego-cell job as follows:
# diego cell = 8 CPU 32GB RAM
# total shares = 1024 * 32[gb host ram] / 8[upper limit of app memory] = 4096
# CPU entitlement per share = 8[number host CPUs] * 100/ 4096[total shares] = 0,1953
- type: replace
path: /instance_groups/name=diego-cell/jobs/name=garden/properties/garden/experimental_cpu_entitlement_per_share_in_percent?
value: 0.195

0 comments on commit 2aab122

Please sign in to comment.