question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] included madmax plotter does not continue plotting without waiting for copy

See original GitHub issue

Describe 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:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
paninarocommented, Nov 8, 2021

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.

1reaction
DrakeFScommented, Nov 8, 2021

Not really the place for this but:

I’ve got a very slow pooling when 1 embedded madmux plot cteating is going (core i7 - 10gen + 16 GB RAM). And alomost no pooling when 2 madmax plotting processes are going. In logs I saw an increased delay of proofing. It takes <1s 10% of all cases, >1s 90%, >3s 60%, so on. Even if ploting 98% and plot is just copying to my NAS and madmax (probably) doing nothing, pooling are very slow.

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix MadMAx Plotter not installed error : r/chia - Reddit
and I updated and restarted the system. After that the Chia Blockchain started showing the MadMAx plotter was not installed when plotting a...
Read more >
How to fix MadMAx Plotter not installed error on chia Blockchain
Recently I stared Mining(Farming Chia plots after 1.5 weeks of wallet sync;. I am using Ubuntu-22.04 (Running Natively on a SSD).
Read more >
Madmax -w option - Chia Plotting
When I do not include the -w, it still waits for the file copy to complete before kicking off the next plotting job....
Read more >
PSChiaPlotter Plot Manager Update! Replotting, MadMax ...
In this video I go over some updates and changes I made to the PSChiaPlotter plot manager. Some things I have included is...
Read more >
Bladebit Disk vs. madMAx chia plotter - FIGHT - YouTube
Your browser can 't play this video. Learn more. Switch camera.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found