by scottlamb · 8y ago · 0 comments
Printing this seems like a good addition to "Linux Performance Analysis in 60,000 Milliseconds". [2] More useful that the load average printed by uptime, which hasn't aged well. Linux mixes cpu-bound and io-bound stuff into one bucket [3] which is a terrible idea, and the number of tasks is confusing at best when you have a mix of thread-per-CPU and thread-per-connection stuff running.
Looks like it's also exported on a per-cgroups basis, which is great.
[1] http://git.cmpxchg.org/cgit.cgi/linux-psi.git/tree/Documenta...
[2] https://medium.com/netflix-techblog/linux-performance-analys...
[3] http://www.brendangregg.com/blog/2017-08-08/linux-load-avera...
I'm sure I'll use this once there's OSes running a stable kernel with these patches, but I don't run non-vendor kernels in production [unless I'm forced to], and depending on kernel features makes it hard to support legacy systems.
edit: you seem to be implying that FB is stupid and likes writing kernel code for no good reason.