Skip to content
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

Refactor dynamic tuning and add per-plugin global configuration #626

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on May 28, 2024

  1. Refactor per-plugin dynamic tuning configuration

    Add a new global option "dynamic_plugins" which can be
    used to globally enable dynamic tuning only for specific
    plugins.
    
    Also unify the behavior of the "dynamic" profile option
    for plugins with dynamic capabilities. All such plugins
    now have this option and it is set to True by default.
    Dynamic tuning is then enabled for a specific plugin
    if it is allowed both globally and locally.
    zacikpa committed May 28, 2024
    Configuration menu
    Copy the full SHA
    b17db75 View commit details
    Browse the repository at this point in the history
  2. Allow non-default dynamic tuning implementations

    Let plugins choose between the default (periodic)
    dynamic tuning and their own implementation.
    
    If a plugin uses the default periodic tuning,
    it must implement the update_tuning method
    which is then periodically called by the main
    daemon thread.
    
    Non-periodic implementations may, e.g., start
    their own threads.
    zacikpa committed May 28, 2024
    Configuration menu
    Copy the full SHA
    854cd9e View commit details
    Browse the repository at this point in the history
  3. Make the scheduler plugin dynamic

    Remove the "runtime" option from the scheduler plugin
    and integrate its functionality into dynamic tuning.
    Currently, the scheduler plugin is the only dynamic
    plugin with its own implementation of dynamic tuning
    (not initiated periodically by the main daemon thread).
    
    Adjust default global configuration so that dynamic tuning
    is enabled by default, but only for the scheduler plugin.
    zacikpa committed May 28, 2024
    Configuration menu
    Copy the full SHA
    7476d32 View commit details
    Browse the repository at this point in the history