-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rasdaemon: add support for memory Corrected Error predictive failure …
…analysis Memory Corrected Error was corrected by hardware. These errors do not require immediate software actions, but are still reported for accounting and predictive failure analysis. Based on statistical results, some actions can be taken to prevent Corrected Error from evoluting to Uncorrected Error. Signed-off-by: wuyun <wuyun.wu@huawei.com> Signed-off-by: lvying6 <lvying6@huawei.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
- Loading branch information
Showing
11 changed files
with
466 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Page Isolation | ||
# Note: Run-time configuration is unsupported, service restart needed. | ||
# Note: this file should be installed at /etc/sysconfig/rasdaemon | ||
|
||
# Specify the threshold of isolating buggy pages. | ||
# | ||
# Format: | ||
# [0-9]+[unit] | ||
# Notice: please make sure match this format, rasdaemon will use default value for exception input cases. | ||
# | ||
# Supported units: | ||
# PAGE_CE_REFRESH_CYCLE: D|d (day), H|h (hour), M|m (min), default is in hour | ||
# PAGE_CE_THRESHOLD: K|k (x1000), M|m (x1000k), default is none | ||
# | ||
# The two configs will only take no effect when PAGE_CE_ACTION is "off". | ||
PAGE_CE_REFRESH_CYCLE="24h" | ||
PAGE_CE_THRESHOLD="50" | ||
|
||
# Specify the internal action in rasdaemon to exceeding a page error threshold. | ||
# | ||
# off no action | ||
# account only account errors | ||
# soft try to soft-offline page without killing any processes | ||
# This requires an uptodate kernel. Might not be successfull. | ||
# hard try to hard-offline page by killing processes | ||
# Requires an uptodate kernel. Might not be successfull. | ||
# soft-then-hard First try to soft offline, then try hard offlining. | ||
# Note: default offline choice is "soft". | ||
PAGE_CE_ACTION="soft" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.