Bpftune uses BPF to auto-tune Linux systems
1–10 of 78 posts
Re: Bpftune uses BPF to auto-tune Linux systems
#2I'd like to hear from people who are running this. Is it effective? Worth the setup time?
Re: Bpftune uses BPF to auto-tune Linux systems
#3Re: Bpftune uses BPF to auto-tune Linux systems
#4Interesting. But if tuning parameters to their best values were easy, shouldn't the kernel just do that in the first place?
Re: Bpftune uses BPF to auto-tune Linux systems
#5Interesting. But if tuning parameters to their best values were easy, shouldn't the kernel just do that in the first place?
It depends on workload. This tool generates recommended config for that specific machine workload. App Nodes can have completely different recommendations vs Database Nodes. It will be completely different for Workstation.
Re: Bpftune uses BPF to auto-tune Linux systems
#6Re: Bpftune uses BPF to auto-tune Linux systems
#7Interesting. But if tuning parameters to their best values were easy, shouldn't the kernel just do that in the first place?
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.
Re: Bpftune uses BPF to auto-tune Linux systems
#8Interesting. But if tuning parameters to their best values were easy, shouldn't the kernel just do that in the first place?
Distributions turning it on by default is another story. Maybe it deserves to be shiped on all the time but that's not the same thing as being part of the kernel.
Re: Bpftune uses BPF to auto-tune Linux systems
#9Is tuning the TCP buffer size for instance worth it?
Re: Bpftune uses BPF to auto-tune Linux systems
#10After installation -> CachyOS Hello -> Apps/Tweaks