Replies: 1 comment
-
|
中文版本 macos https://github.com/starcoinorg/starcoin/releases/download/v1.13.8-alpha.3/starcoin-macos-latest.zip ubuntu https://github.com/starcoinorg/starcoin/releases/download/v1.13.8-alpha.3/starcoin-ubuntu-20.04.zip 2.查看本机核数 在linux下使用如下命令,输入可能如下 root@starcoin-1:/# lscpu | grep "^CPU(s):" | head -n 1 root@starcoin-1:/#sysctl hw.logicalcpu starcoin% dev get_concurrency_level 4.开启TurboSTM console命令输入如下命令 starcoin% dev set_concurrency_level 4 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Users are required to use the Barnard network to engage in this event
Step 1.Download the Starcoin Binary
macos https://github.com/starcoinorg/starcoin/releases/download/v1.13.8-alpha.3/starcoin-macos-latest.zip
ubuntu https://github.com/starcoinorg/starcoin/releases/download/v1.13.8-alpha.3/starcoin-ubuntu-20.04.zip
windows https://github.com/starcoinorg/starcoin/releases/download/v1.13.8-alpha.3/starcoin-windows-latest.zip
Step 2. Check the Num of CPUS
On Linux Machine, use the following command to check the number of CPUs
root@starcoin-1:/# lscpu | grep "^CPU(s):" | head -n 1 CPU(s): 4On Macos Machine
root@starcoin-1:/#sysctl hw.logicalcpu hw.logicalcpu: 8Step 3.Check if TurboSTM is Enabled
To check if TurboSTM is enabled, run the following command:
Inside the console, input this command
starcoin% dev get_concurrency_level { "ok": "get concurrency_level is 1" }1 means not use TurboSTM , > 1 means we use TurboSTM
Step 4.Enable TurboSTM
To enable TurboSTM, input the following command in the Starcoin console
starcoin% dev set_concurrency_level 4 { "ok": "set concurrency_level to 4" }Beta Was this translation helpful? Give feedback.
All reactions