-
Notifications
You must be signed in to change notification settings - Fork 280
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
phase stagger doesn't work with madmax? #890
Comments
still not work with 4:0, 4:1.. etc.. |
You still have the phase limit set the same as the overall limit. Your bug report seems to claim that plotman is not enforcing the |
Okay, what I need to DO to have only 4 jobs before they get into 4:1 phase and start 4 more after old one's start transferring to dst? I do have only 4 plotting nvme's |
Do you want one job in a phase less than 4:1 on each disk? Also, why do you want to align all of the plots rather than letting them be staggered? |
|
|
4 plots in parallel with 3200 sec max plot job length, 3200/4=800+/-100, when I'm running 1 job I take about 1100-1200 secs so with 256 buckets and without multiplier, so..... |
Again, I am not suggesting you run only a single job. I'm only questioning why you want all four to start at the same time rather than staggered. Why start 4x every 40 minutes rather than 1x every 10 minutes? The stagger just avoids aligning resource usage peaks and valleys in an effort to make smoother continuous 100% usage. Here's my monitoring dashboard in case a visualization helps. I always have about 3x running but I only start one at a time. The left side is a dual Xeon v0 and the right is an i5 NUC. |
This make no sense, there will be anyway an "natural" staggering when some plots in 4th stage and some new just starting, so in long run there will be only 1-3 actively running when last will be in 4 phase. |
I'm not sure what is "natural" about plotman launching plots, but alrighty. Did the question you were asking get a workable answer here? |
nope. |
I need to have only 4 plots in stage <4 and up to 8 in stage >=4 spread between 4 nvmes |
There is no globally applied phase limit. There is a per tmpdir phase limit which is what I addressed above.
I think perhaps instead of "up to 8 in stage >= 4" you mean "up to 8 total"? It seems unlikely that you would need to allow twice as many in stage >=4 than in stages <4. Also, it seems there wouldn't be any such limit needed anyways mostly. But, if we go with "up to 8 total", you can achieve that either via |
I mean not more than 4 TOTAL in stage <4 and new job start only while there <4 jobs in stage <4 SO |
You can limit to one process in a phase less than 4 on each of your individual tmp drives. That is four total processes in a phase less than 4. There is no feature to phase limit globally, independent of any tmp dir. But, I thought you wanted one process in phase < 4 on each tmp drive so it seems like that should be ok for you. |
Okay, yes, now what variables do I need to change to get the result? I'm getting overwhelmed with that stuff atm |
From the config presently listed in the OP, I set logging:
plots: /root/.chia/plotman/logs
user_interface:
use_stty_size: False
commands:
interactive:
autostart_plotting: False
autostart_archiving: False
directories:
tmp:
- /plotting01
- /plotting02
- /plotting03
- /plotting04
dst:
- /plots
- /plots01
- /plots02
scheduling:
tmpdir_stagger_phase_major: 4
tmpdir_stagger_phase_minor: 1
tmpdir_stagger_phase_limit: 1
tmpdir_max_jobs: 2
global_max_jobs: 8
global_stagger_m: 1
polling_time_s: 20
type: madmax
chia:
k: 32
e: False
n_threads: 2
n_buckets: 128
job_buffer: 3389
madmax:
n_threads: 12
n_buckets: 256
n_buckets3: 256
n_rmulti2: 1 Personally, I would set the Yes, staggering introduces a ramp-up period where you aren't using your full resources. If you are doing 10 plots then this matters, but at that scale tuning plotman like we are going through here doesn't matter. If you are going to leave the system plotting for days and weeks, then an hour of ramp up or such is irrelevant compared to maximizing overall throughput. |
Describe the bug
Plot jobs start bypassing the stagger major:minor phase limit's
To Reproduce
Steps to reproduce the behavior, e.g.:
Expected behavior
Limited jobs before stage N:N
System setup:
Config
full configuration
The text was updated successfully, but these errors were encountered: