CN115421954A - Memory error reporting funnel method, device, terminal and storage medium - Google Patents
Memory error reporting funnel method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN115421954A CN115421954A CN202211054522.0A CN202211054522A CN115421954A CN 115421954 A CN115421954 A CN 115421954A CN 202211054522 A CN202211054522 A CN 202211054522A CN 115421954 A CN115421954 A CN 115421954A
- Authority
- CN
- China
- Prior art keywords
- memory
- error
- value
- correctable
- reporting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000015654 memory Effects 0.000 title claims abstract description 180
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000007246 mechanism Effects 0.000 claims description 20
- 238000012423 maintenance Methods 0.000 abstract description 15
- 230000009897 systematic effect Effects 0.000 abstract description 6
- 238000012545 processing Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/073—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a memory management context, e.g. virtual memory or cache management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
- G06F11/0781—Error filtering or prioritizing based on a policy defined by the user or on a policy defined by a hardware/software module, e.g. according to a severity level
Abstract
The invention relates to the field of memory error reporting, and particularly discloses a memory error reporting funnel method, a device, a terminal and a storage medium, wherein the number of error omission of a memory in unit time can be corrected and is recorded as n; recording the number of correctable errors of actually generated memories in real time, recording the correctable errors as N, and increasing the value of N by 1 when one memory is added; calculating a memory correctable error trigger value, recording as D, and D = N-s x N; wherein s refers to the recorded duration of the current stage, and a stage is formed between two adjacent zero clearing operations of N; and triggering and reporting a log when the value of D reaches a preset number threshold, and clearing the value of N. The invention avoids that each correctable error triggers log alarm, and simultaneously can report in time when a large number of error reports are met, thereby improving the judgment accuracy of operation and maintenance personnel, reducing the workload of the operation and maintenance personnel, and reducing the problem of log omission of other components or systematic recording.
Description
Technical Field
The invention relates to the field of memory error reporting, in particular to a memory error reporting funnel method, a device, a terminal and a storage medium.
Background
Due to the advantages of low power consumption, low price, strong expansibility and the like, the ARM server is gradually increased in the field of servers. The memory is an important component of the server, and the reliability of the memory occupies an important position in operation and maintenance.
Currently, the error reporting mechanism of the ARM server for the memory is that the memory generates a correctable error, the server reports a correctable error reporting mechanism of a small amount of or infrequent memory, which has limited influence on the normal operation of the server, and only when a large amount of memory reports errors in a short time, the operation of the server is influenced, and at this time, the memory needs to be replaced or firmware needs to be upgraded for repair. This results in a correctable error in the memory, and the way that the server reports an error affects the judgment of the server operation and maintenance staff, and cannot determine whether the current memory is really completely faulted, and every memory correctable fault reporting will record, and also results in that when the number of logs in the log management system reaches a certain limit, other logs are cleared, so that the operation and maintenance staff can miss the log problem recorded systematically or other components.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method, an apparatus, a terminal and a storage medium for an error-reporting funnel of a memory, which are used for performing omission processing on correctable errors of the memory, avoiding that each correctable error triggers a log alarm, and simultaneously reporting out timely when a large number of errors are reported, thereby improving the judgment accuracy of operation and maintenance personnel, reducing the workload of the operation and maintenance personnel, and reducing the problem of log omission of other components or systematic recording.
In a first aspect, a technical solution of the present invention provides a memory error reporting funnel method, including the following steps:
configuring the number of correctable error omissions in the memory in unit time, and recording the number as n;
recording the number of correctable errors of the actually generated memories in real time, recording the number as N, and increasing the value of N by 1 when one memory is added to correct errors;
calculating a memory correctable error trigger value, and recording the memory correctable error trigger value as D, wherein D = N-s × N; wherein s refers to the recorded duration of the current stage, and a stage is formed between two adjacent zero clearing operations of N;
and triggering and reporting a log when the value of D reaches a preset number threshold, and clearing the value of N.
Further, the method comprises the following steps:
and closing the funnel mechanism to enable the value of N to be 0, triggering and reporting a log when the value of N reaches a preset number threshold value, and clearing the value of N.
Further, configuring the number of misses that can be corrected by the memory in unit time specifically includes:
configuring control time length, wherein the unit of the control time length is minutes;
the number of configuration omissions;
calculating the error omission amount correctable by the memory in unit time according to the control time and the omission amount; wherein, the number of correctable error misses in the memory per unit time = miss number/(control duration × 60).
Further, the method specifically comprises the following steps:
the control time length or the missing number is configured to be 0, the memory can correct the error missing number to be 0 in unit time, and the funnel mechanism is closed.
Further, the method specifically comprises the following steps:
and adding a first option and a second option in the BIOS, wherein the first option is used for configuring the control duration, and the second option is used for configuring the omission number.
Further, the method specifically comprises the following steps:
and a register is additionally arranged in the BIOS and used for recording the number of correctable errors of the actually generated memory in real time.
In a second aspect, the present invention provides a memory error reporting funnel device, including,
a parameter configuration module: configuring the number of correctable error omissions in the memory in unit time, and recording the number as n;
an error number recording module: recording the number of correctable errors of actually generated memories in real time, recording the correctable errors as N, and increasing the value of N by 1 when one memory is added;
a log trigger calculation module: calculating a memory correctable error trigger value, and recording the memory correctable error trigger value as D, wherein D = N-s × N; wherein s refers to the recorded duration of the current stage, and a stage is formed between two adjacent zero clearing operations of N;
a log reporting module: when the value of D reaches a preset number threshold value, triggering and reporting a log, and triggering an error number recording module to clear the value of N.
Further, the parameter configuration module configures the number of error misses to be correctable by the memory within a unit time, and specifically includes:
configuring control time length, wherein the unit of the control time length is minutes;
the number of configuration omissions;
calculating the error omission amount correctable by the memory in unit time according to the control time and the omission amount; wherein, the number of correctable error omissions in the memory = the number of misses/(control duration × 60);
when the control time length or the omission number is configured to be 0, the error omission number which can be corrected by the memory in unit time is 0, the funnel mechanism is closed, and at the moment, when the value of N reaches the preset number threshold value, the log reporting module triggers and reports a log, and the value of N is cleared.
In a third aspect, a technical solution of the present invention provides a terminal, including:
the memory is used for storing a memory error-reporting funnel program;
and the processor is used for realizing the steps of the memory error-reporting funnel method when the memory error-reporting funnel program is executed.
In a fourth aspect, a technical solution of the present invention provides a computer-readable storage medium, where a memory error-reporting funnel program is stored, and when executed by a processor, the memory error-reporting funnel program implements the steps of the memory error-reporting funnel method according to any one of the above-mentioned steps.
Compared with the prior art, the memory error-reporting funnel method, the device, the terminal and the storage medium provided by the invention have the following beneficial effects: the method has the advantages that the omission processing is carried out on the correctable errors of the memory according to the number of the correctable errors of the memory in the configured unit time, the log reporting operation is triggered based on the correctable error number of the omitted memory, the log alarm is prevented from being triggered by each correctable error, meanwhile, the log alarm can be reported timely when a large number of errors are reported, the judgment accuracy of operation and maintenance personnel is improved, the workload of the operation and maintenance personnel is relieved, and the log omission problem of other parts or systematic recording is reduced.
Drawings
In order to clearly illustrate the embodiments or technical solutions of the present application, the drawings used in the embodiments or technical solutions of the present application will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flow chart illustrating a method for a memory error reporting funnel according to an embodiment of the present invention.
Fig. 2 is a schematic block diagram of a memory error reporting hopper device according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Fig. 1 is a flowchart illustrating a method for a memory error-reporting funnel according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps.
S1, configuring the number of error omissions which can be corrected by the memory in unit time, and recording the number as n.
In practical implementation, the number of correctable memory misses per unit time is the number of correctable memory misses per second, for example, n =5 is set, and the final number of correctable memory misses per second needs to be subtracted from the actual number recorded by 5.
It can be understood that the actual value of the number of error omissions can be corrected by configuring the memory in the unit time according to actual needs, and the specific setting of the actual value does not affect the implementation of the embodiment.
And S2, recording the number of correctable errors of the actually generated memories in real time, and recording the number as N, wherein the value of N is increased by 1 when one memory is added.
The server system is monitored, and every time the server system detects that one memory correctable error is produced, the value of the number N of the actually produced memory correctable errors recorded in the server system is increased by 1, N is the number of the actually produced memory correctable errors of the server system.
S3, calculating a memory correctable error trigger value, and recording the memory correctable error trigger value as D, wherein D = N-S × N; wherein s refers to the recorded duration of the current stage, and a stage is formed between two adjacent zero clearing operations of N.
And S4, triggering and reporting a log when the value of D reaches a preset number threshold, and clearing the value of N.
The funnel mechanism of this embodiment uses the value obtained by subtracting the number of errors to be missed from the number of correctable errors in the actually generated memory as the trigger log condition. Specifically, D = N-s × N, for example, the number N of correctable errors of the actually generated memory is 10, the operation is performed for 5 seconds at this time, and the number N =1 of correctable error omissions of the configured memory per second, then D =10-5 × 1=5, and then it is determined whether the value of D reaches a preset number threshold, and if the preset number threshold is reached, a log is triggered to be reported, and the value of N is cleared at the same time.
It should be noted that s refers to the recorded duration of the current phase, and a phase is formed between two adjacent zero clearing operations of N, that is, after N is cleared each time, the value of s is recalculated from 0.
According to the memory error reporting funnel method provided by the embodiment of the invention, the error omission amount can be corrected according to the configured unit time memory, the omission processing can be carried out on the correctable errors of the memory, the log reporting operation can be triggered based on the correctable error amount of the missed memory, the log alarm can be prevented from being triggered by each correctable error, meanwhile, the log alarm can be timely reported when a large number of errors are reported, the judgment accuracy of operation and maintenance personnel is improved, the workload of the operation and maintenance personnel is lightened, and the log omission problem of other components or systematic recording is reduced.
On the basis of the above example, as a preferred implementation, the method further comprises the following steps: and closing the funnel mechanism to enable the value of N to be 0, triggering and reporting a log when the value of N reaches a preset number threshold, and clearing the value of N.
The user can start the funnel mechanism or close the funnel mechanism as required, when the funnel mechanism is closed, the value of N is 0, the number N of correctable errors of the actually generated memory recorded at the moment is the trigger condition, when the value of N reaches the preset number threshold, a log is triggered and reported, and the value of N is cleared.
On the basis of the above embodiment, as a preferred implementation, configuring the number of correctable misses per unit time in a memory specifically includes:
configuring control time length, wherein the unit of the control time length is minute;
the number of configuration omissions;
calculating the error omission amount correctable by the memory in unit time according to the control time and the omission amount; wherein, the number of correctable error misses per unit time = miss number/(control duration 60).
In consideration of convenience of configuration parameters, as a preferred embodiment, two configuration options are set, one is a control time length, and one is a miss number, that is, the number of misses required in the control time length, for example, setting the control time length to be 1 minute, and the miss number to be 60, indicates that 60 memories are required to be missed in 1 minute to correct errors. After the two parameters are configured, the system automatically calculates the number of correctable error omissions in a unit time, wherein the unit time is 1 second.
On the basis of the above embodiment, as a preferred implementation, the control duration or the number of misses is configured to be 0, so that the number of error misses in the memory in unit time can be corrected to be 0, and the funnel mechanism is turned off.
If the user needs to close the funnel mechanism, at least one of the two parameters of the control time length and the omission quantity is configured to be 0, and the system automatically calculates the number of the error omission correctable by the memory in unit time to be 0, so that the funnel mechanism is closed.
On the basis of the above embodiment, as a preferred implementation manner, a first option and a second option are added to the BIOS, where the first option is used for configuring the control duration, and the second option is used for configuring the number of misses. Furthermore, a register is added in the BIOS for recording the number of correctable errors of the actually generated memory in real time.
The settings for the BIOS are as follows:
1) The BIOS adds a Register MCE Register for recording the error quantity which can be corrected by the memory reported in the server system at any time, and the value of the Register MCE Register is added with 1 when one error which can be corrected by the memory is added.
2) And the BIOS newly added option MCE Threshold Value is used for controlling the server to report a critical Value of the memory correctable errors, when the funnel mechanism is closed, a log is reported when the MCE Register Value reaches the MCE Threshold Value, and then the MCE Register is cleared and starts counting again.
3) The BIOS adds an option MCE Time, where the parameter indicates the Time of a memory error funnel, and the unit is minute, that is, control several minutes, for example, 60 memory errors are missed in 1 minute, where 1 minute is the MCE Time.
4) The BIOS adds an option MCE Count, and the parameter indicates the number of times of memory error funnels, and the unit is one, that is, the BIOS may control to miss several memory correctable errors, for example, miss 60 memory errors in 1 minute, where 60 are MCE Count.
When the MCE Time is 0, no matter how many MCE counts are, i.e. N memories are missed in 0 minute, the memory error reporting funnel mechanism does not work, and the memory log will be reported when the MCE Register with the correctable error number reaches the Threshold MCE Threshold Value.
When the MCE Count is 0, no matter how long the MCE Time is, no matter how many memories are missed in N minutes, the error reporting funnel mechanism does not work, and when the MCE Register with the number of correctable errors reaches the Threshold MCE Threshold Value, a log is reported.
When MCE Time is N and MCE Count is M, M memories can be missed in N minutes to correct errors, M1 memories can be missed in 1 second to correct errors, and the BIOS Register can correct errors when M1 memories are missed in one second according to the MCE Time and the MCE Count, namely MCE Register-M1. And (3) continuously accumulating the registers, when the MCE Register-s M1 reaches MCE Threshold Value, reporting a memory correctable error by the system, clearing the MCE Register at the moment, and then performing MCE Register-M1 accumulation counting again.
The embodiment of the method for a memory error reporting funnel is described in detail above, and based on the method for a memory error reporting funnel described in the above embodiment, the embodiment of the present invention further provides a device for a memory error reporting funnel corresponding to the method.
Fig. 2 is a schematic block diagram of a memory error reporting hopper device according to an embodiment of the present invention, and as shown in fig. 2, the device includes: the system comprises a parameter configuration module 101, an error quantity recording module 102, a log trigger quantity calculation module 103 and a log report module 104.
The parameter configuration module 101: the memory is configured to correct the number of misses per unit time, which is denoted as n.
The error number recording module 102: recording the number of correctable errors of the actually generated memories in real time, and recording the number as N, wherein when one memory is added, the error can be corrected, and the value of N is increased by 1.
The log trigger amount calculation module 103: calculating a memory correctable error trigger value, and recording the memory correctable error trigger value as D, wherein D = N-s × N; wherein s refers to the recorded duration of the current stage, and a stage is formed between two adjacent zero clearing operations of N.
The log reporting module 104: when the value of D reaches the preset number threshold, triggering and reporting a log, and triggering the error number recording module 102 to clear the value of N.
The parameter configuration module 101 configures the number of correctable misses per unit time of the memory, and specifically includes:
configuring control time length, wherein the unit of the control time length is minute;
the number of configuration omissions;
calculating the error omission amount correctable by the memory in unit time according to the control time and the omission amount; wherein, the number of correctable error misses per unit time = miss number/(control duration 60).
When the control time length or the omission number is configured to be 0, the error omission number correctable by the memory in unit time is 0, the funnel mechanism is closed, and at the moment, when the value of N reaches the preset number threshold value, the log reporting module 104 triggers to report a log, and clears the value of N.
The memory error-reporting funnel device of this embodiment is used to implement the foregoing memory error-reporting funnel method, and therefore, a detailed implementation of the device can be seen in the foregoing embodiment of the memory error-reporting funnel method, and therefore, the detailed implementation thereof can refer to the description of the corresponding partial embodiments, and is not further described herein.
In addition, since the memory error reporting funnel device of this embodiment is used to implement the memory error reporting funnel method, the function of the memory error reporting funnel device corresponds to that of the method described above, and details are not described here.
Fig. 3 is a schematic structural diagram of a terminal device 300 according to an embodiment of the present invention, including: a processor 310, a memory 320, and a communication unit 330. The processor 310 is configured to implement the memory error-reporting funnel program stored in the storage 320, and implement the following steps:
s1, configuring the number of correctable error omissions in a memory in unit time, and recording the number as n;
s2, recording the number of correctable errors of the actually generated memories in real time, recording the correctable errors as N, and increasing the value of N by 1 when one memory is added;
s3, calculating a memory correctable error trigger value, and recording the memory correctable error trigger value as D, wherein D = N-S × N; wherein s refers to the recorded duration of the current stage, and a stage is formed between two adjacent zero clearing operations of N;
and S4, triggering and reporting a log when the value of D reaches a preset number threshold, and clearing the value of N.
The invention can correct the error and omission amount according to the configured memory in unit time, performs omission processing on the error which can be corrected by the memory, triggers log report operation based on the amount of the error which can be corrected by the memory after omission, avoids that each error which can be corrected triggers log alarm, can report timely when a large number of errors are reported, improves the judgment accuracy of operation and maintenance personnel, lightens the work load of the operation and maintenance personnel, and reduces the problem of log omission of other components or systematic recording.
The terminal device 300 includes a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
The computer storage medium stores a memory error-reporting funnel program which, when executed by the processor, implements the steps of:
s1, configuring the number of correctable error omissions in a memory in unit time, and recording the number as n;
s2, recording the number of correctable errors of actually generated memories in real time, recording the correctable errors as N, and increasing the value of N by 1 when one memory is added;
s3, calculating a memory correctable error trigger value, and recording the memory correctable error trigger value as D, wherein D = N-S × N; wherein s refers to the recorded duration of the current stage, and a stage is formed between two adjacent zero clearing operations of N;
and S4, triggering and reporting a log when the value of D reaches a preset number threshold, and clearing the value of N.
The invention can correct the error and omission amount according to the configured memory in unit time, performs omission processing on the error which can be corrected by the memory, triggers log report operation based on the amount of the error which can be corrected by the memory after omission, avoids that each error which can be corrected triggers log alarm, can report timely when a large number of errors are reported, improves the judgment accuracy of operation and maintenance personnel, lightens the work load of the operation and maintenance personnel, and reduces the problem of log omission of other components or systematic recording.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above disclosure is only for the preferred embodiments of the present invention, but the present invention is not limited thereto, and any non-inventive changes that can be made by those skilled in the art and several modifications and amendments made without departing from the principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A memory error reporting funnel method is characterized by comprising the following steps:
configuring the number of correctable error omissions in the memory in unit time, and recording the correctable error omissions as n;
recording the number of correctable errors of actually generated memories in real time, recording the correctable errors as N, and increasing the value of N by 1 when one memory is added;
calculating a memory correctable error trigger value, recording as D, and D = N-s x N; wherein s refers to the recorded duration of the current stage, and a stage is formed between two adjacent zero clearing operations of N;
and triggering and reporting a log when the value of D reaches a preset number threshold, and clearing the value of N.
2. The method as claimed in claim 1, further comprising the steps of:
and closing the funnel mechanism to enable the value of N to be 0, triggering and reporting a log when the value of N reaches a preset number threshold, and clearing the value of N.
3. The method as claimed in claim 2, wherein configuring the number of error-correctable misses per unit time of the memory comprises:
configuring control time length, wherein the unit of the control time length is minutes;
configuring the quantity of omission;
calculating the number of correctable errors and omissions in the memory in unit time according to the control time and the number of the omissions; wherein, the number of correctable error misses in the memory per unit time = miss number/(control duration × 60).
4. The memory error reporting funnel method of claim 3, wherein the method comprises the following steps:
the control time length or the miss number is configured to be 0, so that the memory can correct the error miss number to be 0 in unit time, and the funnel mechanism is closed.
5. The memory error reporting funnel method of claim 4, wherein the method comprises the following steps:
and adding a first option and a second option in the BIOS, wherein the first option is used for configuring the control duration, and the second option is used for configuring the omission number.
6. The memory error reporting funnel method of claim 5, wherein the method comprises the following steps:
the BIOS is additionally provided with a register for recording the number of correctable errors of the actually generated memory in real time.
7. A memory error-reporting funnel device is characterized in that the device comprises,
a parameter configuration module: configuring the number of correctable error omissions in the memory in unit time, and recording the number as n;
an error number recording module: recording the number of correctable errors of actually generated memories in real time, recording the correctable errors as N, and increasing the value of N by 1 when one memory is added;
a log trigger calculation module: calculating a memory correctable error trigger value, and recording the memory correctable error trigger value as D, wherein D = N-s × N; wherein s refers to the recorded duration of the current stage, and a stage is formed between two adjacent zero clearing operations of N;
a log reporting module: when the value of D reaches a preset number threshold value, triggering and reporting a log, and simultaneously triggering an error number recording module to clear the value of N.
8. The memory error reporting hopper device of claim 7, wherein the parameter configuration module configures the number of correctable error omissions in the memory per unit time, and specifically comprises:
configuring control time length, wherein the unit of the control time length is minute;
configuring the quantity of omission;
calculating the error omission amount correctable by the memory in unit time according to the control time and the omission amount; wherein, the number of correctable error misses in the memory per unit time = the miss number/(control duration × 60);
when the control time length or the omission number is configured to be 0, the error omission number which can be corrected by the memory in unit time is 0, the funnel mechanism is closed, and at the moment, when the value of N reaches the preset number threshold value, the log reporting module triggers and reports a log, and the value of N is cleared.
9. A terminal, comprising:
the memory is used for storing a memory error-reporting funnel program;
a processor, configured to implement the steps of the memory error funnel method according to any one of claims 1 to 6 when executing the memory error funnel program.
10. A computer-readable storage medium, having stored thereon a memory error-reporting funnel program, which when executed by a processor, performs the steps of the memory error-reporting funnel method of any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211054522.0A CN115421954A (en) | 2022-08-30 | 2022-08-30 | Memory error reporting funnel method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211054522.0A CN115421954A (en) | 2022-08-30 | 2022-08-30 | Memory error reporting funnel method, device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115421954A true CN115421954A (en) | 2022-12-02 |
Family
ID=84199620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211054522.0A Pending CN115421954A (en) | 2022-08-30 | 2022-08-30 | Memory error reporting funnel method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115421954A (en) |
-
2022
- 2022-08-30 CN CN202211054522.0A patent/CN115421954A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11119874B2 (en) | Memory fault detection | |
CN105117301B (en) | A kind of method and device of memory early warning | |
CN110727556A (en) | BMC health state monitoring method, system, terminal and storage medium | |
CN104426696B (en) | A kind of method of troubleshooting, server and system | |
CN111078515B (en) | SSD layered log recording method, SSD layered log recording device, SSD layered log recording computer device and storage medium | |
WO2022228499A1 (en) | Pcie fault self-repairing method, apparatus and device, and readable storage medium | |
CN112579400B (en) | Equipment fault positioning method, device, equipment and storage medium | |
CN115981898A (en) | Error-correctable error processing method, device and equipment for memory and readable storage medium | |
CN112231140A (en) | Method, system, terminal and storage medium for fault recovery of BMC (baseboard management controller) of storage device | |
CN115421954A (en) | Memory error reporting funnel method, device, terminal and storage medium | |
CN109522263A (en) | A kind of I2C link monitoring system | |
CN111626498A (en) | Equipment operation state prediction method, device, equipment and storage medium | |
CN112256539B (en) | PCIE link error statistical method, device, terminal and storage medium | |
CN114328548A (en) | Method, system, terminal and storage medium for controlling elimination speed of data in double storage pools | |
CN112463504B (en) | Double-control storage product testing method, system, terminal and storage medium | |
CN112486785B (en) | Method, system, terminal and storage medium for positioning downtime phase of server | |
US8230261B2 (en) | Field replaceable unit acquittal policy | |
CN114116276A (en) | BMC hang-up self-recovery method, system, terminal and storage medium | |
CN110471814B (en) | Control method for error reporting function of server device | |
CN112463195A (en) | Method, system, terminal and storage medium for cluster grouping online upgrade | |
CN114265489A (en) | Power failure monitoring method and device, electronic equipment and storage medium | |
CN115658373B (en) | Server-based memory processing method and device, processor and electronic equipment | |
CN117608910B (en) | Determination method, device and system for machine inspection exception error type of processor | |
CN115509779A (en) | Verification method, device, terminal and medium for reporting correctable error times of memory by BIOS | |
CN108664357B (en) | Embedded equipment system repairing method and system based on starting information statistics |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |