Random numbers
Random numbers
Posted May 14, 2020 22:57 UTC (Thu) by corbet (editor, #1)In reply to: The weighted TEO cpuidle governor by Paf
Parent article: The weighted TEO cpuidle governor
Bear in mind that the number of sleep states is typically rather larger than the three I showed in the simplified example. If you are going to pick between four choices, each of which has a probability between, say, 18-22%, does it really make sense to always pick the highest? In a sense, this is the mechanism for tie breaking.
