-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support not counting final transfer phase against plot processes #825
Comments
i believe plotman just runs madmax at -n 1 over and over where as it should be set to -n -1 which is infinite plots within MadMax -n, --count arg Number of plots to create (default = 1, -1 = infinite) |
Sounds like the plotting itself is fine, not slow. But, you don't want plot processes in the final transfer stage to count against the configured limits. That was actually discussed even before madMAx. Also, you commented about being limited to one total job at a time? I ran it with more than one at a time so I will need more info to debug that. |
Yes, so when you run vanilla MadMax in windows, when plot1 hits stage 4 and starts the transfer to the final dest plot2 starts and the transfer continues in the background, (this is achieved by setting the -n switch in madmax to anything over 1 (-1 for infinite)) however the plotman integration waits for the final transfer of plot 1 to complete before the process starts again for plot 2. |
the functionality and usage of -n switch is discussed here madMAx43v3r/chia-plotter#662 |
Yeah, doesn't the Chia Network plotter have |
I had the same expectation - thus adapted phases to recognise p4 + p5 (which starts as soon as p4 is done). mk01@bd46a56 then we make use of stagger also for madmax, and by setting it to those values:
and increasing working dir max jobs to 2, we make plotman spawn new plotter process once the copying stage starts (but otherwise computation/sorting/io stopped already). |
@mk01 do you have any idea when this will be merged into main? |
oh, perhaps my mistake, I should have been clear in the msg. the snippet linked from my fork was meant more like - go grab it, apply to job.py, adapt config and report back (kind of do it yourself fix for time being) - so that @altendky doesn't need to waste time with further investigation - as it indeed falls back under the topic
(but it definitelly starts with tagging additional stages pass 3:x.) all this being said, there was no legit PR for that as from @altendky's comment #825 (comment) I got the impression that there was some thinking already spent on that, so there might be something in the backlog already. @altendky if not on your top list i'm fine to prepare some starting PR. |
Hi @mk01 I am running plotman within the Machinaris docker container so it is not so simple for me to just edit the job.py and I have never had a go at building a docker container. I will try and give it a go and report back if I am able to get it working |
plotman already tracks into major phase 4 for the Chia Network plotter. I thought we had that for madMAx as well, but there were also some recent fixes. And more might be needed... I wouldn't say there's been a lot of thinking on this but I do have some structural work I want to do that would probably make PRs need to be reworked so it might be good to hold off at this point. |
Any news on this? It's costing me ~15 min per plot waiting for the plot to transfer over the network. If it's going somewhere I'll hold off on using the fix from @mk01 otherwise I'll try his code out. |
I think the merged PR https://github.com/ericaltendorf/plotman/pull/869/files included the "extra" phase? |
Thanks! Seems like next release will have some good madmax improvements |
When using madmax plotter on a windows machine as soon as it starts the transfer to the final location the next plot starts, however, when using madmax on plotman it seems to wait for the transfer to the final destination to complete before starting the next plot, is there a way to set the amount of plots or inifite loop as per the madmax wiki so that this happen and you dont need to wait for the transfer to finish
Describe the bug
It appears plotmans integration with MadMax allows for 1 single plot at a time where as in MadMax standalone you can set the -n tag which can be set for infinite or an amount and this allows for cross over when copying to the final dest drive. In my testing with 16 cores on a windows 10 machine I am able to get 40 minute plots as it doesnt include the copy to dest, however on my linux machine using plotman with 24 cores I am only able to achieve 50 minute plots as the next plot doesnt start until the copy is finished.
To Reproduce
Run plotman using madmax and see when the next plot starts after the copy starts or after the copy finishes
Expected behavior
The next plot should start as soon as the copy to final dest starts
The text was updated successfully, but these errors were encountered: