Solid state disk performance monitoring method and system

Through real-time monitoring of SSD channel load and system response time, combined with voltage and temperature fluctuation analysis, the problem of untimely response in SSD performance monitoring in the existing technology is solved, and accurate evaluation of SSD performance and early diagnosis of potential problems are achieved. , improving system performance and stability.

CN118585397AInactive Publication Date: 2024-09-03SHENZHEN HAOXINDA ELECTRONIC TECH CO LTD
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410681983.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN118585397A
    Figure CN118585397A
Patent Text Reader

Abstract

The invention relates to the technical field of performance monitoring, in particular to a solid state disk performance monitoring method and system, and the method comprises the following steps: collecting data transmission rates and I / O request data of all channels of a solid state disk, capturing data traffic in real time, calculating loads of all channels in real time, analyzing the non-uniformity of data streams, and obtaining channel load difference data. According to the method, the data transmission rates and the I / O request data of all channels of the solid state disk are captured in real time, response can be made immediately when the data flow is non-uniform, the time for performance fluctuation and fault repair is shortened, the compatibility problem of the operating system is effectively recognized by analyzing the response time of the system and the load data of the channels of the solid state disk in a correlation mode, and the reliability of the system is improved. Through careful monitoring of the physical state of the solid state disk, the hardware condition of the solid state disk can be accurately evaluated, early diagnosis of potential hardware problems is facilitated, the influence of solid state disk rewriting operation on cross-application performance is deeply analyzed, and the overall performance and stability of a system are improved.
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 monitoring, and in particular to a solid state drive performance monitoring method and system. Background Art

[0002] The field of performance monitoring technology mainly involves real-time monitoring of computer hardware and software to evaluate and ensure the operating efficiency and stability of the system, including data collection, performance evaluation, fault prediction and diagnosis, etc. By monitoring various performance indicators such as processing speed, response time, resource utilization, etc., potential bottlenecks and failure points of the system can be discovered in a timely manner, thereby providing decision support to optimize system configuration and improve user experience. It is not only applicable to computer hardware such as CPU, memory and storage devices, but also widely used in software performance management and network system monitoring.

[0003] Solid-state drive performance monitoring methods refer to a set of technical methods used to evaluate and maintain the operating efficiency of solid-state drives (SSDs), usually including monitoring indicators such as hard drive read and write speeds, input and output operations, error rates, and life predictions. The purpose is to ensure that the hard drive provides optimal performance and reliability during its service life, thereby reducing the risk of system failures and improving data processing efficiency. It has important application value in data center management, enterprise information systems, and personal computer maintenance.

[0004] Existing performance monitoring technologies usually lack continuous and real-time analysis of SSD performance, especially in dynamic and highly variable data flow environments, which can easily lead to untimely performance monitoring and inability to quickly respond to performance issues. In particular, in real-time monitoring of data transfer rates and I / O requests, traditional methods often use periodic checks rather than continuous monitoring, resulting in the inability to discover and handle data flow unevenness and channel load issues in real time. In addition, existing technologies are also insufficient in the automatic diagnosis of operating system compatibility issues, especially in multi-operating system environments. The diagnosis of these problems is complex and time-consuming, which seriously affects the overall performance and stability of the system, and can easily lead to system overload, response delays, and even system crashes, especially in environments such as data centers that have extremely high performance requirements, which directly affects the execution of critical tasks and data integrity. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a solid state drive performance monitoring method and system.

[0006] In order to achieve the above object, the present invention adopts the following technical solution: a solid state drive performance monitoring method, comprising the following steps:

[0007] S1: Collects data transfer rates and I / O request data of all channels of the SSD, captures data traffic in real time, calculates the load of all channels in real time, analyzes the unevenness of data flow, and obtains channel load difference data;

[0008] S2: Based on the channel load difference data, monitor the system response time and system call behavior associated with the solid state drive channel load, identify the operating system compatibility issues associated with the channel load, record the response time anomalies and system call errors, and generate a compatibility anomaly record;

[0009] S3: In combination with the compatibility exception record, monitor the physical state of the SSD rewriting operation associated with the exception record, collect voltage fluctuations and temperature changes during the SSD rewriting process, analyze data fluctuations, and establish a physical state monitoring record;

[0010] S4: Based on the physical status monitoring record, analyze the impact of the rewrite operation on cross-application performance, classify the affected data packets, identify the key data streams that cause the performance degradation of the solid-state drive, and obtain the classification results of performance influencing factors.

[0011] As a further solution of the present invention, the step of acquiring the channel load difference data is:

[0012] S111: Collect the data transfer rate R of each channel of the solid state drive i and I / O request data Q i , where i represents the channel number, from 1 to n, and n represents the total number of channels, and the data transmission rate array R is obtained.

[0013] [R 1 , R 2 , ..., R n ], I / O request data array Q = [Q 1 , Q 2 , ..., Q n ];

[0014] S112: For each channel, the data transmission rate R i and I / O request data Q i Calculate the real-time data load L i ,

[0015]

[0016] Among them, α is the adjustment parameter used to adjust the impact of data transmission rate, β is the weight coefficient used to balance the impact of transmission rate on load, and the data load array L = [L 1 , L 2 , ..., L n], revealing the performance differences between differential channels;

[0017] S113: Calculate the average data load using a weighted average method according to the data load array

[0018]

[0019] Among them, L i represents the data load of the ith channel, w i represents the weight of the i-th channel, which is dynamically adjusted according to the channel's historical load data, reflecting the importance of the target channel in the overall operation;

[0020] S114: Analyze the unevenness of the data stream in combination with the average data load, and calculate the load difference of each channel.

[0021]

[0022] Get channel load difference data D = [D 1 , D 2 , ..., D n ], indicating the degree of load imbalance between channels.

[0023] As a further solution of the present invention, the steps of monitoring the system response time and the system call behavior are:

[0024] S211: Input the load difference data D=[D 1 , D 2 , ..., D n ];

[0025] S212: Using the load difference data D, monitor the system response time T of each channel i and system call behavior C i ,

[0026]

[0027] C i =γ·(D i +ζ) ∈

[0028] Among them, T i is the system response time of the ith channel, D i is the load difference of the ith channel, C iis the system call behavior of the ith channel, k represents the load difference sensitivity coefficient to the response time, γ represents the sensitivity coefficient of the system call behavior, δ is the load difference threshold, λ and ζ are adjustment parameters used to adjust the impact of load difference, ∈ is the exponent of the call behavior, indicating the nonlinear response of the call behavior to the load difference, and e is the base of the natural logarithm;

[0029] S213: According to the system response time T i and system call behavior C i , generate system response time record T record and system call behavior record C record , including the response time and calling behavior of each channel.

[0030] As a further solution of the present invention, the steps of obtaining the compatibility exception record are:

[0031] S221: Analyze the T record and C record , looking for unusual patterns and errors,

[0032] T anomaly =|T i -μ T |·ρ>σ T

[0033] C error =|C i -μ C |·θ>σ C

[0034] Among them, T anomaly A Boolean value indicating whether an exception exists, C error A Boolean value indicating whether there is a call error, μ T is the average system response time, μ C is the average value of system call behavior, σ T and σ C is the maximum deviation threshold, ρ is the adjustment factor for enhancing the sensitivity of anomaly detection, and θ is the adjustment factor for enhancing the sensitivity of error detection;

[0035] S222: According to the T anomaly and C error , identify operating system compatibility issues and obtain identification results;

[0036] S223: According to the identification result, all identified compatibility issues are recorded, including response time anomalies and system call errors, to form a compatibility anomaly record.

[0037] As a further solution of the present invention, the steps of obtaining the physical state monitoring record are:

[0038] S311: calling the compatibility exception record, listing the identified channel exceptions in the solid state drive, and obtaining an exception record list R compatibility ;

[0039] S312: Based on the R compatibility , implement physical status monitoring of SSD rewrite operations, centrally monitor channels with recorded anomalies, and obtain voltage and temperature fluctuation data,

[0040]

[0041] Among them, V i Indicates voltage fluctuation data, T i Indicates temperature fluctuation data, V 0 and T 0 are the baseline values ​​of voltage and temperature, respectively; a is the voltage change sensitivity coefficient; b is the influence coefficient for adjusting small voltage fluctuations; c is the amplification factor of temperature change on the result; d is the influence coefficient for adjusting small temperature changes; ΔV and ΔT are the voltage and temperature changes monitored in real time; g and h are small quantities to prevent zero division errors;

[0042] S313: Determine whether the fluctuation exceeds a normal range according to the voltage and temperature fluctuation data.

[0043]

[0044] in, It is a Boolean value to determine whether the voltage is abnormal. Is a Boolean value indicating whether the temperature voltage is abnormal, θ V and θ T is the voltage and temperature fluctuation threshold, A is the voltage fluctuation sensitivity adjustment coefficient, B is the temperature fluctuation sensitivity adjustment coefficient, if it exceeds the threshold, it is recorded as an abnormality and a physical status monitoring record is generated. physical , record all detected abnormal situations.

[0045] As a further solution of the present invention, the processing steps of classifying the affected data packets are:

[0046] S411: Call the physical status monitoring record Record physical , including voltage and temperature change data and abnormal fluctuation records of solid state drives;

[0047] S412: Evaluate the potential impact of voltage and temperature anomalies on application performance based on the voltage and temperature change data and abnormal fluctuation records,

[0048]

[0049] Among them, I i is the performance impact indicator, ΔV i and ΔT i Represent voltage and temperature changes, λ V and λ T It is a weight parameter that adjusts the impact of changes and adjusts the relative importance of voltage and temperature on performance;

[0050] S413: Based on the performance impact indicator I i If the indicator exceeds the preset threshold Θ, the data packet is classified and marked and recorded as a data packet that significantly affects performance C data .

[0051] As a further solution of the present invention, the steps for obtaining the classification results of the performance influencing factors are:

[0052] S421: Analyze the C data Filter the data packets in the system and filter the key data flows that affect performance.

[0053]

[0054] Among them, D ij is the jth data point in the ith data packet, w j is the weight of the target data point, which is set according to the degree of impact on system performance, p j is the probability of performance impact, indicating the likelihood that the target data point affects performance;

[0055] S422: The key data stream K total Perform in-depth analysis to calculate the contribution and impact of each data stream on SSD performance.

[0056] Impact i =K total ·E i

[0057] Among them, Impact i Indicates the impact of the i-th key data flow, E i The additional efficiency factor representing the impact of the i-th data stream on performance is obtained to obtain in-depth analysis data;

[0058] S423: Integrate and generate a performance influencing factor classification result P according to the in-depth analysis data impact , including the performance impact of each data flow and the classification results.

[0059] A solid state drive performance monitoring system, the system comprising:

[0060] The data acquisition module captures the data transfer rate and I / O request data of all channels of the SSD in real time, performs real-time calculation of data flow, and generates channel data flow records;

[0061] The load analysis module calculates and analyzes the load of each channel according to the channel data flow record, obtains the load difference of each channel, and generates a channel load difference record;

[0062] The compatibility detection module monitors the system response time and system call behavior based on the channel load difference record, identifies the operating system compatibility issues related to the channel load, and generates a compatibility exception record;

[0063] The physical monitoring module monitors the voltage fluctuation and temperature change during the rewriting operation of the solid state drive in combination with the compatibility anomaly record, and establishes a physical state monitoring record of the solid state drive;

[0064] The classification processing module analyzes the impact of the rewrite operation on cross-application performance based on the physical status monitoring record, evaluates the potential impact of voltage and temperature anomalies on application performance, classifies and marks the data packets, and generates classified data packets;

[0065] The performance impact analysis module screens key data streams according to the classified data packets, calculates the contribution and impact of each data stream on the performance of the solid-state drive, and generates a classification result of performance impact factors.

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

[0067] In the present invention, by capturing the data transfer rate and I / O request data of all channels of the solid-state drive in real time, the system can respond immediately when data flow is uneven, thereby reducing performance fluctuations and fault repair time. By correlating and analyzing the system response time and the solid-state drive channel load data, operating system compatibility issues can be effectively identified. Through detailed monitoring of the physical state of the solid-state drive, the hardware status of the solid-state drive can be accurately evaluated, which is helpful for early diagnosis of potential hardware problems, and in-depth analysis of the impact of the solid-state drive rewrite operation on cross-application performance, further optimizing the system configuration, improving the overall system performance and stability, and enhancing the operating efficiency and data security of the data center. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0069] Figure 2 A flow chart for obtaining channel load difference data of the present invention;

[0070] Figure 3 A monitoring flow chart of the system response time and system call behavior of the present invention;

[0071] Figure 4 A flowchart for obtaining compatibility exception records of the present invention;

[0072] Figure 5 A flowchart for obtaining physical state monitoring records of the present invention;

[0073] Figure 6 A process flow chart for classifying affected data packets according to the present invention;

[0074] Figure 7 The figure is a flow chart for obtaining the classification results of the performance influencing factors of the present invention. DETAILED DESCRIPTION

[0075] 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.

[0076] 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.

[0077] Embodiment 1

[0078] See also Figure 1 The present invention provides a technical solution: a solid state drive performance monitoring method, comprising the following steps:

[0079] S1: Collects data transfer rates and I / O request data of all channels of the SSD, captures data traffic in real time, calculates the load of all channels in real time, analyzes the unevenness of data flow, and obtains channel load difference data;

[0080] S2: Based on the channel load difference data, monitor the system response time and system call behavior associated with the SSD channel load, identify the operating system compatibility issues associated with the channel load, record the response time anomalies and system call errors, and generate compatibility anomaly records;

[0081] S3: Combined with the compatibility exception record, monitor the physical state of the SSD rewrite operation associated with the exception record, collect the voltage fluctuation and temperature change during the SSD rewrite process, analyze the data fluctuation, and establish the physical state monitoring record;

[0082] S4: Based on the physical status monitoring records, analyze the impact of rewrite operations on cross-application performance, classify the affected data packets, identify the key data flows that cause the SSD performance to degrade, and obtain the classification results of performance influencing factors.

[0083] Channel load difference data includes the average load of each channel, the highest load channel and the lowest load channel. Compatibility exception records include operating system version conflict issues, driver errors and hardware compatibility issues. Physical status monitoring records include average voltage deviation, highest temperature point and number of physical operation errors. Performance influencing factor classification results include data processing delay factors, high resource consumption operations and frequently accessed data blocks.

[0084] See also Figure 2 ,The steps to obtain channel load difference data are:

[0085] S111: Collect the data transfer rate R of each channel of the solid state drive i and I / O request data Q i , where i represents the channel number, from 1 to n, and n represents the total number of channels, and the data transmission rate array R = [R 1 , R 2 , ..., R n ], I / O request data array Q = [Q 1 , Q 2 , ..., Q n ];

[0086] S112: For each channel, according to the data transmission rate R i and I / O request data Q i Calculate the real-time data load L i ,

[0087]

[0088] Among them, α is the adjustment parameter used to adjust the impact of data transmission rate, β is the weight coefficient used to balance the impact of transmission rate on load, and the data load array L = [L 1 , L 2 , ..., L n ], revealing the performance differences between differential channels;

[0089] S113: Calculate the average data load using the weighted average method according to the data load array

[0090]

[0091] Among them, L i represents the data load of the ith channel, w i represents the weight of the i-th channel, which is dynamically adjusted according to the channel's historical load data, reflecting the importance of the target channel in the overall operation;

[0092] S114: Analyze the unevenness of the data flow based on the average data load and calculate the load difference of each channel.

[0093]

[0094] Get channel load difference data D = [D 1 , D 2 , ..., D n ], indicating the degree of load imbalance between channels.

[0095] Calculate real-time data load:

[0096] Assume there are three channels, data transfer rate R = [100, 150, 200] MB / s;

[0097] I / O request data Q = [300, 400, 500] times per second;

[0098] Set α = 0.5 and β = 2; then,

[0099] Channel 1 load:

[0100]

[0101] Channel 2 load:

[0102]

[0103] Channel 3 load:

[0104]

[0105] Calculate the average data load:

[0106] The weight setting w = [1, 1.5, 2] means that channel 3 is the most important and channel 1 is the least important; then,

[0107] Load Average:

[0108]

[0109] Calculate channel load differences:

[0110] Load difference for channel 1:

[0111]

[0112] Load difference for channel 2:

[0113]

[0114] Load difference for channel 3:

[0115]

[0116] Then, the channel load difference data D=[0.704, 0.232, ..., 0.526] is obtained.

[0117] See also Figure 3 ,The monitoring steps of system response time and system call behavior are as follows:

[0118] S211: Input load difference data D=[D 1 , D 2 , ..., D n ];

[0119] S212: Using the load difference data D, monitor the system response time T of each channel i and system call behavior C i ,

[0120]

[0121] C i =γ·(D i +ζ) ∈

[0122] Among them, T i is the system response time of the ith channel, D i is the load difference of the ith channel, C i is the system call behavior of the ith channel, k represents the load difference sensitivity coefficient to the response time, γ represents the sensitivity coefficient of the system call behavior, δ is the load difference threshold, λ and ζ are adjustment parameters used to adjust the impact of load difference, ∈ is the exponent of the call behavior, indicating the nonlinear response of the call behavior to the load difference, and e is the base of the natural logarithm;

[0123] S213: According to the system response time T i and system call behavior C i , generate system response time record T record and system call behavior record C record , including the response time and calling behavior of each channel.

[0124] Assumptions:

[0125] D i is 0.12, indicating that the current channel load difference is 12%;

[0126] k is set to 1.5;

[0127] δ is set to 0.1 (assuming that channel load differences exceeding 10% begin to significantly affect system response);

[0128] λ is set to 2 and can be adjusted to suit different hardware;

[0129] γ is set to 0.5, which reflects the reaction speed of system calls with load changes;

[0130] ζ is set to 0.05, indicating that even a small load difference may trigger changes in system calls; ∈ is set to 1.2, indicating that the call behavior responds nonlinearly to the load difference;

[0131] Where e is the base of natural logarithms, approximately equal to 2.71828; then,

[0132]

[0133] Calculate the difference (D i -δ):

[0134] 0.12-0.1=0.02

[0135] Multiply by k and λ:

[0136] 1.5 0.02 2 = 0.06

[0137] Calculate the exponential of e:

[0138] e -0.06 ≈0.94176

[0139] Calculate T i :

[0140]

[0141] Continue to calculate C i :

[0142] Substituting the values ​​into the formula:

[0143] C i =0.5·(0.12+0.05) 1.2

[0144] Calculate the sum:

[0145] 0.12+0.05=0.17

[0146] Calculate the power:

[0147] 0.171.2 ≈0.1877

[0148] Then C i :

[0149] C i =0.5·0.1877≈0.09385

[0150] Then, the estimated values ​​of system response time and system call behavior are obtained from the given load difference data, and finally sorted out to generate the system response time record T record and system call behavior record C record .

[0151] See also Figure 4 , the steps to obtain compatibility exception records are:

[0152] S221: Analysis T record and C record , looking for unusual patterns and errors,

[0153] T anomaly =|T i -μ T |·ρ>σ T

[0154] C error =|C i -μ C |·θ>σ C

[0155] Among them, T anomaly A Boolean value indicating whether an exception exists, C error A Boolean value indicating whether there is a call error, μ T is the average system response time, μ C is the average value of system call behavior, σ T and σ C is the maximum deviation threshold, ρ is the adjustment factor for enhancing the sensitivity of anomaly detection, and θ is the adjustment factor for enhancing the sensitivity of error detection;

[0156] S222: According to T anomaly and C error , identify operating system compatibility issues and obtain identification results;

[0157] S223: Based on the identification results, all identified compatibility issues are recorded, including response time anomalies and system call errors, to form a compatibility anomaly record.

[0158] Assumptions:

[0159] μ T Calculated based on historical data, set to 0.5;

[0160] σ T Calculated based on the standard deviation of historical data, set to 0.05;

[0161] ρ is assumed to be 1.5;

[0162] μ C Calculated based on historical data, set to 0.1;

[0163] σ C Calculated based on the standard deviation of historical data, set to 0.02;

[0164] θ is assumed to be 2.0;

[0165] T i and C i According to the calculation in the previous step,

[0166] |T i -μ T |=|0.5147-0.5|=0.0147

[0167] It is concluded that

[0168] T anomaly =0.0147·1.5=0.02205

[0169] With σ T For comparison,

[0170] 0.02205<0.05

[0171] Since 0.02205 is less than 0.05, there is no abnormality.

[0172] |C i -μ C |=|0.09385-0.1|=0.00615

[0173] It is concluded that

[0174] C error =0.00615·2.0=0.0123

[0175] With σ C For comparison,

[0176] 0.0123<0.02

[0177] Since 0.0123 is less than 0.02, no error is called.

[0178] Finally, the results are collated and recorded to obtain compatibility exception records.

[0179] See also Figure 5 ,The steps to obtain the physical status monitoring records are:

[0180] S311: Call the compatibility exception record, list the channel exceptions that have been identified in the solid state drive, and obtain the exception record list R compatibility ;

[0181] S312: Based on R compatibility , implement physical status monitoring of SSD rewrite operations, centrally monitor channels with recorded anomalies, and obtain voltage and temperature fluctuation data,

[0182]

[0183] Among them, V i Indicates voltage fluctuation data, T i Indicates temperature fluctuation data, V 0 and T 0 are the baseline values ​​of voltage and temperature, respectively; a is the voltage change sensitivity coefficient; b is the influence coefficient for adjusting small voltage fluctuations; c is the amplification factor of temperature change on the result; d is the influence coefficient for adjusting small temperature changes; ΔV and ΔT are the voltage and temperature changes monitored in real time; g and h are small quantities to prevent zero division errors;

[0184] S313: Determine whether the fluctuation is beyond the normal range according to the voltage and temperature fluctuation data.

[0185]

[0186] in, It is a Boolean value to determine whether the voltage is abnormal. Is a Boolean value indicating whether the temperature voltage is abnormal, θ V and θ T is the voltage and temperature fluctuation threshold, A is the voltage fluctuation sensitivity adjustment coefficient, B is the temperature fluctuation sensitivity adjustment coefficient, if it exceeds the threshold, it is recorded as an abnormality and a physical status monitoring record is generated. physical , record all detected abnormal situations.

[0187] Calculate voltage fluctuation data:

[0188] V 0 is the voltage baseline value, assumed to be 5V (common USB voltage level);

[0189] a is the voltage change sensitivity coefficient, assumed to be 1.2, based on the fluctuation response of actual electronic equipment;

[0190] ΔV is the voltage change monitored in real time, assumed to be 0.05V;

[0191] b is a coefficient used to adjust the impact of small fluctuations, which is set to 0.1, indicating the amplification of small changes;

[0192] g is a small amount to prevent division by zero errors, set to 0.01;

[0193] Calculate the additions:

[0194] V 0 +a·ΔV=5+1.2×0.05=5.06V

[0195] Calculate the fractional term:

[0196]

[0197] Total voltage:

[0198] V i =5.06+1.67=6.73V

[0199] Calculate temperature fluctuation data:

[0200] T 0 is the temperature baseline value, set to 25°C (common room temperature);

[0201] c is the amplification factor of the temperature change on the result, which is set to 0.8 based on the sensitivity of the equipment;

[0202] ΔT is the temperature change monitored in real time, assumed to be 2°C;

[0203] d is the effect of adjusting for small changes in temperature, set to 0.2;

[0204] h is a small amount to prevent division by zero, set to 0.05;

[0205] Compute the squared term:

[0206] T 0 +c·ΔT 2 =25+0.8×(2 2 )=25+3.2=28.2℃

[0207] Calculate the fractional term:

[0208]

[0209] Total temperature:

[0210] T i =28.2+0.098=28.298℃

[0211] Abnormal voltage fluctuation judgment:

[0212] It is a Boolean value to determine whether the voltage is abnormal;

[0213] V i is the voltage calculated in real time, 6.73V;

[0214] V 0 is the voltage baseline value, which is 5V;

[0215] θ V is the voltage fluctuation threshold, set to 0.1V;

[0216] A is the voltage fluctuation sensitivity adjustment factor, which is set to 2.0 to emphasize the monitoring of fluctuations;

[0217] Calculate the voltage difference and threshold:

[0218] |V i -V 0 |=|6.73-5|=1.73V

[0219] θ V λ=0.1×2=0.2V

[0220] 1.73>0.2, the results show that there is abnormal voltage fluctuation.

[0221] Abnormal temperature fluctuation judgment:

[0222] Is a Boolean value to determine whether there is an exception;

[0223] T i is the temperature calculated in real time, 28.298°C;

[0224] T 0 is the temperature baseline value, which is 25°C.

[0225] θ T is the temperature fluctuation threshold, set to 1.5℃.

[0226] B is the temperature fluctuation sensitivity adjustment coefficient, which is set to 1.5 to enhance the sensitivity of monitoring; calculate the temperature difference and threshold:

[0227] |T i -T 0 |=|28.298-25|=3.298℃

[0228] θ T μ=1.5×1.5=2.25℃

[0229] 3.298>2.25, the results indicate that there are abnormal temperature fluctuations.

[0230] See also Figure 6 , the processing steps for classifying the affected packets are:

[0231] S411: Call physical status monitoring record Record physical , including voltage and temperature change data and abnormal fluctuation records of solid state drives;

[0232] S412: Based on the voltage and temperature change data and abnormal fluctuation records, evaluate the potential impact of voltage and temperature anomalies on application performance.

[0233]

[0234] Among them, I i is the performance impact indicator, ΔV i and ΔT i Represent voltage and temperature changes, λ V and λ T It is a weight parameter that adjusts the impact of changes and adjusts the relative importance of voltage and temperature on performance;

[0235] S413: Based on performance impact indicator I i If the indicator exceeds the preset threshold Θ, the data packet is classified and marked and recorded as a data packet that significantly affects performance C data .

[0236] If the following data exists:

[0237] ΔV i is the voltage change monitored in real time, assuming it is 0.08V;

[0238] ΔT i is the temperature change monitored in real time, assumed to be 2°C;

[0239] λ V and λ T is the weight parameter to adjust the influence of voltage and temperature changes. Assuming that the voltage weight λ V =1.5, temperature weight λ T =0.5;

[0240] Calculate the weighted square of the voltage and temperature changes:

[0241]

[0242] Sum and square root:

[0243]

[0244] Θ is the preset threshold of performance impact, assumed to be 1.0,

[0245] 1.417>1.0

[0246] Because 1.417 is greater than 1.0, it means that the packet is classified as a packet that may have a significant impact on application performance.

[0247] See also Figure 7 ,The steps to obtain the classification results of performance influencing factors are:

[0248] S421: Analysis C data Filter the data packets in the system and filter the key data flows that affect performance.

[0249]

[0250] Among them, D ij is the jth data point in the ith data packet, w j is the weight of the target data point, which is set according to the degree of impact on system performance, p j is the probability of performance impact, indicating the likelihood that the target data point affects performance;

[0251] S422: For key data stream K total Perform in-depth analysis to calculate the contribution and impact of each data stream on SSD performance.

[0252] Impact i =K total ·E i

[0253] Among them, Impact i Indicates the impact of the i-th key data flow, E i The additional efficiency factor representing the impact of the i-th data stream on performance is obtained to obtain in-depth analysis data;

[0254] S423: Based on the in-depth analysis data, integrate and generate the classification results of performance influencing factors P impact , including the performance impact of each data flow and the classification results.

[0255] Assume there are three key performance indicators: CPU usage, disk I / O operations, and memory usage. The specific data points are as follows:

[0256] CPU usage (D CPU =0.6), weight w CPU =1.5, impact probability p CPU =0.9;

[0257] Disk I / O operations (D Disk =0.4), weight w Disk =1.0, impact probability p Disk =0.7;

[0258] Memory usage (DMemory =0.8), weight w Memory =1.2, impact probability p Memory

[0259] =0.8;

[0260] Calculate the contribution of each performance metric:

[0261] K CPU =1.5·0.6·0.9=0.81

[0262] K Disk =1.0·0.4·0.7=0.28

[0263] K Memory =1.2·0.8·0.8=0.768

[0264] Calculate the total critical data flow impact:

[0265] K total =0.81+0.28+0.768=1.858

[0266] Determine the specific contribution of each data stream to SSD performance:

[0267] Assume that E CPU =0.95, E Disk =0.85, E Memory =0.90;

[0268] Calculate the performance impact of each data flow:

[0269] Impact CPU =0.81·0.95=0.7695

[0270] Impact Disk =0.28·0.85=0.238

[0271] Impact Memory =0.768·0.90=0.6912

[0272] It indicates that CPU usage, disk I / O operation and memory usage have different degrees of influence on SSD performance. 0.7695>0.6912>0.238, indicating that CPU usage has the greatest impact on SSD performance.

[0273] Solid-state drive performance monitoring system, including:

[0274] The data acquisition module captures the data transfer rate and I / O request data of all channels of the SSD in real time, performs real-time calculation of data flow, and generates channel data flow records;

[0275] The load analysis module calculates and analyzes the load of each channel based on the channel data flow record, obtains the load difference of each channel, and generates a channel load difference record;

[0276] The compatibility detection module monitors system response time and system call behavior based on channel load difference records, identifies operating system compatibility issues related to channel load, and generates compatibility exception records;

[0277] The physical monitoring module combines the compatibility anomaly record to monitor the voltage fluctuation and temperature change during the SSD rewrite operation and establish the physical status monitoring record of the SSD;

[0278] The classification processing module analyzes the impact of rewrite operations on cross-application performance based on physical status monitoring records, evaluates the potential impact of voltage and temperature anomalies on application performance, classifies and marks data packets, and generates classified data packets;

[0279] The performance impact analysis module screens key data streams based on classified data packets, calculates the contribution and impact of each data stream on the performance of the solid-state drive, and generates a classification result of performance impact factors.

[0280] 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. A method for monitoring solid state drive performance, characterized in that: The following steps are involved: Collect the data transfer rate and I / O request data of all channels of the SSD, capture data traffic in real time, calculate the load of all channels in real time, analyze the unevenness of data flow, and obtain channel load difference data; Based on the channel load difference data, monitor the system response time and system call behavior associated with the solid-state drive channel load, identify operating system compatibility issues associated with the channel load, record response time anomalies and system call errors, and generate compatibility anomaly records; In combination with the compatibility exception record, monitor the physical state of the SSD rewrite operation associated with the exception record, collect voltage fluctuations and temperature changes during the SSD rewrite process, analyze data fluctuations, and establish a physical state monitoring record; Based on the physical status monitoring records, the impact of the rewrite operation on cross-application performance is analyzed, the affected data packets are classified and processed, the key data streams that cause the performance degradation of the solid-state drive are identified, and the classification results of performance influencing factors are obtained.

2. The solid state drive performance monitoring method according to claim 1, characterized in that: The steps for obtaining the channel load difference data are as follows: Collect the data transfer rate R of each channel of the solid state drive i and I / O request data Q i , where i represents the channel number, from 1 to n, and n represents the total number of channels, and the data transmission rate array R = [R1, R2, ..., R n ], I / O request data array Q = [Q1, Q2, ..., Q n ]; For each channel, according to the data transmission rate R i and I / O request data Q i Calculate the real-time data load L i , Among them, α is the adjustment parameter used to adjust the impact of data transmission rate, β is the weight coefficient used to balance the impact of transmission rate on load, and the data load array L = [L1, L2, ..., L n ], revealing the performance differences between differential channels; According to the data load array, the average data load is calculated using the weighted average method Among them, L i represents the data load of the ith channel, w i represents the weight of the i-th channel, which is dynamically adjusted according to the channel's historical load data, reflecting the importance of the target channel in the overall operation; Combined with the average data load, the unevenness of the data stream is analyzed and the load difference of each channel is calculated. Get channel load difference data D = [D1, D2, ..., D n ], indicating the degree of load imbalance between channels.

3. The solid state drive performance monitoring method according to claim 1, characterized in that: The steps for monitoring the system response time and system call behavior are as follows: Input the load difference data D = [D1, D2, ..., D n ]; Using the load difference data D, the system response time T of each channel is monitored i and system call behavior C i , C i =γ·(D i +ζ)∈ Among them, T i is the system response time of the ith channel, D i is the load difference of the ith channel, C i is the system call behavior of the ith channel, k represents the load difference sensitivity coefficient to the response time, γ represents the sensitivity coefficient of the system call behavior, δ is the load difference threshold, λ and ζ are adjustment parameters used to adjust the impact of load difference, ∈ is the exponent of the call behavior, indicating the nonlinear response of the call behavior to the load difference, and e is the base of the natural logarithm; According to the system response time T i and system call behavior C i , generate system response time record T record and system call behavior record C record , including the response time and calling behavior of each channel.

4. The solid state drive performance monitoring method according to claim 3, characterized in that: The steps for obtaining the compatibility exception record are: Analysis of the T record and C record , looking for unusual patterns and errors, T anomaly =|T i -m T |·ρ>s T C error =|C i -m C |·θ>σ C Among them, T anomaly A Boolean value indicating whether an exception exists, C error A Boolean value indicating whether there is a call error, μ T is the average system response time, μ C is the average value of system call behavior, σ T and σ C is the maximum deviation threshold, ρ is the adjustment factor for enhancing the sensitivity of anomaly detection, and θ is the adjustment factor for enhancing the sensitivity of error detection; According to the T anomaly and C error , identify operating system compatibility issues and obtain identification results; According to the identification results, all identified compatibility issues are recorded, including response time anomalies and system call errors, to form a compatibility anomaly record.

