Skip to content

Commit e55f000

Browse files
authored
Merge pull request #81 from sympatheticmoose/main
docs: fix typos and rm unneeded sub-menu
2 parents 1f1ab24 + d2102f6 commit e55f000

File tree

13 files changed

+35
-36
lines changed

13 files changed

+35
-36
lines changed

docs/design/metrics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ All the metrics specific to the Kepler Exporter are prefixed with `kepler_`.
2323

2424
- **kepler_container_core_joules_total** (Counter)
2525
This measures the total energy consumption on CPU cores that a certain container has used.
26-
Generally, when the system has access to `RAPL`_ metrics, this metric will reflect the porportinal container energy consumption of the RAPL
26+
Generally, when the system has access to `RAPL`_ metrics, this metric will reflect the proportional container energy consumption of the RAPL
2727
Power Plan 0 (PP0), which is the energy consumed by all CPU cores in the socket.
2828
However, this metric is processor model specific and may not be available on some server CPUs.
2929
The RAPL CPU metric that is available on all processors that support RAPL is the package, which we will detail
@@ -143,7 +143,7 @@ Note:
143143
## Kepler metrics for Node information:
144144

145145
- **kepler_node_nodeInfo** (Counter)
146-
This metric shows the node metada like the node CPU architecture.
146+
This metric shows the node metadata like the node CPU architecture.
147147

148148
Note that this metrics is deprecated and might be updated to `kepler_node_info` in the next release.
149149

docs/design/power_estimation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ There are two alternatives of estimators.
88

