-
Notifications
You must be signed in to change notification settings - Fork 206
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
kernel parameter configuration API and chain-side controls #5237
Comments
Have to determine for each param:
@warner and @JimLarson should discuss further. Would prefer to have Cosmic Swingset control this, not Zoe. |
@FUDCo will start work on the swingset side of this. Some of these parameters are stored on a per-vat basis, and should probably be controlled through each vat's admin facet. Chip warns against using a bunch of tiny one-parameter methods (e.g. Ideally,
Anything that we can control with The other options are kernel-wide, e.g. I don't think we'll provide a per-vat maximum For any parameters that are managed through @FUDCo 's first task here is to identify the things we might need to change, and provide a swingset control mechanism for each. Then he'll coordinate with @JimLarson to make sure the non-Big-JS-Hammer ones have a suitable cosmos-activated invocation path. |
What is the Problem Being Solved?
We have a couple of kernel parameters that may need to be tuned after launch, as we learn more about the way things perform. We expect to have more in the future.
reapInterval
aka BOYD aka BringOutYourDead timing: Performance impact of BOYD #4160 is about choosing the initial valueFor all of these knobs, we need a plan for how they'll be changed after launch.
Some of them are currently stored in the DB, separately, for each vat. Some are (or will be) kernel-wide. Most do not yet have APIs to change them. We could add new methods to
vatAdminService
to change them from within JS, in which case the "Big JS Hammer" (bootstrap.js) upgrade method would be the governance mechanism that do the changes. For the per-vat items, we could methods to each vat'sadminFacet
to manipulate the values, which might allow Zoe to make the changes.Or, we could add
controller.*
methods to changes things. That would leavecosmic-swingset
holding the controls, and would require some cosmos-side governance mechanism to control them.Some of these parameters might be needed to pause (or unpause) Swingset entirely. Once Swingset is paused or broken somehow, we won't be able to get a message to JS, so the unpause button must be invoked by the cosmos side.
We need both kernel-provided control APIs, and code within contracts or cosmic-swingset that will use these APIs upon completion of some kind of governance action.
Description of the Design
TBD
Security Considerations
Test Plan
The text was updated successfully, but these errors were encountered: