Computer performance evaluation method and system

Through time series analysis and autoregressive comprehensive moving average model, it solves the problem of insufficient long-term analysis and trend prediction of computer performance evaluation in the existing technology, achieves more accurate performance prediction and system optimization, and improves the dynamic adaptability and stability of the system. sex.

CN118519873BActive Publication Date: 2024-10-01NANTONG UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410977893.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-10-01
Estimated Expiration
2044-07-22

AI Technical Summary

Technical Problem

Existing computer performance evaluation technology lacks long-term data analysis and trend prediction capabilities, making it difficult to foresee future problems and lacks adaptability in dynamic environments, resulting in unstable system performance and affecting user experience and business continuity.

Method used

Time series analysis is used to extract the time-dependent characteristics of CPU usage, memory utilization, and disk I/O data, and the autoregressive comprehensive moving average model is used to predict performance indicator trends, combined with statistical methods to identify performance anomalies and bottlenecks, and generate a comprehensive performance evaluation. Record.

Benefits of technology

It improves the accuracy and response speed of performance prediction, identifies system bottlenecks and configuration issues in a timely manner, dynamically optimizes system performance, and provides more predictive evaluation and decision support.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118519873B_ABST
    Figure CN118519873B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of performance evaluation technology, specifically to a computer performance evaluation method and system, comprising the following steps: obtaining CPU usage, memory utilization, and disk I / O data from a computer system, and generating performance baseline data in combination with input user configuration information. In the present invention, by applying time series analysis to extract the time-dependent characteristics of key performance indicators and using an autoregressive integrated moving average model for performance prediction, historical performance data is effectively converted into a prediction model for future performance, thereby enhancing the accuracy of predictions, timely identifying performance anomalies and system bottlenecks, and promoting faster response and problem solving. In combination with statistical methods, the prediction results are compared with the actual performance, deviations are accurately identified, and the reasons behind the anomalies are deeply analyzed, further helping the technical team to identify and solve system configuration problems, fundamentally optimizing system performance, providing more dynamic and predictive performance evaluations, and enhancing decision support.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of performance evaluation, and in particular to a computer performance evaluation method and system. Background Art

[0002] The field of performance evaluation technology, especially for computers, is a field that specifically conducts quantitative analysis and measurement of the performance of computer hardware, software, and the entire system, with the goal of determining the efficiency and responsiveness of the computer system in performing specific tasks or under specific workloads. Through evaluation, the computer's performance in terms of processing speed, memory utilization, input / output processing, and user response time can be clarified, and it can also help to discover possible bottlenecks and limiting factors, providing guidance for system optimization.

[0003] Among them, computer performance evaluation methods usually include the use of performance testing software, benchmarking tools, and monitoring tools to collect data. Performance testing can be performed under simulated or actual workload conditions to measure and evaluate the performance of various parts of the system. These methods involve simple processor speed measurements to complex multi-tasking and multi-user operating system performance evaluations. Benchmark testing usually involves running a series of standardized test programs to compare the performance of different systems or system configurations. Through these means, performance evaluation helps technical experts understand the performance of existing systems and guide future technology selection and system upgrades to achieve higher efficiency and better user experience.

[0004] Existing technologies mainly rely on performance testing software and monitoring tools to evaluate the performance of computer systems. They usually focus on the immediate collection and analysis of performance data, but lack long-term analysis and trend prediction of data, making it difficult for system managers to foresee possible problems in the future, resulting in passive responses when encountering performance degradation or system bottlenecks. In addition, existing technologies are not adaptable enough in dynamic environments, respond slowly to system changes, and are unable to effectively predict and adapt to new workloads. This is particularly disadvantageous in highly changing technical environments, and can easily lead to unstable system performance, affecting user experience and business continuity. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings in the prior art and to propose a computer performance evaluation method and system.

[0006] In order to achieve the above object, the present invention adopts the following technical solution: a computer performance evaluation method, comprising the following steps:

[0007] S1: Obtain CPU usage, memory utilization, and disk I / O data from the computer system, and generate performance baseline data by combining it with the input user configuration information;

[0008] S2: Based on the performance baseline data, time series analysis is used to extract the time-dependent characteristics of CPU usage, memory utilization, and disk I / O data indicators to obtain a time-dependent feature set;

[0009] S3: Based on the time-dependent feature set, an autoregressive integrated moving average model is applied to predict the performance indicator trend, predict the future performance of the computer, and generate a performance prediction result;

[0010] S4: Based on the performance prediction result, compare the prediction result with the actual performance data, calculate the deviation through a statistical method, identify performance anomalies, and generate a performance anomaly detection result;

[0011] S5: Based on the performance anomaly detection result, analyze the potential causes behind the anomaly, identify system bottlenecks or configuration problems, and generate system bottleneck analysis results;

[0012] S6: Based on the system bottleneck analysis results, analyze component resource usage records, detect abnormal patterns and frequent resource request conflicts, reveal key performance limiting factors, and generate comprehensive performance evaluation records.

[0013] As a further solution of the present invention, the performance baseline data includes a CPU usage time series, a memory utilization time series and a disk I / O time series, the time-dependent feature set includes CPU periodic features, memory trend features and disk I / O seasonal features, the performance prediction results include future CPU usage prediction values, future memory utilization prediction values ​​and future disk I / O data prediction values, the performance anomaly detection results include performance deviation values, abnormal event types and abnormal event occurrence times, the system bottleneck analysis results include CPU bottleneck locations, insufficient memory records and disk I / O high load areas, and the comprehensive performance evaluation records include resource usage conflict records, performance limiting factors and optimization suggestions.

[0014] As a further solution of the present invention, based on the performance baseline data, the time-dependent characteristics of CPU usage, memory utilization, and disk I / O data indicators are extracted using time series analysis to obtain a time-dependent feature set.

[0015] S201: extracting the time series in the performance baseline data, recording the timestamps and corresponding measurement values ​​of the CPU usage, memory utilization, and disk I / O data, calculating the difference before and after each measurement time data, and generating a time series record;

[0016] S202: Based on the time series records, calculate the time interval between data points, analyze the data fluctuation within the time interval, mark the high-frequency and low-frequency patterns of the data fluctuation, and generate time characteristic analysis data;

[0017] S203: Integrate the time characteristic analysis data, extract the dependency patterns of CPU usage, memory utilization, and disk I / O data indicators under the difference time window, mark key time dependency characteristics, and generate a time dependency feature set.

[0018] As a further solution of the present invention, based on the time-dependent feature set, an autoregressive integrated moving average model is applied to predict the performance index trend and predict the future performance of the computer, and the steps of generating the performance prediction result are as follows:

[0019] S301: Based on the time-dependent feature set, features directly associated with CPU usage, memory utilization, and disk I / O data are screened, and a weight is assigned to the time series characteristics of each performance indicator to generate feature weight data;

[0020] S302: using the feature weight data, applying the autoregressive integrated moving average model to calculate the predicted value at a specific time point in the future, and performing simulation and trend verification to generate a trend prediction result;

[0021] S303: Based on the trend prediction results, estimate and record the predicted values ​​of CPU usage, memory utilization, and disk I / O data in the future, verify the degree of consistency between the predicted values ​​and historical trends, and generate performance prediction results.

[0022] As a further solution of the present invention, the autoregressive integrated moving average model is according to the formula:

[0023]

[0024] Calculate the weighted forecast value at a specific time point in the future to generate a trend forecast result, where: For in time The predicted value of is a constant term, is the autoregression coefficient, For the past observations, For the The seasonal adjustment coefficient for observations is is the moving average coefficient, For the Past error, For the The reliability weight of the error, is the introduced periodic adjustment term, representing the periodic fluctuation of the time series. is the error term.

[0025] As a further solution of the present invention, based on the performance prediction result, the prediction result is compared with the actual performance data, the deviation is calculated by statistical methods, the performance anomaly is identified, and the step of generating the performance anomaly detection result is as follows:

[0026] S401: Collecting the actual performance data of the computer, including CPU usage, memory utilization and disk I / O data, comparing each performance data with the performance prediction result, recording the actual value and the predicted value of each indicator, and generating performance comparison data;

[0027] S402: Based on the performance comparison data, the absolute difference between the actual value and the predicted value of each performance indicator is calculated one by one by a statistical method, the accuracy of the performance prediction is evaluated by the absolute difference, the frequency of the difference exceeding the normal range is counted, and the deviation analysis result is generated;

[0028] S403: Filtering performance indicators that exceed a preset threshold from the deviation analysis results, marking them as abnormal performance indicators, analyzing the abnormal frequency and conditions of the abnormal performance indicators, determining the performance abnormality pattern, and generating a performance abnormality detection result.

[0029] As a further solution of the present invention, the statistical method is according to the formula:

[0030]

[0031] Calculate the weighted absolute error for each performance indicator to generate the deviation analysis results, where is the weighted absolute error of the ith observation, is the actual value of the ith observation, is the predicted value of the ith observation, is the actual value of the previous observation, is the predicted value of the previous observation, and is the weight coefficient, is the logarithmic adjustment coefficient, is the position adjustment coefficient, is the total number of observations, The position number of the current observation.

[0032] As a further solution of the present invention, based on the performance anomaly detection result, the potential cause behind the anomaly is analyzed to identify the system bottleneck or configuration problem, and the step of generating the system bottleneck analysis result is as follows:

[0033] S501: Analyze the performance anomaly detection result, collect configuration data associated with the performance anomaly detection result, including CPU allocation, memory capacity and disk utilization, record the configuration status associated with each abnormal performance indicator, and generate a system configuration record;

[0034] S502: Identify improper configuration or insufficient resource allocation from the system configuration record, compare the configuration of abnormal and non-abnormal performance indicators, locate key configuration differences that cause performance degradation, and generate key configuration difference analysis results;

[0035] S503: Based on the key configuration difference analysis result, identify system performance bottlenecks and potential configuration problems, analyze the impact of configuration problems on system operation efficiency, and generate system bottleneck analysis results.

[0036] A computer performance evaluation system, the system comprising:

[0037] The performance data comprehensive analysis module collects the current CPU usage, memory utilization, and disk I / O data of the computer system, records the value changes of each parameter, calculates the average value of each indicator based on user configuration, identifies abnormal values ​​in the data, and generates performance baseline data;

[0038] The time series recording module extracts the time series in the performance baseline data, calculates the time interval between data points, analyzes the data fluctuation within the time interval, marks key time-dependent characteristics, and generates a time-dependent feature set;

[0039] The system performance trend analysis module selects directly related features according to the time-dependent feature set, assigns time series characteristic weights, applies an autoregressive integrated moving average model to calculate the predicted value at a specific future time point, estimates and records the predicted value, and generates a performance prediction result;

[0040] The performance comparison module collects the actual current performance data of the computer, compares each performance data with the performance prediction result, records the actual value and the predicted value of each indicator, and generates performance comparison data;

[0041] The deviation analysis and anomaly detection module calculates the absolute difference of each performance indicator based on the performance comparison data, counts the frequency of the difference exceeding the normal range, filters out abnormal performance indicators exceeding the preset threshold, analyzes the abnormal frequency and conditions of the abnormal performance indicators, and generates performance anomaly detection results;

[0042] The system bottleneck location module analyzes the performance anomaly detection results, collects configuration data associated with the performance anomaly detection results, compares the configurations of abnormal and non-abnormal performance indicators, identifies system performance bottlenecks and potential configuration problems, and generates system bottleneck analysis results;

[0043] The system comprehensive evaluation module extracts the resource usage data of computer components based on the system bottleneck analysis results, compares the resource request differences between abnormal and normal operation modes, evaluates the impact on the overall system performance, summarizes key performance limiting factors, and generates a comprehensive performance evaluation record.

[0044] Compared with the prior art, the advantages and positive effects of the present invention are:

[0045] In the present invention, by applying time series analysis to extract the time-dependent characteristics of key performance indicators and using the autoregressive integrated moving average model for performance prediction, historical performance data is effectively converted into a prediction model for future performance, which not only enhances the accuracy of the prediction, but also promotes faster response and problem solving by timely identifying performance anomalies and system bottlenecks. By combining statistical methods to compare the predicted results with the actual performance, deviations can be identified more accurately, and the reasons behind the anomalies can be deeply analyzed, which further helps the technical team identify and solve system configuration problems, fundamentally optimizes system performance, provides a more dynamic and predictive performance evaluation, and enhances decision support. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a schematic diagram of the workflow of the present invention;

[0047] Figure 2 This is a detailed flow chart of S1 of the present invention;

[0048] Figure 3 This is a detailed flow chart of S2 of the present invention;

[0049] Figure 4 This is a detailed flow chart of S3 of the present invention;

[0050] Figure 5 This is a detailed flow chart of S4 of the present invention;

[0051] Figure 6 This is a detailed flow chart of S5 of the present invention;

[0052] Figure 7 This is a detailed flow chart of S6 of the present invention;

[0053] Figure 8 It is a system flow chart of the present invention. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0055] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, "multiple" means two or more, unless otherwise clearly and specifically defined.

[0056] Embodiment 1

[0057] See also Figure 1 The present invention provides a technical solution: a computer performance evaluation method, comprising the following steps:

[0058] S1: Obtain CPU usage, memory utilization, and disk I / O data from the computer system, and generate performance baseline data by combining it with the input user configuration information;

[0059] S2: Based on the performance baseline data, time series analysis is used to extract the time-dependent characteristics of CPU usage, memory utilization, and disk I / O data indicators to obtain the time-dependent feature set;

[0060] S3: Based on the time-dependent feature set, the autoregressive integrated moving average model is used to predict the performance indicator trend, predict the future performance of the computer, and generate performance prediction results;

[0061] S4: Based on the performance prediction results, compare the prediction results with the actual performance data, calculate the deviation through statistical methods, identify performance anomalies, and generate performance anomaly detection results;

[0062] S5: Based on the performance anomaly detection results, analyze the potential causes behind the anomaly, identify system bottlenecks or configuration problems, and generate system bottleneck analysis results;

[0063] S6: Based on the system bottleneck analysis results, analyze component resource usage records, detect abnormal patterns and frequent resource request conflicts, reveal key performance limiting factors, and generate comprehensive performance evaluation records;

[0064] The performance baseline data includes the CPU usage time series, memory utilization time series and disk I / O time series. The time-dependent feature set includes CPU periodic features, memory trend features and disk I / O seasonal features. The performance prediction results include future CPU usage prediction values, future memory utilization prediction values ​​and future disk I / O data prediction values. The performance anomaly detection results include performance deviation values, abnormal event types and abnormal event occurrence times. The system bottleneck analysis results include CPU bottleneck locations, insufficient memory records and disk I / O high-load areas. The comprehensive performance evaluation records include resource usage conflict records, performance limiting factors and optimization suggestions.

[0065] See also Figure 2 ,The specific steps of S1 are as follows,

[0066] S101: Collect the current CPU usage, memory utilization, and disk I / O data of the computer system, record the value change of each parameter, and generate raw performance data;

[0067] Collect the current CPU usage, memory utilization, and disk I / O data of the computer system. According to the principle of collecting data once every minute, record it for 24 hours and get 1440 data points. For example, if the CPU usage data set is {cpu1, cpu2, ..., cpu1440}, the memory utilization data set is {mem1, mem2, ..., mem1440}, and the disk I / O data set is {io1, io2, ..., io1440}. For each parameter, record its numerical changes at different time points, and preliminarily determine the system performance fluctuation trend through time series analysis. In this step, no processing technology is used, but data changes are obtained through direct observation, and the intuitive performance of the system is recorded to generate raw performance data.

[0068] S102: Based on the original performance data and in combination with user configuration, the average value of each indicator is calculated, the difference between the maximum and minimum values ​​is evaluated, data fluctuations are analyzed, and performance calculation data is generated;

