Method for optimizing storage performance of notebook computer

By evaluating and optimizing the storage area of ​​the laptop, the storage performance bottleneck caused by the write speed of solid-state drives is solved, efficient data management and system stability are achieved, and equipment life is extended.

CN119088299AActive Publication Date: 2024-12-06WUHAN PANSHENG DINGCHENG TECH CO LTD

Patent Information

Application Number
CN202411179133.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-06
Estimated Expiration
2044-08-26

AI Technical Summary

Technical Problem

Laptops have performance bottlenecks in data storage, especially because the fast write speed of solid-state drives leads to much faster storage space consumption than recycling speed, resulting in unavailability of the system.

Method used

By evaluating the storage status of the target storage area, judging its normality, and optimizing the initial storage speed and the initial removal speed of data that needs to be cleaned during the data storage process, dynamically monitor and adjust the storage status to ensure system stability and fluency .

Benefits of technology

It effectively avoids data loss or inability to store, improves data writing efficiency and management, extends device life, improves overall user experience, and solves the performance bottleneck problem of laptops in data storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088299A_ABST
    Figure CN119088299A_ABST
Patent Text Reader

Abstract

The invention discloses a notebook computer storage performance optimization method, and relates to the technical field of storage performance optimization. According to the notebook computer storage performance optimization method, by evaluating the state of the target storage area, storage abnormity is found and prompted in time, and the situation that data are lost or cannot be stored is avoided. Meanwhile, the initial storage speed and the removal speed of the data needing to be cleaned are optimized in the storage process, and efficient data writing and management are ensured. In addition, the storage state is dynamically monitored and adjusted, the user is helped to keep the stability and smoothness of the system, the service life of equipment is prolonged, the overall use experience is improved, and the performance bottleneck problem of the notebook computer in the data storage process can be effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of storage performance optimization, in particular to a method for optimizing the storage performance of a notebook computer. Background Art

[0002] With the IT informatization construction, storage systems require more complex storage hardware and software architectures to carry massive amounts of data to ensure reliability and scalability. The update and iteration of hardware components and the superposition of software stacks make the performance optimization work in the storage operation process cumbersome. According to the previous experience of performance optimization, according to the standardization of measurement indicators, the optimization parameters of each hardware and software module are adjusted one by one to ensure the service quality of storage.

[0003] At present, solid-state drives have become the mainstream product of storage devices and are widely used in laptops as storage devices. When in use, since the data writing process is faster than garbage collection, if no measures are taken, the storage space consumption rate will eventually be much faster than the recycling rate, making the system unusable. Therefore, it is necessary to improve the data processing efficiency of the storage system. Summary of the invention

[0004] In view of the deficiencies of the prior art, the present invention provides a method for optimizing the storage performance of a notebook computer, which effectively solves the problem of performance bottlenecks in the data storage process of the notebook computer.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a method for optimizing the storage performance of a laptop computer, comprising the following steps: evaluating the storage status of a target storage area for storing data, and determining whether the storage status of the target storage area is normal; if the storage status of the target storage area is abnormal, prompting that the data cannot be stored in the target storage area of ​​the laptop computer; if the read and write status of the target storage area is normal, optimizing and controlling the initial storage speed of the data to be stored and the initial removal speed of the data to be cleaned during the data storage process; in the process of optimizing and controlling, evaluating the storage status of the laptop computer, obtaining an evaluation result, and adjusting the storage status based on the evaluation result.

[0006] Further, the determination of whether the storage status of the target storage area is normal comprises the following steps: obtaining read-write status data of the target storage area, the read-write status data comprising available storage space, historical buffer hit rate average, historical instruction response delay average, historical maximum I / O operation rate average and historical read-write error rate average; determining whether the available storage space is not less than the required space for the data to be stored: if the available storage space is less than the required space for the data to be stored, determining the occupied space of the data to be cleared in the target storage area, and determining whether the sum of the available storage space and the occupied space of the data to be cleared in the target storage area is not less than the required space for the data to be stored : If the sum of the available storage space and the space occupied by the data to be cleared in the target storage area is less than the space required for the data to be stored, the storage status of the target storage area is abnormal; if the available storage space is not less than the space required for the data to be stored or the sum of the available storage space and the space occupied by the data to be cleared in the target storage area is not less than the space required for the data to be stored, then the read and write status of the target storage area is evaluated based on the historical buffer hit rate average, the historical instruction response delay average, the historical maximum I / O operation rate average and the historical read and write error rate average to obtain a read and write status evaluation value; based on the read and write status evaluation value, it is determined whether the storage status of the target storage area is normal.

[0007] Furthermore, the obtaining of the read-write status evaluation value includes the following steps: obtaining the read-write status definition data stored in the database, the read-write status definition data including defining the mean buffer hit rate, defining the mean command response delay, defining the mean maximum I / O operation rate, and defining the mean read-write error rate; obtaining the weight factor data set stored in the database, the weight factor data set including the buffer hit rate weight factor, the command response delay weight factor, the maximum I / O operation rate weight factor, and the read-write error rate weight factor; performing comprehensive analysis and processing on the read-write status definition data stored in the database, the weight factor data set stored in the database, and the historical buffer hit rate mean, the historical command response delay mean, the historical maximum I / O operation rate mean, and the historical read-write error rate mean to obtain the read-write status evaluation value.

[0008] Furthermore, the calculation formula of the read-write status evaluation value is as follows:

[0009]

[0010] Where Dzp is the read-write status evaluation value, Hsm is the historical buffer hit rate mean, Ysc is the historical command response delay mean, Czs is the historical maximum I / O operation rate mean, Dxs is the historical read-write error rate mean, Hcm is the defined buffer hit rate mean, Ycc is the defined command response delay mean, Czc is the defined maximum I / O operation rate mean, Dxc is the defined read-write error rate mean, α1 is the buffer hit rate weight factor, α2 is the command response delay weight factor, α3 is the maximum I / O operation rate weight factor, and α4 is the read-write error rate weight factor.

[0011] Further, the method of judging whether the storage status of the target storage area is normal based on the read-write status evaluation value includes the following steps: judging whether the historical buffer hit rate mean is less than the buffer hit rate threshold stored in the database: if so, the storage status of the target storage area is abnormal; if otherwise, judging whether the historical instruction response delay mean is less than the instruction response delay threshold stored in the database: if otherwise, the storage status of the target storage area is abnormal; if so, judging whether the historical maximum I / O operation rate mean is less than the I / O operation rate threshold stored in the database: if so, the storage status of the target storage area is abnormal; if otherwise, judging whether the historical read-write error rate mean is less than the read-write error rate threshold stored in the database: if otherwise, the storage status of the target storage area is abnormal; if so, judging whether the read-write status evaluation value is less than the read-write status evaluation threshold stored in the database: if so, the storage status of the target storage area is abnormal; if otherwise, the storage status of the target storage area is normal.

[0012] Furthermore, in the process of data storage, the initial storage speed of the data to be stored and the initial removal speed of the data to be cleaned are optimized and controlled, including the following steps: based on the data type and data size of the data to be stored and the read-write status data of the target storage area, the initial storage speed corresponding to the data type is matched from the database; based on the data type and data size of the data to be cleaned and the read-write status data of the target storage area, the initial removal speed corresponding to the data type is matched from the database; in the process of processing the data to be stored and the data to be cleaned, the available storage space of the target storage area is obtained in real time, and it is determined whether the available storage space of the target storage area is less than the available storage space threshold set in the database: if the available storage space of the target storage area is less than the available storage space threshold set in the database, it is determined whether the data to be cleaned has been cleaned up: if it has been cleaned up, the data to be stored is stored at the initial storage speed; if it has not been cleaned up, the initial storage speed is reduced and the initial removal speed is increased; if the available storage space of the target storage area is not less than the available storage space threshold set in the database, the initial storage speed is maintained until the data to be stored is stored, and the initial removal speed is maintained until the data to be cleaned up is cleaned up.

[0013] Furthermore, the evaluation of the notebook storage status to obtain the evaluation result includes the following steps: obtaining storage status data during data processing, the storage status data including the actual storage speed of the data to be stored, the actual removal speed of the data to be cleaned, and the maximum I / O operation rate; obtaining storage performance allowable deviation data during data processing from a database based on the storage status data, the storage performance allowable deviation data including the memory temperature allowable deviation value and the CPU utilization allowable deviation value; obtaining actual storage performance data during data processing, the actual storage performance data including the memory actual temperature value and the CPU actual utilization rate; obtaining storage performance parameter data stored in the database, the storage performance parameter data including the memory parameter temperature value and the CPU parameter utilization rate; obtaining the evaluation result based on the storage performance allowable deviation data, the actual storage performance data, and the storage performance parameter data, and the evaluation result is used as an analysis basis for adjusting the storage status.

[0014] Furthermore, the calculation formula of the evaluation result is as follows:

[0015]

[0016] Where PG is the evaluation result, WSc is the actual temperature value of the memory, PSs is the actual CPU utilization, WCc is the parameterized temperature value of the memory, PCc is the parameterized CPU utilization, ΔW is the allowable deviation value of the memory temperature, and ΔP is the allowable deviation value of the CPU utilization.

[0017] Further, the method of obtaining storage performance allowable deviation data in the data processing process from the database based on the storage status data includes the following steps: comparing and analyzing the storage status data with each storage status matching data stored in the database to obtain a comparison coefficient, wherein the storage status matching data includes a matching storage speed of data to be stored, a matching removal speed of data to be cleaned, and a maximum I / O operation matching rate, wherein the calculation formula of the comparison coefficient is as follows:

[0018]

[0019] Wherein, δ is the comparison coefficient, Scs is the actual storage speed of the data to be stored, Sys is the actual removal speed of the data to be cleaned, Szs is the maximum I / O operation rate, Ccs is the matching storage speed, Cys is the matching removal speed of the data to be cleaned, Czs is the maximum I / O operation matching rate, and e is a natural constant; the storage state matching data corresponding to the minimum comparison coefficient is obtained, and the storage performance allowable deviation data corresponding to the storage stored in the database is obtained.

[0020] Furthermore, the adjustment of the storage state based on the evaluation results includes the following steps: comparing the evaluation results with the state adjustment plans corresponding to the evaluation results stored in the database, and obtaining the state adjustment plans corresponding to the evaluation results, wherein the state adjustment plans include lowering the memory temperature and lowering the CPU utilization of other programs.

[0021] The present invention has the following beneficial effects:

[0022] This laptop computer storage performance optimization method timely detects and prompts storage anomalies by evaluating the status of the target storage area, avoiding data loss or inability to store data. At the same time, the initial storage speed and the removal speed of data to be cleaned are optimized during the storage process to ensure efficient data writing and management. In addition, dynamic monitoring and adjustment of the storage status can help users maintain system stability and smoothness, extend the life of the device, and improve the overall user experience, which can effectively solve the performance bottleneck problem of laptop computers during data storage.

[0023] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 The present invention is a flow chart of the method for optimizing the storage performance of a notebook computer. DETAILED DESCRIPTION

[0025] The embodiment of the present application uses a laptop computer storage performance optimization method to evaluate the status of the target storage area, timely discover and prompt storage anomalies, and avoid data loss or inability to store. At the same time, during the storage process, the initial storage speed and the removal speed of the data to be cleaned are optimized to ensure efficient data writing and management. In addition, dynamic monitoring and adjustment of the storage status help users maintain the stability and smoothness of the system, extend the life of the device, and improve the overall user experience, which can effectively solve the performance bottleneck problem of laptop computers during data storage.

[0026] See also Figure 1 The embodiment of the present invention provides a technical solution: a method for optimizing the storage performance of a notebook computer, comprising the following steps: evaluating the storage status of a target storage area for data to be stored, and determining whether the storage status of the target storage area is normal; if the storage status of the target storage area is abnormal, prompting that the data cannot be stored in the target storage area of ​​the notebook computer; if the read / write status of the target storage area is normal, optimizing and controlling the initial storage speed of the data to be stored and the initial removal speed of the data to be cleared during the data storage process; in the process of optimizing and controlling, evaluating the storage status of the notebook computer, obtaining an evaluation result, and adjusting the storage status based on the evaluation result.

[0027] First, evaluate the status of the target storage area to ensure that it can support normal data storage. This can avoid errors during the storage process that may lead to data loss or damage. When abnormal storage status is found, users are promptly notified to prevent them from continuing operations without knowing it, thereby avoiding greater data loss risks. By optimizing the initial storage speed and removal speed, the overall data storage efficiency is improved, latency is reduced, and the user experience is improved. During the optimization process, the storage status is continuously monitored and evaluated, and corresponding adjustments are made based on the evaluation results to ensure that storage performance is always in the best state.

[0028] Specifically, the determination of whether the storage status of the target storage area is normal includes the following steps: obtaining read-write status data of the target storage area, the read-write status data including available storage space, historical buffer hit rate average, historical instruction response delay average, historical maximum I / O operation rate average, and historical read-write error rate average; determining whether the available storage space is not less than the required space for the data to be stored: if the available storage space is less than the required space for the data to be stored, determining the occupied space of the data to be cleared in the target storage area, and determining whether the sum of the available storage space and the occupied space of the data to be cleared in the target storage area is not less than the required space for the data to be stored: If the sum of the available storage space and the space occupied by the data to be cleared in the target storage area is less than the space required for the data to be stored, the storage status of the target storage area is abnormal; if the available storage space is not less than the required space for the data to be stored or the sum of the available storage space and the space occupied by the data to be cleared in the target storage area is not less than the required space for the data to be stored, the read and write status of the target storage area is evaluated based on the historical buffer hit rate average, the historical instruction response delay average, the historical maximum I / O operation rate average, and the historical read and write error rate average to obtain a read and write status evaluation value; based on the read and write status evaluation value, it is determined whether the storage status of the target storage area is normal.

[0029] In the case of insufficient storage space or poor storage status, data storage operations may result in data loss or corruption. By evaluating the storage status, you can identify potential risks in advance and take preventive measures. Monitoring historical read and write error rates can help timely detect trends in hardware failures or data corruption, avoiding data loss at critical moments. Historical buffer hit rate and command response latency are key indicators for measuring storage performance. By monitoring these indicators, you can evaluate the performance of storage areas under high load conditions and adjust storage policies to improve performance. Analyzing the historical maximum I / O operation rate can reveal bottlenecks during operation, provide a basis for improving performance, and help optimize data query and write efficiency.

[0030] By regularly evaluating the storage status, the storage system can implement proactive maintenance, remove unnecessary data and ensure optimal performance. This proactive attitude is obviously a more feasible management method compared to passive monitoring. The decision support integrated with historical data analysis makes storage management no longer a random action, but based on reliable data analysis, which can guide users to make more reasonable storage strategy adjustments.

[0031] The method of obtaining the read / write status evaluation value comprises the following steps: obtaining the read / write status definition data stored in the database, wherein the read / write status definition data comprises defining the mean value of the buffer hit rate, defining the mean value of the instruction response delay, defining the mean value of the maximum I / O operation rate, and defining the mean value of the read / write error rate. These definition parameters can be obtained from the test environment, and various test parameters in the test environment are used as definition parameters.

[0032] Obtain a weight factor data set stored in a database, wherein the weight factor data set includes a buffer hit rate weight factor, an instruction response delay weight factor, a maximum I / O operation rate weight factor, and a read / write error rate weight factor. When used, it can be directly obtained from the database, and the corresponding relationship can be a mapping set. For example, the historical buffer hit rate average, the historical instruction response delay average, the historical maximum I / O operation rate average, and the historical read / write error rate average form a mapping set with the buffer hit rate weight factor, the instruction response delay weight factor, the maximum I / O operation rate weight factor, and the read / write error rate weight factor. The buffer hit rate weight factor, the instruction response delay weight factor, the maximum I / O operation rate weight factor, and the read / write error rate weight factor corresponding to the historical buffer hit rate average, the historical instruction response delay average, the historical maximum I / O operation rate average, and the historical read / write error rate average can be obtained directly through the mapping set.

[0033] The read-write status definition data stored in the database, the weight factor data set stored in the database, the historical buffer hit rate average, the historical command response delay average, the historical maximum I / O operation rate average, and the historical read-write error rate average are comprehensively analyzed and processed to obtain the read-write status evaluation value. Among them, the historical buffer hit rate average, the historical command response delay average, the historical maximum I / O operation rate average, and the historical read-write error rate average are all obtained by averaging the data in the historical storage process.

[0034] The current read / write status definition data obtained is compared and analyzed with historical data. This comprehensive analysis helps to identify trends and potential performance issues. The weight factor is used to weight the impact of each indicator to ensure that the evaluation value not only considers the current status, but also appropriately reflects past performance. By integrating all data, a comprehensive read / write status evaluation value is calculated, which can intuitively display the overall performance status of the storage system.

[0035] The calculation formula of the read-write status evaluation value is as follows:

[0036]

[0037] Where Dzp is the read-write status evaluation value, Hsm is the historical buffer hit rate mean, Ysc is the historical command response delay mean, Czs is the historical maximum I / O operation rate mean, Dxs is the historical read-write error rate mean, Hcm is the defined buffer hit rate mean, Ycc is the defined command response delay mean, Czc is the defined maximum I / O operation rate mean, Dxc is the defined read-write error rate mean, α1 is the buffer hit rate weight factor, α2 is the command response delay weight factor, α3 is the maximum I / O operation rate weight factor, and α4 is the read-write error rate weight factor.

[0038] The buffer hit rate refers to the ratio of data hits in the cache when data is requested. A high buffer hit rate usually means that the system can respond faster when processing requests because it does not need to read data from the back-end storage device, reducing the need for I / O operations. The command response latency indicates the system's response time to a request, usually measured in milliseconds or microseconds. Response latency is a direct indicator of user experience and system performance. Lower latency usually means that the system can process requests faster and provide a smoother operating experience. The I / O operation rate usually refers to the number of read and write operations that the system can complete per second (such as I / O operations per second, IOPS). A higher I / O operation rate means that the system can read and write data faster, and is a key indicator for measuring storage system performance. The read and write error rate refers to the ratio of read and write request failures within a certain period of time. A higher error rate may indicate system instability, which may cause data loss or application crashes, affecting system reliability and stability.

[0039] A higher cache hit rate usually corresponds to lower response latency because many requests can be satisfied directly in the cache, avoiding slower back-end storage access. Lower response latency usually means that the system can process I / O operations at a higher rate. When the response time of the back-end storage is shorter, the overall I / O operation rate will also increase. A higher read and write error rate may cause some requests to fail, thereby affecting the efficiency of the cache (reducing the hit rate), and may also cause increased response latency because the system may need to retry the operation.

[0040] From a comprehensive perspective, when the buffer hit rate is high, the response latency is low, the I / O operation rate is high, and the error rate is low, it usually indicates that the system is healthy and performing well. However, once one of these parameters becomes abnormal (such as an increase in the error rate), it may have a chain reaction that affects other indicators, indicating that troubleshooting or performance optimization is needed.

[0041] Specifically, the method of judging whether the storage status of the target storage area is normal based on the read-write status evaluation value includes the following steps: judging whether the historical buffer hit rate mean is less than the buffer hit rate threshold stored in the database: if so, the storage status of the target storage area is abnormal; if otherwise, judging whether the historical instruction response delay mean is less than the instruction response delay threshold stored in the database: if otherwise, the storage status of the target storage area is abnormal; if so, judging whether the historical maximum I / O operation rate mean is less than the I / O operation rate threshold stored in the database: if so, the storage status of the target storage area is abnormal; if otherwise, judging whether the historical read-write error rate mean is less than the read-write error rate threshold stored in the database: if otherwise, the storage status of the target storage area is abnormal; if so, judging whether the read-write status evaluation value is less than the read-write status evaluation threshold stored in the database: if so, the storage status of the target storage area is abnormal; if otherwise, the storage status of the target storage area is normal.

[0042] The buffer hit rate threshold stored in the database is calculated by analyzing historical operation data, and the long-term buffer hit rate average is calculated, and it is set according to the normal operation status of the system. The instruction response delay threshold stored in the database is the instruction response delay threshold stored in the database. The I / O operation rate threshold stored in the database determines the average I / O rate under the standard workload through benchmark testing, and sets the threshold accordingly. The read and write error rate threshold stored in the database sets the maximum acceptable value of the error rate based on the fault tolerance and error recovery technology of the storage system. The read and write status evaluation threshold stored in the database comprehensively considers the impact of the buffer hit rate, response delay, I / O rate and error rate, and is calculated through weighted sum or other mathematical models. It can also be determined based on experience and historical performance. A comprehensive performance and health status evaluation threshold is stored in the database.

[0043] In this implementation scheme, a more comprehensive view of the storage status can be obtained by comprehensively considering multiple indicators (such as buffer hit rate, response delay, I / O operation rate, and read and write error rate). This avoids the deviation that may be caused by a single indicator, because a single parameter may be distorted under specific circumstances (such as a sudden change in a parameter due to an accidental event). A step-by-step judgment method is adopted, that is, each indicator is checked in sequence from high to low, and each step has a direct impact on the storage status. This method can flexibly locate performance problems and facilitate the discovery of potential bottlenecks in the storage system. Using pre-set thresholds (such as various thresholds stored in a database) to evaluate indicators makes the evaluation criteria quantified and clear, which helps to achieve consistency and repeatability.

[0044] When an abnormal storage status is found, the problem can be quickly located (such as cache miss, high response delay or other), thereby promoting targeted optimization and troubleshooting, and then maintaining system performance and stability. The multi-level evaluation design based on read and write status makes the monitoring of storage status more comprehensive and accurate, which has an important positive effect on improving the performance of storage devices, enhancing system reliability and data protection. Through this systematic approach, storage resources can be effectively managed to keep them in the best state under the ever-changing demand environment.

[0045] Specifically, in the process of data storage, the initial storage speed of the data to be stored and the initial removal speed of the data to be cleaned are optimized and controlled, including the following steps: based on the data type and data size of the data to be stored and the read-write status data of the target storage area, the initial storage speed corresponding to the data type is matched from the database; based on the data type and data size of the data to be cleaned and the read-write status data of the target storage area, the initial removal speed corresponding to the data type is matched from the database; in the process of processing the data to be stored and the data to be cleaned, the available storage space of the target storage area is obtained in real time, and it is judged whether the available storage space of the target storage area is less than the available storage space threshold set in the database: if the available storage space of the target storage area is less than the available storage space threshold set in the database, it is judged whether the data to be cleaned has been cleaned up: if it has been cleaned up, the data to be stored is stored at the initial storage speed; if it has not been cleaned up, the initial storage speed is reduced and the initial removal speed is increased; if the available storage space of the target storage area is not less than the available storage space threshold set in the database, the initial storage speed is maintained until the data to be stored is stored, and the initial removal speed is maintained until the data to be cleaned up is cleaned up.

[0046] In this embodiment, the data type (such as text, pictures, videos, etc.) and the data size determine how the data is processed. Different types of data may require different processing speeds and methods. For example, large files may require more cache space and longer write time. By matching the database with storage and removal speeds suitable for each type of data, more personalized and efficient data management can be achieved (a mapping table of storage or removal speeds corresponding to various data types and data sizes is stored in the database, and the mapping table can be used to obtain real-time storage or removal speeds corresponding to various data types and data sizes).

[0047] The read and write status of storage devices (such as I / O performance and error rate) has a significant impact on data processing speed. In a good read and write state, the storage speed can be increased; conversely, the speed may need to be reduced to avoid errors and performance degradation. Real-time monitoring of storage space and dynamically adjusting the storage and cleaning speed of data based on the amount of available space can help prevent system crashes or performance problems caused by insufficient storage space. When space is insufficient, speeding up data cleaning speed and reducing storage speed can prevent errors or data loss during the writing of new data.

[0048] By dynamically adjusting storage and removal speeds, the system can respond to changes in storage space and avoid system crashes or sharp performance drops due to insufficient space. It can flexibly adjust according to real-time data and storage conditions to adapt to different workloads and storage requirements, thereby maintaining a high performance level under various operating conditions.

[0049] Specifically, the evaluation of the notebook storage status and obtaining the evaluation result include the following steps: obtaining storage status data during data processing, the storage status data including the actual storage speed of the data to be stored, the actual removal speed of the data to be cleaned, and the maximum I / O operation rate; obtaining storage performance allowable deviation data during data processing from a database based on the storage status data, the storage performance allowable deviation data including the memory temperature allowable deviation value and the CPU utilization allowable deviation value; obtaining actual storage performance data during data processing, the actual storage performance data including the memory actual temperature value and the CPU actual utilization rate; obtaining storage performance parameter data stored in the database, the storage performance parameter data including the memory parameter temperature value and the CPU parameter utilization rate; obtaining the evaluation result based on the storage performance allowable deviation data, the actual storage performance data, and the storage performance parameter data, and the evaluation result is used as the analysis basis for adjusting the storage status.

[0050] The actual storage speed and removal speed directly affect the system's response time and processing efficiency. The maximum I / O operation rate is a key indicator for measuring storage system performance, which can help understand the system's performance under high load. The storage temperature and CPU utilization allowable deviation values ​​provide a certain degree of flexibility, allowing moderate fluctuations without affecting the safety and stability of the device. The comparison of actual storage performance data with storage performance parameter data allows maintenance personnel to accurately evaluate the current operating status and potential risks of the system.

[0051] The calculation formula of the evaluation result is as follows:

[0052]

[0053] Where PG is the evaluation result, WSc is the actual temperature value of the memory, PSs is the actual CPU utilization, WCc is the parameterized temperature value of the memory, PCc is the parameterized CPU utilization, ΔW is the allowable deviation value of the memory temperature, and ΔP is the allowable deviation value of the CPU utilization.

[0054] In this embodiment, by calculating the deviation between the actual value and the parameter value and then dividing it by the allowable deviation, this method provides a standardized deviation measurement. The deviation of both temperature and utilization is normalized by its corresponding allowable deviation so that these different quantities can be compared fairly in one formula. The purpose of using the natural logarithm function (ln) is to convert the weighted and normalized deviation values ​​into a smoother and more nonlinear evaluation scale. This helps to amplify smaller deviation values ​​(values ​​close to 1), while larger deviation values ​​(values ​​much greater than 1) will grow more slowly, avoiding excessive influence of extreme values ​​on the evaluation results.

[0055] Although these two indicators appear to be independent, they actually affect each other during operation. For example, high CPU utilization may cause the overall system temperature to rise, and vice versa, an overheated system may affect CPU performance. The difference between the actual performance and the standard performance of multiple key performance indicators can be considered at the same time. By monitoring these key parameters, system configuration can be adjusted in time or cooling measures can be taken to avoid performance bottlenecks or overheating damage and keep the system running in the best condition.

[0056] Specifically, the method of obtaining storage performance allowable deviation data in the data processing process from the database based on the storage status data includes the following steps: comparing and analyzing the storage status data with each storage status matching data stored in the database to obtain a comparison coefficient, wherein the storage status matching data includes a matching storage speed of data to be stored, a matching removal speed of data to be cleaned, and a maximum I / O operation matching rate, wherein the calculation formula of the comparison coefficient is as follows:

[0057]

[0058] Wherein, δ is the comparison coefficient, Scs is the actual storage speed of the data to be stored, Sys is the actual removal speed of the data to be cleaned, Szs is the maximum I / O operation rate, Ccs is the matching storage speed, Cys is the matching removal speed of the data to be cleaned, Czs is the maximum I / O operation matching rate, and e is a natural constant; the storage state matching data corresponding to the minimum comparison coefficient is obtained, and the storage performance allowable deviation data corresponding to the storage state matching data stored in the database is obtained; the storage performance allowable deviation data corresponding to the storage state matching data corresponding to the minimum comparison coefficient is obtained.

[0059] In this implementation, by calculating the difference between the actual storage speed (Scs), removal speed (Sys) and maximum I / O operation rate (Szs) and the corresponding matching speeds in the database, the deviation between the current state of the system and the preset optimal state can be quantified.

[0060] Specifically, the adjustment of the storage state based on the evaluation results includes the following steps: comparing the evaluation results with the state adjustment plans corresponding to the evaluation results stored in the database, and obtaining the state adjustment plans corresponding to the evaluation results, wherein the state adjustment plans include lowering the memory temperature and lowering the CPU utilization of other programs.

[0061] In this implementation scheme, a pre-stored evaluation result that is the same as the current evaluation result is searched in the database, and a state adjustment plan corresponding to the current evaluation result can be determined through a pre-set mapping set. By timely adjusting the memory temperature and managing the CPU utilization, it can run in the optimal state, avoid performance degradation caused by overheating or resource overload, and reduce unnecessary resource usage, such as reducing the CPU usage of non-critical programs, which can free up these resources for more critical tasks, thereby optimizing overall resource allocation and usage.

[0062] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0063] The present invention is described with reference to flowcharts and / or block diagrams of systems, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0064] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0065] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0066] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0067] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for optimizing the storage performance of a notebook computer, characterized in that: The following steps are involved: Evaluate the storage status of the target storage area to store the data, and determine whether the storage status of the target storage area is normal; If the storage status of the target storage area is abnormal, it will prompt that the data cannot be stored in the target storage area of ​​the laptop; If the read / write status of the target storage area is normal, the initial storage speed of the data to be stored and the initial removal speed of the data to be cleared are optimized and controlled during the data storage process; In the process of optimizing control, the storage status of the notebook is evaluated, an evaluation result is obtained, and the storage status is adjusted based on the evaluation result.

2. The method for optimizing the storage performance of a notebook computer according to claim 1, characterized in that: The step of determining whether the storage state of the target storage area is normal comprises the following steps: Obtaining read and write status data of the target storage area, the read and write status data including available storage space, historical buffer hit rate average, historical instruction response delay average, historical maximum I / O operation rate average, and historical read and write error rate average; Determine whether the available storage space is not less than the space required for the data to be stored: If the available storage space is less than the space required for the data to be stored, determine the space occupied by the data to be cleared in the target storage area, and judge whether the sum of the available storage space and the space occupied by the data to be cleared in the target storage area is not less than the space required for the data to be stored: If the sum of the available storage space and the space occupied by the data to be cleared in the target storage area is less than the space required for the data to be stored, the storage status of the target storage area is abnormal; If the available storage space is not less than the required space for the data to be stored or the sum of the available storage space and the space occupied by the data to be cleared in the target storage area is not less than the required space for the data to be stored, then the read and write status of the target storage area is evaluated based on the historical buffer hit rate average, the historical command response delay average, the historical maximum I / O operation rate average, and the historical read and write error rate average to obtain a read and write status evaluation value; It is determined whether the storage state of the target storage area is normal based on the read / write state evaluation value.

3. The method for optimizing the storage performance of a notebook computer according to claim 2, characterized in that: The step of obtaining the read / write status evaluation value comprises the following steps: Acquire read / write status definition data stored in a database, wherein the read / write status definition data includes defining a mean buffer hit rate, defining a mean command response delay, defining a mean maximum I / O operation rate, and defining a mean read / write error rate; Acquire a weight factor data set stored in a database, wherein the weight factor data set includes a buffer hit rate weight factor, an instruction response delay weight factor, a maximum I / O operation rate weight factor, and a read / write error rate weight factor; The read-write status definition data stored in the database, the weight factor data set stored in the database, the historical buffer hit rate average, the historical instruction response delay average, the historical maximum I / O operation rate average, and the historical read-write error rate average are comprehensively analyzed and processed to obtain the read-write status evaluation value.

4. The method for optimizing the storage performance of a notebook computer according to claim 3, characterized in that: The calculation formula of the read-write status evaluation value is as follows: Where Dzp is the read-write status evaluation value, Hsm is the historical buffer hit rate mean, Ysc is the historical command response delay mean, Czs is the historical maximum I / O operation rate mean, Dxs is the historical read-write error rate mean, Hcm is the defined buffer hit rate mean, Ycc is the defined command response delay mean, Czc is the defined maximum I / O operation rate mean, Dxc is the defined read-write error rate mean, α1 is the buffer hit rate weight factor, α2 is the command response delay weight factor, α3 is the maximum I / O operation rate weight factor, and α4 is the read-write error rate weight factor.

5. The method for optimizing the storage performance of a notebook computer according to claim 2, characterized in that: The step of judging whether the storage state of the target storage area is normal based on the read-write state evaluation value comprises the following steps: Determine whether the historical buffer hit rate average is less than the buffer hit rate threshold stored in the database: If yes, the storage status of the target storage area is abnormal; If not, determine whether the historical command response delay average is less than the command response delay threshold stored in the database: If otherwise the storage status of the target storage area is abnormal; If yes, determine whether the historical maximum I / O operation rate average is less than the I / O operation rate threshold stored in the database: If yes, the storage status of the target storage area is abnormal; Otherwise, determine whether the historical read and write error rate average is less than the read and write error rate threshold stored in the database: If otherwise the storage status of the target storage area is abnormal; If yes, determine whether the read / write status evaluation value is less than the read / write status evaluation threshold stored in the database: If yes, the storage status of the target storage area is abnormal; Otherwise, the storage status of the target storage area is normal.

6. The method for optimizing the storage performance of a notebook computer according to claim 2, characterized in that: The process of storing the data is performed by optimizing and controlling the initial storage speed of the data to be stored and the initial removal speed of the data to be cleared, including the following steps: Based on the data type and data size of the data to be stored and the read / write status data of the target storage area, an initial storage speed corresponding to the data type is obtained from a database by matching; Based on the data type and data size of the data to be cleaned and the read-write status data of the target storage area, an initial removal speed corresponding to the data type is obtained from the database by matching; In the process of processing the data to be stored and the data to be cleaned, the available storage space of the target storage area is obtained in real time to determine whether the available storage space of the target storage area is less than the available storage space threshold set in the database: If the available storage space in the target storage area is less than the available storage space threshold set in the database, it is determined whether the data to be cleared has been cleared: If the cleaning is completed, the data to be stored will be stored at the initial storage speed; If the cleaning is not completed, the initial storage speed is reduced and the initial removal speed is increased; If the available storage space of the target storage area is not less than the available storage space threshold set in the database, the initial storage speed is maintained until the data to be stored is stored, and the initial removal speed is maintained until the data to be cleared is cleared.

7. The method for optimizing the storage performance of a notebook computer according to claim 6, characterized in that: The step of evaluating the notebook storage status and obtaining the evaluation result comprises the following steps: Acquire storage status data during data processing, wherein the storage status data includes an actual storage speed of data to be stored, an actual removal speed of data to be cleared, and a maximum I / O operation rate; Acquiring storage performance allowable deviation data in the data processing process from a database based on the storage status data, wherein the storage performance allowable deviation data includes a memory temperature allowable deviation value and a CPU utilization allowable deviation value; Acquire actual storage performance data during data processing, wherein the actual storage performance data includes an actual temperature value of the memory and an actual CPU utilization rate; Acquire storage performance parameter data stored in a database, wherein the storage performance parameter data includes a memory parameter temperature value and a CPU parameter utilization rate; An evaluation result is obtained based on the storage performance allowable deviation data, the actual storage performance data and the storage performance parameter data, and the evaluation result is used as an analysis basis for adjusting the storage state.

8. The method for optimizing the storage performance of a notebook computer according to claim 7, characterized in that: The calculation formula of the evaluation result is as follows: Where PG is the evaluation result, WSc is the actual temperature value of the memory, PSs is the actual CPU utilization, WCc is the parameterized temperature value of the memory, PCc is the parameterized CPU utilization, ΔW is the allowable deviation value of the memory temperature, and ΔP is the allowable deviation value of the CPU utilization.

9. The method for optimizing the storage performance of a notebook computer according to claim 7, characterized in that: The method of acquiring storage performance allowable deviation data in the data processing process from a database based on storage status data comprises the following steps: The storage state data is compared and analyzed with each storage state matching data stored in the database to obtain a comparison coefficient, wherein the storage state matching data includes the matching storage speed of the data to be stored, the matching removal speed of the data to be cleaned, and the maximum I / O operation matching rate, wherein the calculation formula of the comparison coefficient is as follows: Where δ is the comparison coefficient, Scs is the actual storage speed of the data to be stored, Sys is the actual removal speed of the data to be cleaned, Szs is the maximum I / O operation rate, Ccs is the matching storage speed, Cys is the matching removal speed of the data to be cleaned, Czs is the maximum I / O operation matching rate, and e is a natural constant; The storage state matching data corresponding to the minimum comparison coefficient is obtained, and the storage performance allowable deviation data corresponding to the storage state matching data stored in the database is obtained.

10. The method for optimizing the storage performance of a notebook computer according to claim 1, characterized in that. The step of adjusting the storage state based on the evaluation result comprises the following steps: The evaluation result is compared with the state adjustment scheme corresponding to each evaluation result stored in the database to obtain the state adjustment scheme corresponding to the evaluation result, wherein the state adjustment scheme includes reducing the memory temperature and reducing the CPU utilization of other programs.

Citation Information

Patent Citations

  • Memorizer performance optimizing method and device and computer equipment

    CN107728948A

  • Storage performance monitoring method and device, electronic equipment and storage medium

    CN116578463A

  • Performance evaluation system and method for multi-stage RAID system

    CN117909198A

  • Data protection method and system for solid state disk

    CN118051190A

  • Big data storage and processing control method

    CN118170325A

Cited By

  • Temperature control equipment state intelligent monitoring method and system

    CN119902584A

  • Data storage optimization method and system

    CN120255794A

  • Intelligent control system and method for all-in-one machine and storage medium

    CN120523695A