99
- **General Estimator Sidecar**: This estimator transforms the usage metrics and applies with the trained models which can be any regression models from scikit-learn library or any neuron networks from Keras (TensorFlow). To use this estimator, the [Kepler General Estimator](./architecture/#kepler-estimator-sidecar) component needs to be enabled.
1010

11-
On top of that, the trained models as well as weights can be updated periodically with online trainning routine by connecting the [Kepler Model Server]((./architecture/#kepler-model-server)) component.
11+
On top of that, the trained models as well as weights can be updated periodically with online training routine by connecting the [Kepler Model Server]((./architecture/#kepler-model-server)) component.
1212

1313

1414
## Deployment Scenarios
@@ -30,7 +30,7 @@ This additional overhead must be tradeoff to an increasing estimation accuracy e
3030

3131
**Minimum deployment connecting to Kepler Model Server**
3232

33-
To get the updated weights which is expected to provide better estimation accuracy, Kepler may connect to remote Kepler Model Server that performs online trainning using data from the system with the power measuring tool as below.
33+
To get the updated weights which is expected to provide better estimation accuracy, Kepler may connect to remote Kepler Model Server that performs online training using data from the system with the power measuring tool as below.
3434

3535
![](../fig/disable_estimator_sidecar.png)
3636

docs/hardwareengagement/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ You are able to take this out as a todo list and step by step to make kepler eng
66
## Stage 0 Proof
77
In this Stage, we will focus on basic data can be collected by golang, and you can build your own kepler which running on your device well. The following steps can running in parallel.
88
### Binary build and container build.
9-
Currently kepler container image is from a GPU image to support GPU case. Considering a general case for IOT device. You may need to build kepler from UBI image. We recommand you following steps below to setup a local build env and try to build.
9+
Currently kepler container image is from a GPU image to support GPU case. Considering a general case for IOT device. You may need to build kepler from UBI image. We recommend you following steps below to setup a local build env and try to build.
1010

1111
1. Find a linux OS.
1212
1. Install kepler dependencies as ebpf golang(BCC), linux header and build kepler(from main branch or latest release branch) binary.
13-
1. (Optional)Modify [dockerfile](https://github.com/sustainable-computing-io/kepler/tree/main/build) to build the contaienr image.
13+
1. (Optional)Modify [dockerfile](https://github.com/sustainable-computing-io/kepler/tree/main/build) to build the container image.
1414

1515
### Power consumption API.
1616
Currently, we use power consumption API as RAPL or ACPI. For some of the devices, you may need to find your own way to get power consumption, and implement in golang for kepler usage. For further plan, please ref [here](https://github.com/sustainable-computing-io/kepler/issues/644)
@@ -22,10 +22,10 @@ Currently, we relays on ebpf and cgroup to characterization a process/pod. Hence
2222
During this Stage, we are going to ref Kepler model. To integrate and implement your own logic specific to your device and deep dive into Power consumption API.
2323

2424
### Scope
25-
You should know the scope of the Power consumption API. How many API do you have? Is it categoried by CPU/memeory/IO or not?
25+
You should know the scope of the Power consumption API. How many API do you have? Is it categorized by CPU/memory/IO or not?
2626

27-
### Internval
28-
You should know the internals of the Power consumption API. As kepler collect ebpf and cgroup data in each 3s by default, you should know the internal and make them in same time slot.
27+
### Interval
28+
You should know the intervals of the Power consumption API. As kepler collect ebpf and cgroup data in each 3s by default, you should know the interval and make them in same time slot.
2929

3030
### Verify
3131
You can cross check and verify the data.

docs/installation/kepler-helm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Please refer to Helm's [documentation](https://helm.sh/docs/) to get started.
1313
helm repo add kepler https://sustainable-computing-io.github.io/kepler-helm-chart
1414
```
1515

16-
You can see the latest version by using the folllowing command:
16+
You can see the latest version by using the following command:
1717

1818
```bash
1919
helm search repo kepler
@@ -43,11 +43,11 @@ The following table lists the configurable parameters for this chart and their d
4343

4444
Parameter|Description| Default
4545
---|---|---
46-
global.namespace| Kubernete namespace for kepler |kepler
46+
global.namespace| Kubernetes namespace for kepler |kepler
4747
image.repository|Repository for Kepler Image| quay.io/sustainable\_computing\_io/kepler
4848
image.pullPolicy|Pull policy for Kepler|Always
4949
image.tag|Image tag for Kepler Image |latest
50-
serviceAccount.name|Service acccount name for Kepler|kepler-sa
50+
serviceAccount.name|Service account name for Kepler|kepler-sa
5151
service.type|Kepler service type|ClusterIP
5252
service.port|Kepler service exposed port|9102
5353

docs/installation/kepler-operator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ kubectl apply -k config/samples/
3737

3838
## Set up Grafana Dashboard
3939

40-
Using `GRAFANA_ENABLE=true` configured the `kube-prometheus` monitoring stack in the namesapce `monitoring`.
40+
Using `GRAFANA_ENABLE=true` configured the `kube-prometheus` monitoring stack in the namespace `monitoring`.
4141
To access the Grafana Console locally on the browser port-forward on 3000 using the following command:
4242

4343
```sh

docs/installation/kepler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ OPENSHIFT_DEPLOY|patch openshift-specific attribute to kepler daemonset and depl
7171
PROMETHEUS_DEPLOY|patch prometheus-related resource (ServiceMonitor, RBAC role, rolebinding) |require prometheus deployment which can be OpenShift integrated or [custom deploy](#deploy-the-prometheus-operator)
7272
CLUSTER_PREREQ_DEPLOY|deploy prerequisites for kepler on openshift cluster| OPENSHIFT_DEPLOY option set
7373
CI_DEPLOY|update proc path for kind cluster using in CI|-
74-
ESTIMATOR_SIDECAR_DEPLOY|patch estimator sidecar and corresponding configmap to kepler daemonset|-
75-
MODEL_SERVER_DEPLOY|deploy model server and corresponding configmap to kepler daemonset|-
74+
ESTIMATOR_SIDECAR_DEPLOY|patch estimator sidecar and corresponding ConfigMap to kepler daemonset|-
75+
MODEL_SERVER_DEPLOY|deploy model server and corresponding ConfigMap to kepler daemonset|-
7676
TRAIN_DEPLOY|patch online-trainer sidecar to model server| MODEL_SERVER_DEPLOY option set
7777

7878
Following options are available for Redfish client, you can set them as environment variables of kepler-exporter. They affect all of Redfish access from Kepler Exporter.

docs/installation/strategy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Installation Strategies
22

3-
While you are free to explore any deployments but the recommended stratgies are :
3+
While you are free to explore any deployments but the recommended strategies are :
44

55
| *OCP 4.13* | *Microshift* | *RHEL* | *ROSA* | *Kind* |
66
| ------------- | ------------- | ----- | ----- | ----|

docs/model_training/kepler-model-server.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Kepler model server is a supplementary project of Kepler that facilitates power
44
![](../fig/model-server-components-simplified.png)
55

66

7-
**Pipeline Input:** Prometheus query results during the trainning workload war running.
7+
**Pipeline Input:** Prometheus query results during the training workload war running.
88

99
**Pipeline Output:** A directory that contains archived absolute and dynamic power models trained by each available feature group which is labeled by each available energy source.
1010

@@ -16,7 +16,7 @@ Kepler model server is a supplementary project of Kepler that facilitates power
1616
- [**Energy/Power source**](./pipeline.md#power-source) a power meter source of power label.
1717
- [**Model type**](./pipeline.md#model-output-type) a type of model with or without background isolation.
1818
- [**Feature group**](./pipeline.md#feature-group) a utilization metric source of model input.
19-
- **Archived model** a folder and zip file in the format`[trainer name]_[node type]` where trainer is a name of training solution such as `GradientBoostingRegressor` and `node_type` is a catogorized [profile](./model_profile.md) of the server used for training. The folder contains
19+
- **Archived model** a folder and zip file in the format`[trainer name]_[node type]` where trainer is a name of training solution such as `GradientBoostingRegressor` and `node_type` is a categorized [profile](./model_profile.md) of the server used for training. The folder contains
2020
- metadata.json
2121
- model files
2222
- weight.json (model weight for local estimator supported models such as linear regression (LR))

docs/model_training/pipeline.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ The features are groupped by the metric sources.
2323

2424
Group Name|Features|Kepler Metric Source(s)
2525
---|---|---
26-
CounterOnly|COUNTER_FEAUTRES|[Hardware Counter](../design/metrics.md#hardware-counter-metrics)
26+
CounterOnly|COUNTER_FEATURES|[Hardware Counter](../design/metrics.md#hardware-counter-metrics)
2727
CgroupOnly|CGROUP_FEATURES|[cGroups](../design/metrics.md#cgroups-metrics)
2828
BPFOnly|BPF_FEATURES|[BPF](../design/metrics.md#base-metric)
2929
KubeletOnly|KUBELET_FEATURES|[Kubelet](../design/metrics.md#kubelet-metrics)
3030
IRQOnly|IRQ_FEATURES|[IRQ](../design/metrics.md#irq-metrics)
31-
CounterIRQCombined|COUNTER_FEAUTRES, IRQ_FEATURES|BPF and Hardware Counter
32-
Basic|COUNTER_FEAUTRES, CGROUP_FEATURES, BPF_FEATURES, KUBELET_FEATURES|All except IRQ and node information
33-
WorkloadOnly|COUNTER_FEAUTRES, CGROUP_FEATURES, BPF_FEATURES, IRQ_FEATURES, KUBELET_FEATURES|All except node information
31+
CounterIRQCombined|COUNTER_FEATURES, IRQ_FEATURES|BPF and Hardware Counter
32+
Basic|COUNTER_FEATURES, CGROUP_FEATURES, BPF_FEATURES, KUBELET_FEATURES|All except IRQ and node information
33+
WorkloadOnly|COUNTER_FEATURES, CGROUP_FEATURES, BPF_FEATURES, IRQ_FEATURES, KUBELET_FEATURES|All except node information
3434
Full|WORKLOAD_FEATURES, SYSTEM_FEATURES|All
3535

3636
> node information refers to value from [kepler_node_info](../design/metrics.md#kepler-metrics-for-node-information) metric.
@@ -71,9 +71,9 @@ The pipeline with *ProfileIsolator* will be applied first if the profile that ma
7171

7272
3. call implemented `(iv) train` and save the checkpoint via `(v) save_checkpoint`
7373

74-
4. check whether to achive the model and push to database via `(vi) should_archive`. If yes,
74+
4. check whether to archive the model and push to database via `(vi) should_archive`. If yes,
7575

76-
4.1. get triner-specific basic metdata via `(vii) get_basic_metadata`
76+
4.1. get trainer-specific basic metadata via `(vii) get_basic_metadata`
7777

7878
4.2. fill with required metadata, save it as metadata file (metadata.json)
7979

docs/usage/general_config.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Kepler DaemonSet Deployment|daemon.exporter.port|Metric exporter port|9102|
99
Kepler DaemonSet Deployment|daemon.estimator-sidecar.enabled|[Kepler Estimator Sidecar](./../design/architecture/#kepler-estimator-sidecar) patch|false|
1010
Kepler DaemonSet Deployment|daemon.estimator-sidecar.image|Kepler estimator sidecar image|quay.io/sustainable_computing_io/kepler-estimator:latest
1111
Kepler DaemonSet Deployment|daemon.estimator-sidecar.mnt-path|Mount path between main container and the sidecar for unix domain socket|/tmp
12-
Kepler DaemonSet Enviroment (METRIC_PATH)|daemon.exporter.path|Path to export metrics|/metrics
13-
Kepler DaemonSet Enviroment (MODEL_SERVER_ENABLE)|model-server.enaled|[Kepler Model Server Pod Pod](./../design/architecture/#kepler-model-server) connection|false
12+
Kepler DaemonSet Environment (METRIC_PATH)|daemon.exporter.path|Path to export metrics|/metrics
13+
Kepler DaemonSet Environment (MODEL_SERVER_ENABLE)|model-server.enaled|[Kepler Model Server Pod Pod](./../design/architecture/#kepler-model-server) connection|false
1414
*[*model-server.enaled*]*|
1515
Model Server Pod Pod Environment (MODEL_SERVER_PORT)|model-server.port|Model serving port of model server|8100
1616
Model Server Pod Pod Environment (PROM_SERVER)|model-server.prom|Endpoint to Prometheus metric server |http://prometheus-k8s.monitoring.svc.cluster.local:9090
@@ -32,12 +32,12 @@ Kepler DaemonSet Environment (KUBELET_METRICS)|kubelet|List of performance metri
3232
Kepler DaemonSet Environment (GPU_METRICS)|gpu|List of performance metrics to enable from gpu source| * (enable all available metrics from gpu source)
3333
***ExportMetric CR*** (single item: default)|||
3434
Kepler DaemonSet Environment (PERF_METRICS)|perf|List of performance metrics to export | * (enable all collected performance metrics)
35-
Kepler DaemonSet Environment (EXPORT_NODE_TOTAL_POWER)|node_total_power|Trigger whether to export node total power| true
36-
Kepler DaemonSet Environment (EXPORT_NODE_COMPONENT_POWERS)|node_component_powers|Trigger whether to export node powers by components| true
37-
Kepler DaemonSet Environment (EXPORT_POD_TOTAL_POWER)|pod_total_power|Trigger whether to export pod total power| true
38-
Kepler DaemonSet Environment (EXPORT_POD_COMPONENT_POWERS)|pod_component_powers|Trigger whether to export pod powers by components| true
35+
Kepler DaemonSet Environment (EXPORT_NODE_TOTAL_POWER)|node_total_power|Toggle whether to export node total power| true
36+
Kepler DaemonSet Environment (EXPORT_NODE_COMPONENT_POWERS)|node_component_powers|Toggle whether to export node powers by components| true
37+
Kepler DaemonSet Environment (EXPORT_POD_TOTAL_POWER)|pod_total_power|Toggle whether to export pod total power| true
38+
Kepler DaemonSet Environment (EXPORT_POD_COMPONENT_POWERS)|pod_component_powers|Toggle whether to export pod powers by components| true
3939
***EstimatorConfig CR*** (multiple items: node-total-power, node-component-powers, pod-total-power, pod-component-powers)|||
40-
Kepler DaemonSet Environment (MODEL_CONFIG.[MODEL_ITEM]_ESTIMATOR)|use-sidecar|Triggle whether to use estimator sidecar for power estimation|false
40+
Kepler DaemonSet Environment (MODEL_CONFIG.[MODEL_ITEM]_ESTIMATOR)|use-sidecar|Toggle whether to use estimator sidecar for power estimation|false
4141
Kepler DaemonSet Environment (MODEL_CONFIG.[MODEL_ITEM]_MODEL)|fixed-model|Specify model name| (auto-selected)
4242
Kepler DaemonSet Environment (MODEL_CONFIG.[MODEL_ITEM]_FILTERS)|filters|Specify model filter conditions in string| (auto-selected)
4343
Kepler DaemonSet Environment (MODEL_CONFIG.[MODEL_ITEM]_INIT_URL)|init-url|URL to initial model location| -
@@ -56,4 +56,4 @@ Kepler DaemonSet Environment (GPU_USAGE_METRIC)|core_metric|Specify metric for c
5656
For example,
5757

5858
* *NODE_TOTAL_POWER*: archived model to estimate node total power used by estimator sidecar
59-
* *POD_COMPONENTS_MODEL_WEIGHT*: model weight to estimate pod component powers used by linear regressor embbed in Kepler main component.
59+
* *POD_COMPONENTS_MODEL_WEIGHT*: model weight to estimate pod component powers used by linear regressor embedded in Kepler main component.

docs/usage/kepler_daemon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ data:
2424
POD_COMPONENT_INIT_URL=https://raw.githubusercontent.com/sustainable-computing-io/kepler-model-server/main/tests/test_models/DynComponentPower/CgroupOnly/ScikitMixed.zip
2525
```
2626
27-
2. Mount the confimap to DeamonSet:
27+
2. Mount the ConfigMap to DaemonSet:
2828
```yaml
2929
spec:
3030
containers:

docs/usage/model_server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To set environments by ConfigMap,
1919
PROM_SSL_DISABLE: 'true'
2020
INITIAL_MODELS_LOC: https://raw.githubusercontent.com/sustainable-computing-io/kepler-model-server/main/tests/test_models
2121

22-
2. Mount the confimap to DeamonSet
22+
2. Mount the ConfigMap to DaemonSet
2323

2424
spec:
2525
containers:

mkdocs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ nav:
3939
- 'usage/model_server.md'
4040
- 'usage/trouble_shooting.md'
4141
- 'usage/deep_dive.md'
42-
- Hardware Engagement:
43-
- 'hardwareengagement/index.md'
42+
- Hardware Engagement: 'hardwareengagement/index.md'
4443
- Model Training:
4544
- 'model_training/kepler-model-server.md'
4645
- 'model_training/pipeline.md'

0 commit comments

Comments
 (0)