forked from mboldt/docs-tiledev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
core-counting.html.md.erb
47 lines (37 loc) · 1.85 KB
/
core-counting.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
title: Core Counting
owner: TAS Observability
---
You can configure your tile to take advantage of Ops
Manager's ability to count physical and virtual cores.
This option is available
starting in Tanzu Operations Manager v3.0.10+LTS-T and v2.10.58.
<p class="note caution">
<span class="note__title">Caution</span>
In the following paragraph VMware refers to SKU. While this is not technically a
VMware SKU, this documentation uses the concept because some tiles share a license, such as TAS for VMs, TAS for VMs [Windows],
and IST. A core can run all three of these products at the same
time with a single core license without being double counted.
</p>
You can add monit jobs named `SKU-<SKU_NAME>` to their VMs so
Operations Manager can count all of the VMs cores as part of a SKU. VMs with the
same SKU are counted together. If no matching monit jobs are present, no
cores are counted for those VMs.
For example: if you wanted to create and
specify a SKU of the name `TEST`, you must define a monit job with the name
`SKU-TEST`. An easier way to define a monit job
for Linux and Windows VMs is to use the internal count-cores-indicator-release.
When workloads are being run on vSphere, if multiple VMs are being run on the
same host, the total counted cores of a SKU can never be more than the
number of physical cores on that host. On other infrastructures, Operations Manager
uses the values returned by the kernel, for number of cores, and threads per
core.
The BOSH Director counts all the relevant cores once per hour and stores up to
2MB of historic measurements. Click the **Download Core Consumption Data** button on Ops
Manager, or run curl for the `/api/v0/download_core_consumption` API endpoint
to retrieve a CSV of all the measurements.
Each row in the CSV is formatted as
follows:
```
timestamp, product identifier/SKU, physical core count, virtual core count
```