[0069] Based on the original performance data, first, according to the user configuration, for example, the monitoring time period is set to work time (for example, 9:00-17:00), and the range of the analysis data is limited. For each data set of CPU usage, memory utilization, and disk I / O, its average value within the specified time period is calculated (for example, , , ), as well as the maximum and minimum values ​​( , , ; , ). Next, evaluate the difference between the maximum and minimum values; e.g. , similarly calculated , By using the difference, we can analyze the fluctuation of the data during the monitoring period. For example, volatility can be measured by the ratio of the difference to the average value, using the formula: , similarly calculated , The ratio value reflects the stability of each indicator. Based on this analysis, performance calculation data is generated.

[0070] S103: Analyze the performance calculation data, identify abnormal values ​​in the data, calibrate the normal operating range, and integrate the data to generate performance baseline data;

[0071] Analyze performance calculation data and determine abnormal values ​​by setting thresholds. For example, if the fluctuation of CPU usage If it exceeds 20%, it is considered abnormal. The normal operating range is set as the situation where the volatility does not exceed 20%. By comparing the volatility of each indicator with the preset threshold, the data points that exceed the normal range are identified. For example, the normal operating range of CPU usage is calibrated as , anything beyond this range is considered abnormal. The same judgment criteria are applied to memory utilization and disk I / O data. Through this step, the data after outliers are sorted and removed to generate performance baseline data, providing a reference standard for subsequent performance optimization and abnormal warning. In this process, we do not rely solely on automated tools, but combine the actual system operation status and historical performance data to comprehensively consider and establish a benchmark for performance evaluation.

[0072] See also Figure 3 ,The specific steps of S2 are as follows,

[0073] S201: extracting the time series in the performance baseline data, recording the timestamps and corresponding measurement values ​​of the CPU usage, memory utilization, and disk I / O data, calculating the difference before and after each measurement time data, and generating a time series record;

[0074] To extract the time series from the performance baseline data, first establish the timestamp and the corresponding CPU usage, memory utilization, and disk I / O data measurements. For example, for CPU usage, each data point can be represented as ,in For timestamp is the CPU usage measurement value at the corresponding moment. Similarly, memory utilization and disk I / O data are also recorded in this format. For the data at each measurement moment, the difference between adjacent data points is calculated. For example, for CPU usage, the difference is calculated as In this way, the difference calculations are performed on the memory utilization and disk I / O data to generate time series records. This process provides basic data for subsequent time series analysis by recording each data point and its difference over time in detail.

[0075] S202: Based on the time series records, calculate the time interval between data points, analyze the data fluctuation within the time interval, mark the high-frequency and low-frequency patterns of the data fluctuation, and generate time characteristic analysis data;

[0076] Based on the time series record, for each data point, calculate the time interval between adjacent measurements one . Further, using the calculated difference value , , Analyze data fluctuations within a time interval. For example, analyze the CPU usage differences within a time interval. With time interval As a measure of the volatility rate, . The high-frequency and low-frequency fluctuation modes are distinguished by setting a threshold, such as If the value is greater than a certain value, it is marked as high-frequency fluctuation, otherwise it is marked as low-frequency fluctuation. The same method is applied to memory utilization and disk I / O data to mark the high-frequency and low-frequency patterns of data fluctuations and generate time characteristic analysis data. This step reveals the time fluctuation characteristics of performance data through a comprehensive analysis of time intervals and data point differences.

[0077] S203: Integrate time characteristic analysis data, extract dependency patterns of CPU usage, memory utilization, and disk I / O data indicators under differential time windows, mark key time dependency characteristics, and generate a time dependency feature set;

[0078] Integrate time-characteristic analysis data. For CPU usage, memory utilization, and disk I / O data, consider data fluctuations in different time windows (e.g., 1 hour, 4 hours, and 24 hours). Use moving average and other methods to smooth the data and calculate the average fluctuation rate in each time window. For example, in a 1-hour window, ,in Represents the number of data points in a 1-hour window. By comparing the average fluctuation rate in different time windows, the dependency pattern of each indicator over time is extracted. The significant dependency characteristics of each data indicator in a specific time window are marked, such as the increase in CPU usage fluctuation during the morning peak period on weekdays, and a time-dependent feature set is generated. This process reveals the correlation between performance indicators and time changes by analyzing data fluctuations in different time windows, providing key time-dependent characteristics for prediction and optimization.

[0079] See also Figure 4 ,The specific steps of S3 are as follows,

[0080] S301: Based on the time-dependent feature set, features directly associated with CPU usage, memory utilization, and disk I / O data are screened, weights are assigned to the time series characteristics of each performance indicator, and feature weight data is generated;

[0081] Based on the time-dependent feature set, we first identify features that are directly related to CPU usage, memory utilization, and disk I / O data, such as increased CPU usage during the morning rush hour on weekdays. We assign weights to the time series characteristics of each performance indicator, taking into account the sensitivity of the performance indicator and the reliability of historical data. For example, if CPU usage is more sensitive during the morning rush hour on weekdays, we can assign a higher weight, expressed as , similarly assigning weights to memory utilization and disk I / O data and By weighting the characteristics of each time series, feature weight data is generated. This step quantifies the importance of time-dependent features and assigns corresponding weights to performance indicators, reflecting the degree of impact of each indicator on system performance.

[0082] S302: Using the feature weight data, applying the autoregressive integrated moving average model to calculate the predicted value at a specific time point in the future, and performing simulation and trend verification to generate a trend prediction result;

