Plotman Chia on WSL for Windows 10 #719
byeuji
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
After getting Plotman running on my linux server for farming Chia, I wanted to see if I could get plotman running on my Windows 10 machines as well, so I could benefit from the same optimizations Plotman offers on Linux.
I managed to get it running on two different Windows machines with very different hardware by running Ubuntu 18.04 on the Windows Subsystem for Linux!
Here are the steps I followed:
Standalone file: chia_plotman_WSL_win10_public.txt
File contents:
WSL 2 for Win10
https://docs.microsoft.com/en-us/windows/wsl/install-win10
Optional (but useful! I might stop using putty): Terminal for Windows
https://docs.microsoft.com/en-us/windows/terminal/get-started
Python 3.7
https://gist.github.com/chandr3sh/8e63613689312dd6882b1d5791742db5
Install Chia
https://github.com/Chia-Network/chia-blockchain/wiki/INSTALL#ubuntudebian
Install Plotman
https://github.com/ericaltendorf/plotman#installation
pip install --force-reinstall git+https://github.com/ericaltendorf/plotman@main plotman config generate
Make folders for Plotman logs
mkdir ~/chia mkdir ~/chia/logs
Optional: Map a network drive to a drive letter (Z:/, Y:/, etc. -- I will use Z:/ in this example)
Optional: Mount network drive in WSL
sudo mkdir /mnt/z sudo nano /etc/fstab
Add line to end:
Z: /mnt/z drvfs defaults 0 0
Mount the drive:
sudo mount -a
Configure Plotman
nano ~/.config/plotman/plotman.yaml
Ensure you're still in venv.
If not in venv:
. ~/chia-blockchain/./activate
Run Plotman
plotman interactive
I hope this helps others. I'd love to hear what people think about the method.
I'm managing to put out about 8 plots a day per computer using my gaming machine and laptop by writing over a 10gbit local network to my Chia server (so I don't wear out my gaming hardware, but can still dedicate CPU cycles), while configuring plotman not to use all my gaming PC CPU resources.
I love that I can also pause Plotman so I can get all my resources when I launch a game or w/e.
Beta Was this translation helpful? Give feedback.
All reactions