Random numbers
Random numbers
Posted May 16, 2020 22:30 UTC (Sat) by Wol (subscriber, #4433)In reply to: Random numbers by mathstuf
Parent article: The weighted TEO cpuidle governor
If your scheme is quicker than mine at doing the calculation, then fine. I was just thinking that less than half the choices would be above average (and the more widely spread the scores are, the smaller the above-average proportion). So if you want one of the high-rankers, at random, just grabbing anything above average isn't a bad way of doing it.
Cheers,
Wol