[BUG] included madmax plotter does not continue plotting without waiting for copy
See original GitHub issueDescribe the bug
The now integrated madmax plotter does wait to start plotting the next plot until current plot is copied to the final directory. This happens even the -w
or --waitforcopy
is not set.
Steps to reproduce the behavior:
$ chia plotters madmax --count=-1 -r 6 -t /mnt/ssd/ -2 /mnt/ssd/ -d /mnt/storage/ -c foo -f bar
[...]
Phase 3 took 969.503 sec, wrote 21876873898 entries to final plot
[P4] Starting to write C1 and C3 tables
[P4] Finished writing C1 and C3 tables
[P4] Writing C2 table
[P4] Finished writing C2 table
Phase 4 took 77.7661 sec, final plot size is 108833667393 bytes
Total plot creation time was 3482.33 sec (58.0389 min)
Started copy to /mnt/storage/plot-k32-2021-11-06-14-28-foobar.plot
Copy to /mnt/storage/plot-k32-2021-11-06-14-28-foobar.plot finished, took 622.973 sec, 166.607 MB/ s avg.
Crafting plot 10 out of 100 (2021/11/06 15:37:04)
[...]
Expected behavior Plotter should continue plotting while copying final plot to final direcory, like it did in the standalone version of madmax
Desktop Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focal Intel NUC Kit NUC10i7FNH2 Intel i7-10710U
Additional context Works as expected with the standalone plotter version of madmax cloned from github.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
Thank you for the reports @randomisresistance and @lasers8oclockday1!
I can repro the improper behaviors with the tmptoggle (-G), waitforcopy (-w), and tmpdir2 (-2) options when plotting from the command line. Fixes should be coming shortly.
The (don’t) waitforcopy behavior is more difficult to implement in the GUI. As @madMAx43v3r correctly mentioned, the code for managing GUI plotting generally handles each plot one at a time (-n 1). We’ll look at some options for fixing this.
Not really the place for this but:
You are probably overloading your hardware (especially trying to run to MMplotters in parallel on your system specs). As for slow “pooling” (I assume you mean farming) while copying, you are probably overloading your NAS’ I/O or Network bandwidth.