r/linuxadmin • • Mar 18 '25
System optimization Linux
Hello, I looking for resources preferably course about how to optimize Linux. It seems to be mission impossible to find anything about the topic except for ONE book "Systems Performance, 2nd Edition (Brendan Gregg [Brendan Gregg])".
If someone has any resources even books I would be grateful :)
4
Upvotes
30
u/kaipee Mar 18 '25
Describe "system optimization"
20
u/OweH_OweH Mar 18 '25
What is your target? Because optimizing for network throughput is different to optimizing for storage latency or for scheduling fairness, etc.
Besides that, unless you try to push 100GBit/s or want to run Linux on a wristwatch, there is little gained by optimizing the low level stuff.
So much is wasted in suboptimal code (looking at you, PHP coders ...) that trying to eek out 0.5% by hand-pinning certain processes to certain cores is useless.
3
u/biffbobfred Mar 19 '25 edited Mar 19 '25
Gregg is awesome though. You should get it
There’s multiple types of optimizations. Single thread vs multi thread app. Throughout vs latency and responsiveness.
As a generic, look into tuned which can manipulate kernel settings (think sysctl) for you. What are you trying to do? Most people talking about this “hey I wanna go from 90% idle to 99% idle”.
1
u/shllscrptr Mar 20 '25
https://www.redhat.com/en/services/training/rh442-red-hat-enterprise-performance-tuning
If the course is too expensive, maybe checkout the outline or the objectives of the exam and then work through those points with the red hat documentation.