<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">I am considering modifying the scheduler and governor to get a jackrabbit <br></div><div class="gmail_default" style="font-family:georgia,serif">start whenever a process is dispatched. Before learning how to, I would <br></div><div class="gmail_default" style="font-family:georgia,serif">like some advice on whether to, and how much to do.<br><br>Example target environment: <br></div><div class="gmail_default" style="font-family:georgia,serif">Ubuntu Desktop 22.04 on i7-11800h Lenovo 5iPro laptop. <br><br>The governors (performance, interactive, schedultil) seem to dispatch each <br></div><div class="gmail_default" style="font-family:georgia,serif">process at moderate CPU clock rate and then maybe they ramp it up over the <br></div><div class="gmail_default" style="font-family:georgia,serif">course of several ticks. IMHO, the system would be more responsive if each <br></div><div class="gmail_default" style="font-family:georgia,serif">process or thread were dispatched at maximum clock rate, and later had its <br></div><div class="gmail_default" style="font-family:georgia,serif">clock rate lowered over time as necessary. "As necessary" means to maintain <br></div><div class="gmail_default" style="font-family:georgia,serif">power and thermal safety. <br><br>Seeking advice:<br>* Is there a better way to achieve the same result?<br>* Is this a dumb thing to do?  <br>* Is it safe to rely on the existing code, firmware, and microcode to handle the</div><div dir="ltr"><span style="font-family:georgia,serif"> <span class="gmail_default">subsequent </span>downclocking, and for my hack to only do the upclocking?</span><br><br><span style="font-family:georgia,serif">Note: Most of the <a href="http://lwn.net">lwn.net</a> articles on the subject seem to be from 2016 .. 2018<br><br>references:<br><a href="https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt">https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt</a><br><a href="https://elixir.bootlin.com/linux/latest/source/kernel/sched/cpufreq_schedutil.c">https://elixir.bootlin.com/linux/latest/source/kernel/sched/cpufreq_schedutil.c</a><br><a href="https://lore.kernel.org/all/?q=schedutil">https://lore.kernel.org/all/?q=schedutil</a></span></div><div dir="ltr"><span style="font-family:georgia,serif"><br></span><div dir="ltr"><div dir="ltr" style="font-family:monospace,monospace;font-size:small"><span style="font-family:georgia,serif">((8-)> David A. Kra                                                   <br></span></div><div dir="ltr" style="font-family:monospace,monospace;font-size:small"><span style="font-family:georgia,serif">mailto:<a href="mailto:dakra137@gmail.com" target="_blank">dakra137@gmail.com</a>   </span>        <br></div><br></div></div></div>