[04/13] kernel: Enable Pressure Stall Information

Message ID 20210917114229.10704-4-michael.tremer@ipfire.org
State New
Headers show
Series [01/13] kernel: Change timer tick to 1000Hz | expand

Commit Message

Michael Tremer Sept. 17, 2021, 11:42 a.m. UTC
This is a new type of metric to find out what resource is currently a
bottleneck for the whole system. We might use this for graphs.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/kernel/kernel.config.aarch64-ipfire | 3 ++-
 config/kernel/kernel.config.armv6l-ipfire  | 3 ++-
 config/kernel/kernel.config.i586-ipfire    | 3 ++-
 config/kernel/kernel.config.x86_64-ipfire  | 3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

Comments

Peter Müller Sept. 18, 2021, 4:16 p.m. UTC | #1
Acked-by: Peter Müller <peter.mueller@ipfire.org>

> This is a new type of metric to find out what resource is currently a
> bottleneck for the whole system. We might use this for graphs.
> 
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
>   config/kernel/kernel.config.aarch64-ipfire | 3 ++-
>   config/kernel/kernel.config.armv6l-ipfire  | 3 ++-
>   config/kernel/kernel.config.i586-ipfire    | 3 ++-
>   config/kernel/kernel.config.x86_64-ipfire  | 3 ++-
>   4 files changed, 8 insertions(+), 4 deletions(-)
> 
> diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kernel.config.aarch64-ipfire
> index 589e0440d..d0ec69ba9 100644
> --- a/config/kernel/kernel.config.aarch64-ipfire
> +++ b/config/kernel/kernel.config.aarch64-ipfire
> @@ -95,7 +95,8 @@ CONFIG_TASKSTATS=y
>   CONFIG_TASK_DELAY_ACCT=y
>   CONFIG_TASK_XACCT=y
>   CONFIG_TASK_IO_ACCOUNTING=y
> -# CONFIG_PSI is not set
> +CONFIG_PSI=y
> +# CONFIG_PSI_DEFAULT_DISABLED is not set
>   # end of CPU/Task time and stats accounting
>   
>   CONFIG_CPU_ISOLATION=y
> diff --git a/config/kernel/kernel.config.armv6l-ipfire b/config/kernel/kernel.config.armv6l-ipfire
> index 1dc5b1c58..a23906796 100644
> --- a/config/kernel/kernel.config.armv6l-ipfire
> +++ b/config/kernel/kernel.config.armv6l-ipfire
> @@ -103,7 +103,8 @@ CONFIG_TASKSTATS=y
>   CONFIG_TASK_DELAY_ACCT=y
>   CONFIG_TASK_XACCT=y
>   CONFIG_TASK_IO_ACCOUNTING=y
> -# CONFIG_PSI is not set
> +CONFIG_PSI=y
> +# CONFIG_PSI_DEFAULT_DISABLED is not set
>   # end of CPU/Task time and stats accounting
>   
>   CONFIG_CPU_ISOLATION=y
> diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel.config.i586-ipfire
> index ff94e949e..9c49a90d8 100644
> --- a/config/kernel/kernel.config.i586-ipfire
> +++ b/config/kernel/kernel.config.i586-ipfire
> @@ -111,7 +111,8 @@ CONFIG_TASKSTATS=y
>   CONFIG_TASK_DELAY_ACCT=y
>   CONFIG_TASK_XACCT=y
>   CONFIG_TASK_IO_ACCOUNTING=y
> -# CONFIG_PSI is not set
> +CONFIG_PSI=y
> +# CONFIG_PSI_DEFAULT_DISABLED is not set
>   # end of CPU/Task time and stats accounting
>   
>   CONFIG_CPU_ISOLATION=y
> diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire
> index 43c483f00..0a1f67074 100644
> --- a/config/kernel/kernel.config.x86_64-ipfire
> +++ b/config/kernel/kernel.config.x86_64-ipfire
> @@ -115,7 +115,8 @@ CONFIG_TASKSTATS=y
>   CONFIG_TASK_DELAY_ACCT=y
>   CONFIG_TASK_XACCT=y
>   CONFIG_TASK_IO_ACCOUNTING=y
> -# CONFIG_PSI is not set
> +CONFIG_PSI=y
> +# CONFIG_PSI_DEFAULT_DISABLED is not set
>   # end of CPU/Task time and stats accounting
>   
>   CONFIG_CPU_ISOLATION=y
>

Patch

diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kernel.config.aarch64-ipfire
index 589e0440d..d0ec69ba9 100644
--- a/config/kernel/kernel.config.aarch64-ipfire
+++ b/config/kernel/kernel.config.aarch64-ipfire
@@ -95,7 +95,8 @@  CONFIG_TASKSTATS=y
 CONFIG_TASK_DELAY_ACCT=y
 CONFIG_TASK_XACCT=y
 CONFIG_TASK_IO_ACCOUNTING=y
-# CONFIG_PSI is not set
+CONFIG_PSI=y
+# CONFIG_PSI_DEFAULT_DISABLED is not set
 # end of CPU/Task time and stats accounting
 
 CONFIG_CPU_ISOLATION=y
diff --git a/config/kernel/kernel.config.armv6l-ipfire b/config/kernel/kernel.config.armv6l-ipfire
index 1dc5b1c58..a23906796 100644
--- a/config/kernel/kernel.config.armv6l-ipfire
+++ b/config/kernel/kernel.config.armv6l-ipfire
@@ -103,7 +103,8 @@  CONFIG_TASKSTATS=y
 CONFIG_TASK_DELAY_ACCT=y
 CONFIG_TASK_XACCT=y
 CONFIG_TASK_IO_ACCOUNTING=y
-# CONFIG_PSI is not set
+CONFIG_PSI=y
+# CONFIG_PSI_DEFAULT_DISABLED is not set
 # end of CPU/Task time and stats accounting
 
 CONFIG_CPU_ISOLATION=y
diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel.config.i586-ipfire
index ff94e949e..9c49a90d8 100644
--- a/config/kernel/kernel.config.i586-ipfire
+++ b/config/kernel/kernel.config.i586-ipfire
@@ -111,7 +111,8 @@  CONFIG_TASKSTATS=y
 CONFIG_TASK_DELAY_ACCT=y
 CONFIG_TASK_XACCT=y
 CONFIG_TASK_IO_ACCOUNTING=y
-# CONFIG_PSI is not set
+CONFIG_PSI=y
+# CONFIG_PSI_DEFAULT_DISABLED is not set
 # end of CPU/Task time and stats accounting
 
 CONFIG_CPU_ISOLATION=y
diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire
index 43c483f00..0a1f67074 100644
--- a/config/kernel/kernel.config.x86_64-ipfire
+++ b/config/kernel/kernel.config.x86_64-ipfire
@@ -115,7 +115,8 @@  CONFIG_TASKSTATS=y
 CONFIG_TASK_DELAY_ACCT=y
 CONFIG_TASK_XACCT=y
 CONFIG_TASK_IO_ACCOUNTING=y
-# CONFIG_PSI is not set
+CONFIG_PSI=y
+# CONFIG_PSI_DEFAULT_DISABLED is not set
 # end of CPU/Task time and stats accounting
 
 CONFIG_CPU_ISOLATION=y