-
Notifications
You must be signed in to change notification settings - Fork 24
Description
I have a CHIP suggestion.
If I have understood the procedure correctly, this must first be discussed in advance.
Preventing GPU plotting (compressed plots)
Preface: Since I lack the knowledge how the header+footer of a plot file looks like I can only make assumptions here.
The structure of Chia would have to be rebuilt.
- At startup, the header and the footer are read for each plot.
- Header and Footer must have an identical time specification.
- The time must be at least XX minutes old (e.g. 10min).
- Monitoring of the plots as long as CHIA is farming.
Background:
The GPU farmer would have to finalize all his plots once when starting CHIA.
This alone should discourage the use of compressed plots.
Monitoring of the plots:
By Linux: inotity-ttols or iWatch.
Windows: watchexec/watchman/Fileinfo/glob/
If a file change is detected, this plot must be subject to a lock. Say: Does not participate in the current challenge.
The lock also affects the start. If the plot has been completed "on the fly" it has a challenge lock per se.
Alternative idea:
The size adjustment. If CHIA starts then (I think) all plots are read in anyway. There should certainly be a suitable MB size available.
Compressed plots are not finalized until the challenge query.
Thus, the mere query whether plots are available should not generate a final completion. BUT: I have not yet dealt with GPU plotting. So a little bit of half-knowledge is included.
I find this idea (if you can be implemented so) also very useful for the future.
CHIA does not "violate" its own guidelines to be "green".
GPU plotting (complete plotting) should become official at some point.