[0083] The autoregressive integrated moving average model is based on the formula:

[0084]

[0085] Calculate the weighted forecast value at a specific time point in the future to generate a trend forecast result, where: For in time The predicted value of is a constant term, is the autoregression coefficient, For the past observations, For the The seasonal adjustment coefficient for observations is is the moving average coefficient, For the Past error, For the The reliability weight of the error, is the introduced periodic adjustment term, representing the periodic fluctuation of the time series. is the error term.

[0086] The formula execution process is as follows:

[0087] First, each historical observation The corresponding seasonal adjustment coefficient Multiply by the autoregressive coefficient Calculate the impact of the adjusted value; then, each historical error Reliability Weight Multiply by the moving average coefficient Calculate the impact of these adjusted errors; then, add the periodic adjustment , to take into account the periodic characteristics of time series data; finally, a constant term is included and random error , to complete the time The predicted value of Calculation.

[0088] Seasonal adjustment factor and reliability weight It can be determined through historical data analysis, and the periodic adjustment factor and frequency It can be obtained through spectrum analysis method.

[0089] S303: based on the trend prediction results, estimate and record the predicted values ​​of CPU usage, memory utilization, and disk I / O data in the future, verify the consistency between the predicted values ​​and the historical trends, and generate performance prediction results;

[0090] Based on the trend forecast results, the forecast value calculated using the formula , estimate the predicted values ​​of CPU usage, memory utilization, and disk I / O data in the future. For example, the model is used to calculate the predicted values ​​of CPU usage for each day in the next week. Subsequently, these predicted values ​​are compared with historical trends to verify the accuracy and consistency of the predicted values. In this way, performance prediction results are generated to provide a basis for system performance management and resource planning, while also verifying the effectiveness and accuracy of the prediction model. This process not only focuses on the generation of prediction results, but also attaches importance to the verification of prediction accuracy to ensure that the prediction results have practical reference value for future performance management.

[0091] See also Figure 5 ,The specific steps of S4 are as follows,

[0092] S401: Collecting the actual performance data of the computer, including CPU usage, memory utilization, and disk I / O data, comparing each performance data with the performance prediction result, recording the actual value and the predicted value of each indicator, and generating performance comparison data;

[0093] Collect the actual current performance data of the computer. This process includes real-time monitoring and recording of CPU usage, memory utilization, and disk M / O data. For example, the CPU usage is recorded as 55%, the memory utilization is 70%, and the disk I / O is 12OMB / s at a specific point in time. Subsequently, these actual performance data are compared with the performance prediction results obtained previously through the prediction model, such as the predicted CPU usage of 53%, memory utilization of 68%, and disk I / O of 115MB / s. Record the actual value and predicted value of each performance indicator, analyze the differences, and generate performance comparison data. This process aims to evaluate the accuracy and reliability of the prediction model, and intuitively demonstrate the prediction effect of the model by comparing the actual and predicted values.

[0094] S402: Based on the performance comparison data, the absolute difference between the actual value and the predicted value of each performance indicator is calculated one by one by a statistical method, the accuracy of the performance prediction is evaluated by the absolute difference, the frequency of the difference exceeding the normal range is counted, and the deviation analysis result is generated;

[0095] Statistical method, according to the formula:

[0096]

[0097] Calculate the weighted absolute error for each performance indicator to generate the deviation analysis results, where is the weighted absolute error of the ith observation, is the actual value of the ith observation, is the predicted value of the ith observation, is the actual value of the previous observation, is the predicted value of the previous observation, and is the weight coefficient, is the logarithmic adjustment coefficient, is the position adjustment coefficient, is the total number of observations, The position number of the current observation.

[0098] The formula execution process is as follows:

[0099] First, the absolute difference between the actual value and the predicted value of the current observation is calculated and multiplied by the weight coefficient ; Next, calculate the absolute difference between the actual value of the previous observation and the predicted value and multiply it by the weight coefficient ; Then, a logarithmic adjustment term is introduced by taking the natural logarithm of the absolute difference of the current observation and multiplying it by the adjustment coefficient To weaken the impact of large deviations; finally, add a position adjustment term, multiplying Taking into account the observation location Relative position in the entire dataset , to emphasize the influence of subsequent data in the sequence.

[0100] Weight coefficient and and adjustment factor and The determination of can be optimized by minimizing the overall prediction error, such as using gradient descent or other numerical optimization techniques to determine the coefficient values.

[0101] S403: Filtering performance indicators that exceed a preset threshold from the deviation analysis results, marking them as abnormal performance indicators, analyzing the abnormal frequency and conditions of the abnormal performance indicators, determining the performance abnormality mode, and generating a performance abnormality detection result;

[0102] Filter out performance indicators that exceed the preset threshold from the deviation analysis results. Mark them as abnormal performance indicators. Determine the performance anomaly pattern by analyzing the frequency and conditions of abnormal performance indicators, such as frequent abnormal memory utilization under high load conditions. This process not only reveals the limitations of the performance prediction model, but also provides an important basis for further optimizing performance management strategies and adjusting prediction models, generating performance anomaly detection results, and improving system stability and reliability.

[0103] See also Figure 6 ,The specific steps of S5 are as follows,

[0104] S501: Analyze the performance anomaly detection results, collect configuration data associated with the performance anomaly detection results, including CPU allocation, memory capacity, and disk utilization, record the configuration status associated with each abnormal performance indicator, and generate a system configuration record;

[0105] To analyze the performance anomaly detection results, first monitor the system performance and record various performance indicators, such as response time, throughput, etc. At the same time, collect configuration data associated with the performance anomaly detection results, including but not limited to CPU allocation ratio, memory capacity GB, and disk utilization percentage. Suppose there is a performance indicator array P with a length of n, corresponding to n performance indicators. These configuration data are matched with the performance indicators to generate a configuration-performance matrix C, where Cij represents the value of the i-th configuration for the j-th performance indicator. For each performance anomaly indicator, calculate its configuration difference with the normal performance indicator respectively, and determine the configuration state associated with each abnormal performance indicator by calculating the weight of each configuration item on the performance indicator. When generating the system configuration record, a formatted record method is used, and the record format includes the configuration item name, configuration value, affected performance indicator and its weight coefficient. For example, if the weight coefficient of the CPU allocation ratio to the response time is 0.6, and the weight coefficient to the throughput is 0.4, then the record is {CPU allocation ratio value, {response time, 0.6}, {throughput, 0.4}}, and the system configuration record is generated.

[0106] S502: Identify improper configuration or insufficient resource allocation from system configuration records, compare abnormal and non-abnormal performance indicator configurations, locate key configuration differences that cause performance degradation, and generate key configuration difference analysis results;

[0107] Identify improper configuration or insufficient resource allocation from the system configuration records, and build a difference matrix D by comparing the configuration status of abnormal and non-abnormal performance indicators, where Dij represents the difference value of the i-th configuration under abnormal and non-abnormal performance indicators. The calculation method is to calculate the value difference between abnormal and non-abnormal performance indicators for each configuration item, and then locate the key configuration difference that causes performance degradation. For example, if the CPU allocation is 50% under abnormal performance indicators and 70% under non-abnormal performance indicators, the difference value of CPU allocation is 20%. By analyzing the difference value of each configuration in the difference matrix D, identify the configuration item with the greatest impact on performance, and generate key configuration difference analysis results. This process not only considers the impact of a single configuration item, but also includes the combined effect of multiple configuration items in the analysis to ensure the comprehensiveness and accuracy of the key configuration difference analysis.

[0108] S503: Based on the key configuration difference analysis results, identify system performance bottlenecks and potential configuration problems, analyze the impact of configuration problems on system operation efficiency, and generate system bottleneck analysis results;

[0109] Based on the results of key configuration difference analysis, the system performance bottlenecks and potential configuration problems are identified in detail. By building an impact model between configuration items and performance indicators, the specific impact of each configuration item on the system operation efficiency is analyzed. For example, a mathematical model between performance indicators and configuration items is established using linear regression analysis methods. Configuration items C1, C2, ..., Cn are introduced as independent variables in the model, and performance indicator P is used as the dependent variable. Through statistical analysis methods, the model parameters are estimated to determine the degree of impact of each configuration item on the performance indicator. The calculation formula can be expressed as: , where βi represents the influence coefficient of the i-th configuration item. By estimating the model parameters, the configuration item that has the greatest impact on system performance, i.e., the system bottleneck, is identified. When analyzing the impact of configuration issues on system operating efficiency, the interaction and impact between configuration items are considered to ensure the accuracy and practicality of bottleneck analysis, thereby generating system bottleneck analysis results.

[0110] See also Figure 7 ,The specific steps of S6 are as follows,

[0111] S601: extracting resource usage data of computer components according to the system bottleneck analysis result, recording the usage frequency and peak value of CPU, memory, and disk, analyzing the direct correlation between the data and the performance bottleneck, and generating component resource usage records;

[0112] Based on the results of the system bottleneck analysis, we began to extract the resource usage data of computer components and used monitoring tools to record the usage frequency and peak value of CPU, memory, and disk. The collected data was organized into a resource usage data matrix R, where Rij represents the i-th resource in the The usage of each time period. Using the time series analysis method, the usage frequency and peak value of each resource are statistically analyzed, and the average usage frequency and maximum peak value are calculated, which serve as the basis for the direct correlation analysis of performance bottlenecks. For example, if the CPU usage frequency has an average value of 80% during the working time period and a peak value of 95%, it is recorded as {CPU, {usage frequency, 80%}, {peak value, 95%}}. By analyzing the data, the component resource usage directly related to the performance bottleneck is identified. For example, a high peak value may directly lead to a performance bottleneck. Based on this correlation analysis, a component resource usage record is generated, which details the usage frequency and peak value of each resource and its direct relationship with the performance bottleneck.

[0113] S602: Identify high-frequency and low-frequency patterns of resource requests based on component resource usage records, compare resource request differences between abnormal and normal operation modes, determine resource types that frequently conflict, and generate frequent resource conflict analysis results;

[0114] Based on the component resource usage records, a frequency analysis method is used to identify the high-frequency and low-frequency patterns of resource requests. A resource request frequency matrix F is constructed, where Fij represents the request frequency of the i-th resource in the j-th operation mode. By comparing the resource request frequencies in abnormal and normal operation modes, the resource types with frequent conflicts are identified. For example, if the memory request frequency is significantly higher than that in the normal mode in the abnormal operation mode, and the probability of resource conflicts increases, memory is considered to be a resource type with frequent conflicts. The analysis method includes calculating the standard deviation and variance of the resource request frequency to determine the instability of the resource request. Through this analysis, the resource types with frequent conflicts are determined, and the frequent resource conflict analysis results are generated, which describe in detail the changing trends of resource requests under different operation modes and their potential impact on system performance.

[0115] S603: Summarize the frequent resource conflict analysis results, evaluate the impact of the conflict analysis results on the overall system performance, summarize the key performance limiting factors, conduct in-depth analysis of performance bottlenecks, and generate a comprehensive performance evaluation record;

[0116] Based on the results of frequent resource conflict analysis, the system performance evaluation method is used to evaluate the impact of the conflict analysis results on the overall system performance. First, a performance impact factor matrix P is constructed, where Pji represents the impact of the i-th resource conflict on the j-th performance indicator. Using multiple regression analysis, the impact weight of each resource conflict on system performance is estimated, and the formula can be expressed as , where S represents the system performance index, Pi represents the i-th resource conflict, i represents the weight of its impact on performance. Through this method, the key performance limiting factors are summarized, and the causes of resource conflicts behind performance bottlenecks and their impact are deeply analyzed. Finally, a comprehensive performance evaluation record is generated, which records in detail the key performance limiting factors, the types of resource conflicts and their specific impact on the overall performance of the system.

[0117] See also Figure 8 ,Computer performance evaluation system, the system includes:

[0118] The performance data comprehensive analysis module collects the current CPU usage, memory utilization, and disk I / O data of the computer system, records the value changes of each parameter, calculates the average value of each indicator based on user configuration, identifies abnormal values ​​in the data, and generates performance baseline data;

[0119] The time series recording module extracts the time series in the performance baseline data, calculates the time interval between data points, analyzes the data fluctuation within the time interval, marks key time-dependent features, and generates a time-dependent feature set;

[0120] The system performance trend analysis module selects directly related features based on the time-dependent feature set, assigns time series feature weights, applies the autoregressive integrated moving average model to calculate the predicted value at a specific time point in the future, estimates and records the predicted value, and generates performance prediction results;

[0121] The performance comparison module collects the actual performance data of the computer, compares each performance data with the performance prediction result, records the actual value and the predicted value of each indicator, and generates performance comparison data;

[0122] The deviation analysis and anomaly detection module calculates the absolute difference of each performance indicator based on the performance comparison data, counts the frequency of differences exceeding the normal range, filters out abnormal performance indicators that exceed the preset threshold, analyzes the abnormal frequency and conditions of abnormal performance indicators, and generates performance anomaly detection results;

[0123] The system bottleneck location module analyzes the performance anomaly detection results, collects configuration data associated with the performance anomaly detection results, compares the configuration of abnormal and non-abnormal performance indicators, identifies system performance bottlenecks and potential configuration problems, and generates system bottleneck analysis results;

[0124] The system comprehensive evaluation module extracts the resource usage data of computer components based on the system bottleneck analysis results, compares the resource request differences between abnormal and normal operation modes, evaluates the impact on the overall system performance, summarizes the key performance limiting factors, and generates a comprehensive performance evaluation record.

[0125] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. Computer performance evaluation methods, It is characterized in that The following steps are involved: Obtain CPU usage, memory utilization, and disk I / O data from the computer system and combine it with the input user configuration information to generate performance baseline data; Based on the performance baseline data, time series analysis is used to extract the time-dependent characteristics of CPU usage, memory utilization, and disk I / O data indicators to obtain a time-dependent feature set; The specific steps are: Extract the time series in the performance baseline data, record the timestamps and corresponding measurement values ​​of CPU usage, memory utilization, and disk I / O data, calculate the difference before and after each measurement time data, and generate a time series record; Based on the time series records, calculating the time intervals between data points, analyzing data fluctuations within the time intervals, marking high-frequency and low-frequency patterns of data fluctuations, and generating time characteristic analysis data; Integrate the time characteristic analysis data, extract the dependency patterns of CPU usage, memory utilization, and disk I / O data indicators under the difference time window, mark key time dependency characteristics, and generate a time dependency feature set; Based on the time-dependent feature set, an autoregressive integrated moving average model is used to predict the performance indicator trend, predict the future performance of the computer, and generate a performance prediction result; Based on the performance prediction results, the prediction results are compared with the actual performance data, deviations are calculated by statistical methods, performance anomalies are identified, and performance anomaly detection results are generated; Based on the performance anomaly detection results, analyze potential causes behind the anomaly, identify system bottlenecks or configuration problems, and generate system bottleneck analysis results; Based on the system bottleneck analysis results, analyze component resource usage records, detect abnormal patterns and frequent resource request conflicts, reveal key performance limiting factors, and generate comprehensive performance evaluation records; Based on the time-dependent feature set, the autoregressive integrated moving average model is used to predict the performance indicator trend and predict the future performance of the computer. The steps of generating the performance prediction result are as follows: Based on the time-dependent feature set, features directly associated with CPU usage, memory utilization, and disk I / O data are screened, weights are assigned to the time series characteristics of each performance indicator, and feature weight data is generated; Using the feature weight data, applying the autoregressive integrated moving average model to calculate the predicted value at a specific time point in the future, and performing simulation and trend verification to generate trend prediction results; Based on the trend prediction results, estimate and record the predicted values ​​of CPU usage, memory utilization, and disk I / O data in the future, verify the degree of consistency between the predicted values ​​and historical trends, and generate performance prediction results; The autoregressive integrated moving average model is based on the formula: ; Calculate the weighted forecast value at a specific time point in the future to generate a trend forecast result, where: is the predicted value at time t, c is a constant term, is the autoregression coefficient, is the i-th past observation, is the seasonal adjustment coefficient of the ith observation, is the moving average coefficient, is the jth past error, is the reliability weight of the jth error, is the periodic adjustment item introduced, is the error term; Based on the performance prediction results, the prediction results are compared with the actual performance data, deviations are calculated by statistical methods, performance anomalies are identified, and the steps of generating performance anomaly detection results are as follows: Collecting the actual current performance data of the computer, including CPU usage, memory utilization, and disk I / O data, comparing each performance data with the performance prediction result, recording the actual value and the predicted value of each indicator, and generating performance comparison data; Based on the performance comparison data, the absolute difference between the actual value and the predicted value of each performance indicator is calculated one by one by a statistical method, the accuracy of the performance prediction is evaluated by the absolute difference, the frequency of the difference exceeding the normal range is counted, and the deviation analysis result is generated; Filtering performance indicators that exceed preset thresholds from the deviation analysis results, marking them as abnormal performance indicators, analyzing the abnormal frequency and conditions of the abnormal performance indicators, determining performance abnormality patterns, and generating performance abnormality detection results; The statistical method is based on the formula: ; Calculate the weighted absolute error for each performance indicator to generate the deviation analysis results, where is the weighted absolute error of the ith observation, is the actual value of the ith observation, is the predicted value of the ith observation, is the actual value of the previous observation, is the predicted value of the previous observation, and is the weight coefficient, is the logarithmic adjustment coefficient, is the position adjustment coefficient, n is the total number of observations, and i is the position number of the current observation.

