Aleo-pulse is a simple Python script inspired by sui-doctor that allows you to check the basic configuration of a server/workstation where Aleo is being executed. It can be useful if you don’t have automation for server/workstation configuration and want to double-check that your setup is correct.
- Check time synchronization
- Check network bandwidth
- Check disk size
- Check number of CPUs
- Check GPU (for prover mode)
- Check CPU governor
- Check
rmem_max
andwmem_max
kernel parameters - Check swap configuration
- Check Aleo client and its dependencies
- Python 3+
- Speedtest-cli package: Install with
pip install speedtest-cli
- Operating system: Ubuntu, Debian, CentOS, macOS
- Docker (for future versions packed in Docker)
-
Clone the repository
git clone https://github.com/caligo8658/aleo_pulse.git
-
Navigate to the project directory
cd aleo-pulse
-
Install the speedtest-cli package
pip uninstall speedtest pip install speedtest-cli
-
Make the script executable
chmod +x aleo-pulse.py
This project is licensed under the Apache 2 License.
Run the script with the desired mode
./aleo-pulse.py MODE
Replace MODE
with one of the following:
client
: Check configuration for running Aleo as a clientprover
: Check configuration for running Aleo as a provervalidator
: Check configuration for running Aleo as a validator
Example
./aleo-pulse.py validator
- Pack in Docker
- Tests
- One-to-all connectivity test (in mainnet)
Ensure swap is turned off