oracle / bpftune

bpftune uses BPF to auto-tune Linux systems
Other
654 stars 55 forks source link

add multiple strategy support #41

Closed alan-maguire closed 11 months ago

alan-maguire commented 11 months ago

tuners can support multiple strategies; strategies should be set in the init() method via bpftune_strategies_add(). A strategy specifies a

The current strategy runs until timeout, then the evaluation functions for all strategies are called; we then switch to the strategy with the highest evaluation. See tests/strategy for an example of a tuner implementing multiple strategies.