diff --git a/0006-add-cpu-online-fault-isolation.patch b/0006-add-cpu-online-fault-isolation.patch index cac4da05e2e44d486ec34797178467e41bd8a201..b796a48845963d1c62298e5f372bc1045b4496a5 100644 --- a/0006-add-cpu-online-fault-isolation.patch +++ b/0006-add-cpu-online-fault-isolation.patch @@ -441,7 +441,7 @@ index 0000000..a809f91 + .name = "CPU_CE_THRESHOLD", + .units = normal_units, + .value = 18, -+ .limit = 50 ++ .limit = 10000 +}; + +static struct isolation_param cpu_limit = { @@ -453,7 +453,7 @@ index 0000000..a809f91 + .name = "CPU_ISOLATION_CYCLE", + .units = cycle_units, + .value = 24 * 60 * 60, -+ .limit = 72 * 60 * 60 ++ .limit = 30 * 24 * 60 * 60 +}; + +static const char *cpu_state[] = { @@ -579,8 +579,8 @@ index 0000000..a809f91 + } + } + /* set limit of offlined cpu limit according to number of cpu */ -+ cpu_limit.limit = cpus / 3; -+ cpu_limit.value = cpus / 3; ++ cpu_limit.limit = cpus - 1; ++ cpu_limit.value = 0; + + if (get_sockets() < 0 || get_dies() < 0) { + log(TERM, LOG_ERR, "Failed to get sockets or nodes of the system\n"); diff --git a/rasdaemon.spec b/rasdaemon.spec index 0015def46e131deb14ed2c84f03135d805f1efa9..ed3350a1925c717a1f6797740102961daf5bc36c 100644 --- a/rasdaemon.spec +++ b/rasdaemon.spec @@ -1,6 +1,6 @@ Name: rasdaemon Version: 0.6.6 -Release: 6 +Release: 7 License: GPLv2 Summary: Utility to get Platform Reliability, Availability and Serviceability (RAS) reports via the Kernel tracing events URL: https://github.com/mchehab/rasdaemon.git @@ -72,6 +72,11 @@ rm INSTALL %{buildroot}/usr/include/*.h /usr/bin/systemctl enable rasdaemon.service >/dev/null 2>&1 || : %changelog +* Mon Jul 12 2021 luoshengwei - 0.6.6-7 +- Set the threshold limit of CE isolated algorithom to 10000/30D, since the +- original limit 50/3D was too small. And set the threshold limit of offlined +- cpu numbers to cores-1. + * Tue Jun 8 2021 luoshengwei - 0.6.6-6 - fix parameter check in parse_ul_config and add or move log print - to suitable position