5. The solid state drive performance monitoring method according to claim 1, characterized in that: The steps for obtaining the physical status monitoring record are: Call the compatibility exception record, list the channel exceptions identified in the solid state drive, and obtain the exception record list R compatibility ; Based on the R compatibility , implement physical status monitoring of SSD rewrite operations, centrally monitor channels with recorded anomalies, and obtain voltage and temperature fluctuation data, Among them, V i Indicates voltage fluctuation data, T i Indicates temperature fluctuation data, V0 and T0 are the baseline values ​​of voltage and temperature respectively, a is the voltage change sensitivity coefficient, b is the influence coefficient used to adjust small voltage fluctuations, c is the amplification factor of temperature change on the result, d is the influence coefficient for adjusting small temperature changes, ΔV and ΔT are the voltage and temperature changes monitored in real time, g and h are small quantities to prevent zero division errors; According to the voltage and temperature fluctuation data, determine whether the fluctuation is beyond the normal range, in, It is a Boolean value to determine whether the voltage is abnormal. Is a Boolean value indicating whether the temperature voltage is abnormal, θ V and θ T is the voltage and temperature fluctuation threshold, A is the voltage fluctuation sensitivity adjustment coefficient, B is the temperature fluctuation sensitivity adjustment coefficient, if it exceeds the threshold, it is recorded as an abnormality and a physical status monitoring record is generated. physical , record all detected abnormal situations.

6. The solid state drive performance monitoring method according to claim 1, characterized in that: The processing steps for classifying the affected data packets are: Call the physical status monitoring record Record physical , including voltage and temperature change data and abnormal fluctuation records of solid state drives; Based on the voltage and temperature change data and abnormal fluctuation records, evaluate the potential impact of voltage and temperature anomalies on application performance. Among them, I i is the performance impact indicator, ΔV i and ΔT i Represent voltage and temperature changes, λ V and λ T It is a weight parameter that adjusts the impact of changes and adjusts the relative importance of voltage and temperature on performance; Based on the performance impact index I i If the indicator exceeds the preset threshold Θ, the data packet is classified and marked and recorded as a data packet that significantly affects performance C data .

7. The solid state drive performance monitoring method according to claim 6, characterized in that: The steps for obtaining the classification results of the performance influencing factors are as follows: Analysis of the C data Filter the data packets in the system and filter the key data flows that affect performance. Among them, D ij is the jth data point in the ith data packet, w j is the weight of the target data point, which is set according to the degree of impact on system performance, p j is the probability of performance impact, indicating the likelihood that the target data point affects performance; For the key data stream K total Perform in-depth analysis to calculate the contribution and impact of each data stream on SSD performance. Impact i =K total ·E i Among them, Impact i Indicates the impact of the i-th key data flow, E i The additional efficiency factor representing the impact of the i-th data stream on performance is obtained to obtain in-depth analysis data; Based on the in-depth analysis data, the classification result P of performance influencing factors is generated by integration. impact , including the performance impact of each data flow and the classification results.

8. A solid state drive performance monitoring system, characterized in that: According to the solid state drive performance monitoring method according to any one of claims 1 to 7, the system comprises: The data acquisition module captures the data transfer rate and I / O request data of all channels of the SSD in real time, performs real-time calculation of data flow, and generates channel data flow records; The load analysis module calculates and analyzes the load of each channel according to the channel data flow record, obtains the load difference of each channel, and generates a channel load difference record; The compatibility detection module monitors the system response time and system call behavior based on the channel load difference record, identifies the operating system compatibility issues related to the channel load, and generates a compatibility exception record; The physical monitoring module monitors the voltage fluctuation and temperature change during the rewriting operation of the solid state drive in combination with the compatibility anomaly record, and establishes a physical state monitoring record of the solid state drive; The classification processing module analyzes the impact of the rewrite operation on cross-application performance based on the physical status monitoring record, evaluates the potential impact of voltage and temperature anomalies on application performance, classifies and marks the data packets, and generates classified data packets; The performance impact analysis module screens key data streams according to the classified data packets, calculates the contribution and impact of each data stream on the performance of the solid-state drive, and generates a classification result of performance impact factors.

Citation Information

Cited By

  • Real-time performance detection method and system for solid state disk

    CN119149321A

  • A real-time performance detection method and system for solid state hard disk

    CN119149321B

  • USB interface management and control method and device for information security protection

    CN119494127A

  • A USB interface control method and device for information security protection

    CN119494127B

  • Intelligent server performance monitoring method and system

    CN119883852A