Chia-Network / bladebit

A high-performance k32-only, Chia (XCH) plotter supporting in-RAM and disk-based plotting
Apache License 2.0
339 stars 109 forks source link

Add sleep command to pause plotting for N seconds after writing plot #332

Closed swbiggart closed 1 year ago

swbiggart commented 1 year ago

Hey team,

After fussing around with my plotting setup for awhile since the cuda alpha was released, I realized that I could dramatically increase my throughput by sleeping for a few seconds after each plot to allow my copy process to get a head start to limit thrashing on the plot SSD.

This has worked great for me and wanted to see if you were in interested in adding this to the official build.

Currently doesn't support Windows (I see windows.h isn't included at global scope for bug reasons, but since I use sleep in main.cpp, I assume including it there would be just as bad). Also don't have a Windows machine myself, so testing on my end is limited.

Mostly just trying to get this on your radar to judge whether you think others would find this feature useful and happy to make any and all changes to conform to your standards.

Thanks again for your hard work!