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

add info about RANDOMX_FLAG_SECURE required for macos #171

Merged
merged 3 commits into from
Jan 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/start/smeshing/smeshing_adv/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,19 @@ Setting k3 to 0 is safe to use on **only on the private** nodes because the **pu
:::
##### RandomX Fast mode

To improve ATX verification speed on **public** nodes you can use the following setting. It will roughly require an additional 2 GiB of RAM per node that is only used during ATX verification.
To improve ATX verification speed on your nodes you can use the following setting. It will require roughly additional 2GB of RAM per node used only during ATX verification.

```json
"smeshing":
{ "smeshing-verifying-opts": { "smeshing-opts-verifying-powflags": 14 } }
```


Please note that when running on MacOS AppleSilicon, it is additionally required to set the `SECURE_JIT` flag in RandomX (based on this [upstream info](https://github.com/tevador/RandomX/issues/293)). This means that the actual setting for Mac-based systems is:

```json
"smeshing":
{ "smeshing-verifying-opts": { "smeshing-opts-verifying-powflags": 30 } }
```

If you have spare RAM on the private nodes then this setting is safe to set there too. However, please remember about the requirement of **2 GiB extra memory** per node.
Loading