2. The computer performance evaluation method according to claim 1, It is characterized in that The performance baseline data includes a CPU usage time series, a memory utilization time series and a disk I / O time series, the time-dependent feature set includes a CPU periodic feature, a memory trend feature and a disk I / O seasonal feature, the performance prediction result includes a future CPU usage prediction value, a future memory utilization prediction value and a future disk I / O data prediction value, the performance anomaly detection result includes a performance deviation value, an abnormal event type and an abnormal event occurrence time, the system bottleneck analysis result includes a CPU bottleneck location, an insufficient memory record and a disk I / O high load area, and the comprehensive performance evaluation record includes a resource usage conflict record, performance limiting factors and optimization suggestions.

3. The computer performance evaluation method according to claim 1, It is characterized in that Based on the performance anomaly detection result, the potential causes behind the anomaly are analyzed to identify system bottlenecks or configuration problems. The steps of generating system bottleneck analysis results are as follows: Analyze the performance anomaly detection results, collect configuration data associated with the performance anomaly detection results, including CPU allocation, memory capacity, and disk utilization, record the configuration status associated with each abnormal performance indicator, and generate a system configuration record; Identify improper configuration or insufficient resource allocation from the system configuration records, compare the configurations of abnormal and non-abnormal performance indicators, locate key configuration differences that cause performance degradation, and generate key configuration difference analysis results; Based on the key configuration difference analysis results, system performance bottlenecks and potential configuration problems are identified, the impact of configuration problems on system operating efficiency is analyzed, and system bottleneck analysis results are generated.

4. Computer performance evaluation system, It is characterized in that According to any one of claims 1 to 3, the computer performance evaluation method comprises: The performance data comprehensive analysis module collects the current CPU usage, memory utilization, and disk I / O data of the computer system, records the value changes of each parameter, calculates the average value of each indicator based on user configuration, identifies abnormal values ​​in the data, and generates performance baseline data; The time series recording module extracts the time series in the performance baseline data, calculates the time interval between data points, analyzes the data fluctuation within the time interval, marks key time-dependent characteristics, and generates a time-dependent feature set; The system performance trend analysis module selects directly related features according to the time-dependent feature set, assigns time series characteristic weights, applies an autoregressive integrated moving average model to calculate the predicted value at a specific future time point, estimates and records the predicted value, and generates a performance prediction result; The performance comparison module collects the actual current performance data of the computer, compares each performance data with the performance prediction result, records the actual value and the predicted value of each indicator, and generates performance comparison data; The deviation analysis and anomaly detection module calculates the absolute difference of each performance indicator based on the performance comparison data, counts the frequency of the difference exceeding the normal range, filters out abnormal performance indicators exceeding the preset threshold, analyzes the abnormal frequency and conditions of the abnormal performance indicators, and generates performance anomaly detection results; The system bottleneck location module analyzes the performance anomaly detection results, collects configuration data associated with the performance anomaly detection results, compares the configurations of abnormal and non-abnormal performance indicators, identifies system performance bottlenecks and potential configuration problems, and generates system bottleneck analysis results; The system comprehensive evaluation module extracts the resource usage data of computer components based on the system bottleneck analysis results, compares the resource request differences between abnormal and normal operation modes, evaluates the impact on the overall system performance, summarizes key performance limiting factors, and generates a comprehensive performance evaluation record.

Citation Information

Patent Citations

  • Performance prediction method applied to enterprise-level operation-maintenance automatic platform

    CN106250306A

  • Computer performance prediction method, device, equipment and readable storage medium

    CN111258866A

  • Power equipment state evaluation method based on big data analysis

    CN111768082A