Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(performance-tips): added steps to deploy io engine deamonset #160

Merged
merged 7 commits into from
Aug 31, 2023
23 changes: 11 additions & 12 deletions quickstart/performance-tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,16 @@ cat /sys/devices/system/cpu/isolated
{% endtab %}
{% endtabs %}

### Deploy Mayastor daemonset

Edit the `mayastor-daemonset.yaml` file and set the `-l` parameter of mayastor to specify CPU cores that Mayastor reactors should run on. In the following example we run mayastor on the third and fourth CPU core:

```yaml
...
containers:
- name: mayastor
...
args:
...
- "-l3,4"
### Update mayastor helm chart for CPU core specification

To allot specific CPU cores for Mayastor's reactors, follow these steps:

1. Ensure that you have the Mayastor kubectl plugin installed, matching the version of your Mayastor Helm chart deployment ([releases](https://github.com/openebs/mayastor/releases)). You can find installation instructions in the [Mayastor kubectl plugin documentation](https://github.com/openebs/mayastor-extensions/blob/develop/k8s/plugin/README.md).
AJDatacore marked this conversation as resolved.
Show resolved Hide resolved

2. Execute the following command to update Mayastor's configuration. Replace `<namespace>` with the appropriate Kubernetes namespace where Mayastor is deployed.

```
kubectl mayastor upgrade -n <namespace> --set-args 'io_engine.coreList={3,4}'
```

In the above command, `io_engine.coreList={3,4}` specifies that Mayastor's reactors should operate on the third and fourth CPU cores.
Loading