Enable CONFIG_PSI (pressure stall information)

Discussion about U-Boot and the kernel.

Enable CONFIG_PSI (pressure stall information)

Postby tonipatroni » Thu Sep 03, 2020 7:45 am

Hi!

Using arch linux ARM for my espressobin quite successfully since a few years.

Recently I got used to checking $this->bbcode_second_pass_code('', 'head /proc/pressure/*') instead of load or the like when I want to see if the system is currently bottle necked. This information can give a fast and certain overview if one or even more processes are starved of IO, CPU or memory. I.e., contrary to other load measurements it tells me if the load is too high, not if it's just high (which is totally fine, the system resources are there to be used)

For this to work the KConfig switch CONFIG_PSI has to be enabled. Would it be possible to enable this for arch linux ARM kernel builds? I mean, personally I'm mostly interested in the espressobin ones, but others may profit from this too.

Some more information about this feature can be found in the following two links:
https://www.kernel.org/doc/html/latest/ ... g/psi.html
https://lwn.net/Articles/759781/

thanks!
tonipatroni
 
Posts: 6
Joined: Thu Sep 03, 2020 7:31 am

Re: Enable CONFIG_PSI (pressure stall information)

Postby graysky » Fri Sep 04, 2020 9:37 am

kmihelich is planning to impliment shortly, thank you for the suggestion.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Enable CONFIG_PSI (pressure stall information)

Postby tonipatroni » Fri Sep 04, 2020 11:28 am

Cool, thank you very much!
tonipatroni
 
Posts: 6
Joined: Thu Sep 03, 2020 7:31 am


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 6 guests