MrPig91 / PSChiaPlotter

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

Cannot call method on a null value? #97

Closed mikeydell closed 3 years ago

mikeydell commented 3 years ago

Hello, Not sure what I'm running up against here, currently my chia plotter has 8 individual drives for plotting. But anytime I try to go past 6 simultaneous jobs I get a popup with the message "cannot call method on a null value" I've looked in the app trying to see if I am missing a setting for max jobs but I'm not seeing anything. screen2

mikeydell commented 3 years ago

I'm also including a screenshot of my system specs, as I don't believe it's related to my systems ability but who knows? screen3

sk00t3r commented 3 years ago

I think you would benefit from creating a storage pool with your 8 sas drives (or better yet if you have a raid card) and set them up in a raid 0 config. This would give you ~2.4TB and 8x read and write speed gain. This would also help with parallel plotting and queue delay. Would more than likely see an increase in plots per day.

As for the error I am not 100% sure but I don't think you have enough free space on G:, H:, E:, & F: for the temporary files. Run time is only a few minutes and your free space is under 120GB.

It looks like you tried to start 8 jobs at the same time with 4 threads each, You only have a total of 32 threads not sure if this would have any impact or not but its usually not good to leave nothing left for other OS functions. Although when I "over-provision" my threads it does not seem to much care.

I also can not replicate the issue that you are seeing at 6 current runs. What is the status of your other jobs (the ones after 6) in the "Job Queues"? queue-1

phpfrog commented 3 years ago

As for the error I am not 100% sure but I don't think you have enough free space on G:, H:, E:, & F: for the temporary files. Run time is only a few minutes and your free space is under 120GB.

I agree, doesn't look like enough free space on the drives. It at least fits the code criteria where it errors.

mikeydell commented 3 years ago

I think you would benefit from creating a storage pool with your 8 sas drives (or better yet if you have a raid card) and set them up in a raid 0 config. This would give you ~2.4TB and 8x read and write speed gain. This would also help with parallel plotting and queue delay. Would more than likely see an increase in plots per day.

As for the error I am not 100% sure but I don't think you have enough free space on G:, H:, E:, & F: for the temporary files. Run time is only a few minutes and your free space is under 120GB.

It looks like you tried to start 8 jobs at the same time with 4 threads each, You only have a total of 32 threads not sure if this would have any impact or not but its usually not good to leave nothing left for other OS functions. Although when I "over-provision" my threads it does not seem to much care.

I also can not replicate the issue that you are seeing at 6 current runs. What is the status of your other jobs (the ones after 6) in the "Job Queues"? queue-1

I will try putting all the drives into raid 0 as you suggested, I'm still quite new to Chia plotting so learning on the fly lol. I was watching some videos on youtube that suggested this config I'm using now but it seems quite slow as you have pointed out. Monday I'm adding two nvme drives into the config so I'm hoping that speeds the process up. As for drive space what happened was I paused the plots and tried creating a new job to get the error for the screen shot, looking back I think what happened is I possibly chose the same drive twice in a row without realizing it and that is what caused the error,