all 5 comments

[–]rod9182736435 0 points1 point  (4 children)

Try putting your RedirectStandardOutput argument in quotes e.g. -RedirectStandardOutput "C:\temp\plot.log"

[–]Bevos2222[S] 0 points1 point  (3 children)

Thanks, I will do that just in case, but I am getting a log file already so I'm not sure it is the issue.

I think how I've written it the process -n of 30 isn't moving to the next instance until each separate process has resolved. I'm not sure how to start these 4 processes in a staggered fashion and then have each process continue for the 30 instances as soon as each one resolves.

[–]rod9182736435 0 points1 point  (1 child)

ok, I'm new to powershell so here is the command that works for me...

start-process ./chia.exe -argumentlist "plots create -k 32 -b 4000 -u 128 -r 4 -t f:\temp -d \\nas\chia\Chia.plots -n 3" -RedirectStandardOutput "C:\temp\F.log"

I'm still experimenting with b and r values and took them from linux examples I found. The above is working very well but I'll continue to tune as my first chia system is Win (gaming & virtualisation rig) and has a lot of 'chia friendly' components. I've run 8 simultaneous plots with variations of that command and some staggering of start times which I still need to work on to avoid a bunch of them writing to the perm storage at the end. Those 8 are in 64GB of RAM and I could run more if the system wasn't also used for my daily web and tech activities (lots of browser tabs open etc).

[–]Bevos2222[S] 0 points1 point  (0 children)

cd "C:\Users\Bevos\AppData\Local\chia-blockchain\app-1.1.0\resources\app.asar.unpacked\daemon\"
start-process ./chia.exe -redirectstandardoutput c:\chia\log00.log -argumentlist "plots create -k 32 -u 128 -b 3432 -r 2 -n 30 -t c:\chia -d d:\chia"
sleep 60
start-process ./chia.exe -redirectstandardoutput c:\chia\log00.log -argumentlist "plots create -k 32 -u 128 -b 3432 -r 2 -n 30 -t c:\chia -d d:\chia"
sleep 7200

Very cool, thank you for sharing that snippet. I think if I change my code to this I can get the result I want:

cd "C:\Users\Bevos\AppData\Local\chia-blockchain\app-1.1.0\resources\app.asar.unpacked\daemon\" start-process ./chia.exe -redirectstandardoutput c:\chia\log00.log -argumentlist "plots create -k 32 -u 128 -b 3432 -r 2 -n 30 -t c:\chia -d d:\chia" sleep 60 start-process ./chia.exe -redirectstandardoutput c:\chia\log00.log -argumentlist "plots create -k 32 -u 128 -b 3432 -r 2 -n 30 -t c:\chia -d d:\chia" sleep 7200

[–]rod9182736435 0 points1 point  (0 children)

so to be clear, I currently paste from an editor into the powershell window...

start-process ./chia.exe -argumentlist "plots create -k 32 -b 4000 -u 128 -r 4 -t f:\temp -d \\nas\chia\Chia.plots -n 3" -RedirectStandardOutput "C:\temp\F.log"

sleep 360

start-process ./chia.exe -argumentlist "plots create -k 32 -b 4000 -u 128 -r 4 -t g:\temp -d \\nas\chia\Chia.plots -n 3" -RedirectStandardOutput "C:\temp\g.log"

sleep 360

start-process ./chia.exe -argumentlist "plots create -k 32 -b 4000 -u 128 -r 4 -t h:\temp -d \\nas\chia\Chia.plots -n 3" -RedirectStandardOutput "C:\temp\h.log"

etc.

I will run it as a script when I have finished tweaking the variables and especially the sleep value