Tips & Tricks
Additional Tips
Welcome to the Additional Tips section! Whether you're a seasoned farmer or just starting out with the Autonomys Network, these tips and tricks are designed to enhance your experience and efficiency. Here, we delve into practical advice and lesser-known techniques to help you fine-tune your farming setup and navigate common challenges with ease. From configuring your environment to managing background processes, these insights are tailored to ensure your Farmer operates smoothly and effectively. Let's dive in and explore how you can get the most out of your Autonomys Network Farmer.
Switching to a new snapshot from older/different versions of Autonomys
Unless specifically mentioned by the Development team you should NOT have to wipe your configuration on new releases.
In general you should be able to download the latest release, and re-start the Node & Farmer with the same commands as you started to prior version with no errors.
There are some cases where version updates will cause issue with your Node & Farmer and you may have to wipe your node, typically when errors occur. If you have any issues you can always check our Forums and hop in our Discord Server to ask for help.
Wipe
If you were running a node previously, and want to switch to a new network, please perform these steps and then follow the guide again:
# Replace `FARMER_FILE_NAME` with the name of the farmer file you downloaded from releases
./FARMER_FILE_NAME wipe PATH_TO_FARM
# Replace `NODE_FILE_NAME` with the name of the node file you downloaded from releases
./NODE_FILE_NAME wipe NODE_DATA_PATH
Now follow the installation guide from the beginning.
Utilizing Multiple Disks
To maximize storage capabilities, you can engage multiple disks directly. This is often more efficient than relying on RAID configurations:
Example:
./FARMER_FILE_NAME farm --reward-address WALLET_ADDRESS \
path=/media/ssd1,size=100GiB \
path=/media/ssd2,size=10T \
path=/media/ssd3,size=10T
Optimizing DSN Syncing
The DSN can be a nuanced topic, to better understand our Decentralized Storage Network, please refer to this guide from our Academy.
While it might be tempting to adjust certain parameters that seem related to DSN Syncing, it's advised to be cautious. Some options will not enhance syncing and are best left at their default values:
--out-peers
--in-peers
--dsn-target-connections
--dsn-pending-in-connections
--dsn-in-connections
Recommended Parameters
The default parameters are set with the capabilities of common consumer modem/routers in mind. Adjusting certain parameters could enhance DSN sync performance by increasing parallelism. However, if you decide to increase them significantly, ensure that your modem/router is performant enough to handle the increased traffic. Node:
--dsn-out-connections
--dsn-pending-out-connections
Farmer: Increasing the values of the farmer parameters could increase the plotting speed.
--out-connections
--pending-out-connections