News for hackers. Stuff that matters.
Re:Explaining top(1) on FreeBSD by raj2569 on Thursday October 21, 2021 @10:35AM (#28945060)
> The topic of load average is generally very broad and it is calculated differently on various UNIX systems, so a separate article may be dedicated for just that.

I have never seen an article explaining how the load average in Linux is calculated.

Re:Explaining top(1) on FreeBSD by 0xdeadbeee on Thursday October 21, 2021 @11:36AM (#28946007)
One thing about load average on Linux which I never really understood was the inclusion of processes waiting for I/O, I never really got a satisfying explantation until I bumped into this post a few years ago: https://www.brendangregg.com/blog/2017-08-08/linux-load-aver...
Re:Explaining top(1) on FreeBSD by 5e92cb50239222b on Thursday October 21, 2021 @11:03AM (#28945477)
Tangentially related: modern kernels have a much better metric (PSI, or pressure stall information)

https://lwn.net/Articles/759781/

https://lwn.net/Articles/775971/

Re:Explaining top(1) on FreeBSD by da_chicken on Thursday October 21, 2021 @12:43PM (#28947189)
Well, that's still an aggregated value that someone decided to calculate based on what they thought would work best for what they're looking for. It's not necessarily more a correct definition of load, just one that is more appropriately actionable for the problems it's designed for.

In other words, PSI is "better" for some definition of "better".

Re:Explaining top(1) on FreeBSD by mritzmann on Thursday October 21, 2021 @11:00AM (#28945444)
The traffic analogy is a good explanation. Here you go: https://scoutapm.com/blog/understanding-load-averages
Re:Explaining top(1) on FreeBSD by savoyard on Thursday October 21, 2021 @02:00PM (#28948464)
“Examining Load Average” by Ray Walker:

https://www.linuxjournal.com/article/9001