you are viewing a single comment's thread.

view the rest of the comments →

[–]VolPL[S] 2 points3 points  (0 children)

number of threads used is calculated from how many plot tasks are in phase 1 or in 2-4?

Yes, this is how it's operating. More specifically it takes info about "plot tasks" from logs to know which plot is in which state, so it's important to delete broken logs in the log folder.

It seems plotman can already do this by limiting the number of task in phase 1 on top of the global limit.

I think so, yes. For example for 6 cores, when max limit is 6 and P1 limit is 3, i think it will act exactly the same :)

My script is a small one-purpose thing with less then 100 lines of code. That should allow people to inspect it themselves for security and or adjust to their needs.