←back to thread

256 points BSDobelix | 1 comments | | HN request time: 0.209s | source
Show context
usr1106 ◴[] No.42163756[source]
Interesting. But if tuning parameters to their best values were easy, shouldn't the kernel just do that in the first place?
replies(5): >>42163778 #>>42163824 #>>42163880 #>>42164567 #>>42167444 #
1. onetoo ◴[] No.42163824[source]
This doesn't necessarily find the best parameters, and it doesn't necessarily do it easily. From my reading, it will converge on a local optimum, and it may take some time to do that.

In theory, I don't see why the kernel couldn't have a parameter-auto-tune similar to this. In practice, I think the kernel has to work in so many different domains, it'd be impossible to land on a "globally good enough" set of tuning heuristics.

I'm far from a kernel developer, so I'm ready to be corrected here.

IMO if we ever see something like this deployed widely, it will be because a popular distribution decided to install it by default.