plotman icon indicating copy to clipboard operation
plotman copied to clipboard

Feature: global stagger_phase_limit

Open jneuhauser opened this issue 3 years ago • 4 comments

Describe the request Since phase 1 uses multiple threads, it would be good to also define a global stagger_phase_limit so that we can set a global phase limit for all plots on this machine regardless of the temple drive.

For sure i can use global_stagger_m with an approximate time for phase 1 on my machine, but this needs manual intervention on every machine.

I don't know if this is easily possible with the current code...

jneuhauser avatar May 18 '21 12:05 jneuhauser

I've seen a related PR about thie here: https://github.com/ericaltendorf/plotman/pull/514

jneuhauser avatar May 18 '21 12:05 jneuhauser

Yes, we need this. I'm plotting using multiple 7200rpm hard drives for the temp dirs, and only want one job to be in phase one at a time. However, tmpdir_stagger_phase_major does not respect this across multiple temp dirs, and I end up with all my jobs in phase 1, slowing the computer to the point where I can barely even move the mouse.

ShocWave avatar May 19 '21 09:05 ShocWave

I'm using this since some days for the same purpose as you mentioned...

You can install latest development version with the applied PR by: pip install --force-reinstall git+https://github.com/ericaltendorf/plotman@refs/pull/514/merge

jneuhauser avatar May 20 '21 07:05 jneuhauser

The tmp dir stagger stuff is per drive. What is it about phase 1 that makes you want to limit the jobs there? The multiple threads that you can configure in that phase?

altendky avatar May 21 '21 00:05 altendky