ENUM DIM_TUNE_STATE(9)
π enum dim_tune_state(9) β the Kernel API Manual tea π«Ά
okay so bestie, welcome to the glow-up era of DIM algorithm tune states β¨ this whole page lives in the Kernel API Manual and honestly it's short but it ate.
πΈ SYNOPSIS πΈ
here's the whole enum, no cap, exactly as it is:
enum dim_tune_state {
DIM_PARKING_ON_TOP ,
DIM_PARKING_TIRED ,
DIM_GOING_RIGHT ,
DIM_GOING_LEFT
};
β Constants β
these four icons are the entire personality of this enum, let's get into them π
DIM_PARKING_ON_TOPβ the algorithm found a local top point, and it exits on a significant difference. it's giving "peaked, moving on" πDIM_PARKING_TIREDβ the algorithm found a deep top point β and the rule is, don't exit iftired > 0. she's exhausted but she's staying πDIM_GOING_RIGHTβ the algorithm is currently trying higher moderation levels πDIM_GOING_LEFTβ the algorithm is currently trying lower moderation levels π
π¦ Description π¦
lowkey the whole point: these will determine which action the algorithm should perform. that's it, that's the vibe check π
π SEE ALSO π
all the friends in the group chat, fr fr β the kernel file ./include/linux/dim.h plus: struct dim_cq_moder(9), struct dim_irq_moder(9), struct dim_sample(9), struct dim_stats(9), struct dim(9), enum dim_cq_period_mode(9), enum dim_state(9), enum dim_stats_state(9), enum dim_step_result(9), net_dim_init_irq_moder(9), net_dim_free_irq_moder(9), net_dim_setting(9), net_dim_work_cancel(9), net_dim_get_rx_irq_moder(9), net_dim_get_tx_irq_moder(9), net_dim_set_rx_mode(9), net_dim_set_tx_mode(9), dim_on_top(9), dim_turn(9), dim_park_on_top(9), dim_park_tired(9), dim_calc_stats(9), dim_update_sample(9), dim_update_sample_with_comps(9), net_dim_get_rx_moderation(9), net_dim_get_def_rx_moderation(9), net_dim_get_tx_moderation(9), net_dim_get_def_tx_moderation(9), net_dim(9), rdma_dim(9). mwah, iconic list π
ngl the source of all this is ./include/linux, and this lil beauty is dated October 2026 β that's the whole footer, bestie, so consider it signed off π«Άβ¨ byeeee π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms