MrPig91 / PSChiaPlotter

A repo for powershell module that helps Chia Plotting
MIT License
181 stars 47 forks source link

Parallel processes limited #71

Closed PlotNoob closed 3 years ago

PlotNoob commented 3 years ago

Hello--I asked for 21 parallel plots, 63 total, with delay of 30: image

What I got was 9 parallel plots at most, but even for the 9 that I got, the delay times were off (all over the map): image

Here is what shows under Job Queues: image image image image image image

Here is the most telling information--Looks like it started 8 successfully, and only started a ninth parallel plot much later, and that's about it: image

NOTE: I had the same issue yesterday and tried to restart everything with some different settings and had the same result, but one difference--yesterday it was limited to 7, looks like today it was able to get up to 9 (but there was a long delay after the 7th plot and an even longer delay after the 8th plot). Please and thank you!

MrPig91 commented 3 years ago

So looking at the GUI screenshots it appears this is not the latest version, because the latest version has "Job Name" column added. If you did update to version 1.0.28, did you close out of powershell and re-open it? Because it might have still used the older module if you used the same session after updating.

MrPig91 commented 3 years ago

Thank you for the detailed explanation and the screenshots by the way, was very help to see what you meant.

PlotNoob commented 3 years ago

So looking at the GUI screenshots it appears this is not the latest version, because the latest version has "Job Name" column added. If you did update to version 1.0.28, did you close out of powershell and re-open it? Because it might have still used the older module if you used the same session after updating.

Hi there! Is there anyway for me to pause the processes, update/restart the GUI, and continue those processes?

MrPig91 commented 3 years ago

Not currently, I am sorry. I do want to look into adding that feature in the future though. If you don't want to cancel those plots it might be best pausing all the queues and waiting for the chia processes to finish maybe.

PlotNoob commented 3 years ago

That's what I have done. I then queued up some plots in the Chia Blockchain GUI that will take over for part of the day and then I will transition back again.

So, in your view, do you think the update should fix this?

Just so you know, when I had the issue yesterday, I had two separate jobs that would have totaled over 20 parallel, and it maxed out at 7 between the two jobs combined.

MrPig91 commented 3 years ago

The update should 100% fix it. I really dropped the ball and forgot to have the max runspaces for the runspacepool to be calculated by CPU threads. I had it hard coded at 10 when I was first writing the application and I meant to change it, but long forgot i hard coded it. Each job requires a runspace until it spawns all its queues, and then each queue has its own runspace and the UI requires its own runspace as well. So you have 2 jobs and 7 queues plus the GUI adds up to the hard coded 10.

PlotNoob commented 3 years ago

Wow! I can't thank you enough. Your promptness and support has been astounding.

MrPig91 commented 3 years ago

Glad I could help. I think the main issue has been addressed so I will be closing this issue. Thank you for your feedback and help.

PlotNoob commented 3 years ago

The main issue was addressed.

Question: just to make sure, is there any strong reason not to use two separate instances of this GUI? other than the obvious (like max parallel will not detect parallel plots I'm the other gui--i already verified that).

Michael Shpunt

On Wed, Jun 9, 2021, 12:43 PM Syrius Cleveland @.***> wrote:

Closed #71 https://github.com/MrPig91/PSChiaPlotter/issues/71.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MrPig91/PSChiaPlotter/issues/71#event-4866590003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUL7NPCU4K2D4YHNTZFUIFTTR6R23ANCNFSM46KBQARA .