Shouldn't this be in userspace?
Shouldn't this be in userspace?
Posted Feb 7, 2026 18:38 UTC (Sat) by ATLief (subscriber, #166135)In reply to: Shouldn't this be in userspace? by RazeLighter777
Parent article: An in-kernel machine-learning library
The only way you’d be able to effectively address all of those scenarios would be with something ML-based. Both AMD and Intel CPUs support setting their own “best” hardware parameters and the kernel enables that by default; our hardware is already using ML to decide on hardware parameters, it’s just that the kernel has very little influence on it.
I don’t think eBPF is well-suited for ML, so any such solution would probably require manual heuristics anyway. I’m not aware of any ML-based solutions in userspace, either. That’s probably because any userspace application would have to fetch so many parameters from the kernel that such an application would only make sense being within the kernel itself.
