A method and system for improving computing power performance
By constructing a heterogeneous computing environment and an adaptive resource management system, and combining deep learning models for real-time resource allocation and task scheduling, the challenges of resource integration and management in heterogeneous computing environments are solved, and efficient and stable computing task execution is achieved.
Patent Information
- Application Number
- CN202411017828.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-29
AI Technical Summary
Traditional single computing resources are insufficient to meet the high performance and high efficiency requirements of complex computing tasks. Resource integration and management in heterogeneous computing environments present challenges. The question is how to dynamically adjust resource allocation strategies and task scheduling to optimize utilization.
Construct a heterogeneous computing environment that integrates multiple types of computing resources. Through an adaptive resource management system, monitor and dynamically adjust resource allocation in real time. Combine this with deep learning models for task optimization and prediction to achieve intelligent scheduling.
It improves the utilization rate of computing resources, reduces energy waste, ensures the high efficiency and stability of task execution, reduces operation and maintenance costs, and improves system response speed and task execution efficiency.
Smart Images

Figure CN118550711B_ABST
Abstract
Description
Technical Field
[0001] The present invention proposes a method and system for improving computing power efficiency, which belongs to the technical field of resource management and scheduling. Background Art
[0002] With the rapid development of information technology, especially the rapid rise of big data, cloud computing, artificial intelligence and other fields, the demand for computing power is increasing. Traditional single computing resources (such as CPU) can no longer meet the high performance and high efficiency requirements of complex computing tasks. Therefore, heterogeneous computing, as a technology that can integrate multiple types of computing resources (such as CPU, GPU, FPGA, etc.) to provide high-performance computing capabilities, has received widespread attention and application.
[0003] However, the construction and management of heterogeneous computing environments face many challenges. First, how to effectively integrate and manage these heterogeneous computing resources to ensure that they can work together and maximize their computing power is an important issue. Second, how to dynamically adjust the allocation strategy of computing resources according to task characteristics and computing resource usage to achieve optimal resource utilization is also an issue that needs to be addressed. Summary of the invention
[0004] The present invention provides a method and system for improving computing power performance to solve the problems mentioned in the above background technology:
[0005] The present invention provides a method for improving computing power performance, the method comprising:
[0006] S1. Build a heterogeneous computing environment integrating multiple types of computing resources, wherein the multiple types of computing resources include CPU, GPU and FPGA;
[0007] S2, based on the adaptive resource management system, real-time monitoring of computing resource usage, and dynamic adjustment of computing resource allocation strategy according to real-time resource usage and task characteristics;
[0008] S3. Based on historical execution data, the deep learning model is trained, and the task execution order and allocated computing resources are predicted and optimized based on the trained deep learning model. In combination with the adaptive resource management system, the task allocation strategy is adjusted in real time.
[0009] S4. Before task execution, the computing task is optimized, and the optimization includes task segmentation and data preprocessing; and during the execution process, resources are dynamically allocated and tasks are intelligently scheduled through an adaptive resource management system and a deep learning model.
[0010] Furthermore, the S1 includes:
[0011] Determine the type and quantity of computing resources required based on business needs, and evaluate the performance characteristics and applicable scenarios of each computing resource;
[0012] Build computing resource interconnection architecture and select communication protocols for heterogeneous computing environments;
[0013] Design collaborative work strategies based on the heterogeneity of computing resources and the dependencies between tasks;
[0014] Deploy heterogeneous computing environments in physical and / or virtual environments, and verify the performance and stability of the environment through benchmark tests and simulation tasks; perform performance tuning on the heterogeneous computing environment based on the verification results.
[0015] Furthermore, the S2 includes:
[0016] Through the adaptive resource management system, the usage of computing resources is collected in real time, and the real-time monitoring data is processed and analyzed to extract key indicators and trends;
[0017] Forecast resource demand based on historical data and current trends; design dynamic resource allocation strategies based on real-time analysis and prediction based on multiple factors;
[0018] According to the dynamic resource allocation strategy, the allocation of computing resources is adjusted in real time, and based on the monitoring and alarm system, resource allocation and execution are tracked in real time.
[0019] Furthermore, the S3 includes:
[0020] Collecting historical execution data from a heterogeneous computing environment and preprocessing the collected historical execution data, wherein the preprocessing includes cleaning, deduplication, and normalization;
[0021] Based on business needs and data characteristics, perform feature extraction, build feature sets, select deep learning models, build model architecture, and set hyperparameters;
[0022] Use historical data to train the model and monitor the training process, use feature sets to verify the performance of the model, and adjust hyperparameters;
[0023] Use the trained deep learning model to predict the task execution order and computing resource allocation, and evaluate the prediction results;
[0024] The model is optimized based on the evaluation results, and the deep learning model is regularly updated.
[0025] Furthermore, the S4 includes:
[0026] Analyze the tasks to be executed, and evaluate the computing resource requirements and potential performance bottlenecks based on the task characteristics.
[0027] Identify dependencies between tasks and use graph theory algorithms to model and analyze task dependencies;
[0028] Based on the real-time monitoring data of the adaptive resource management system, the current status and usage of computing resources are obtained, and tasks are assigned to corresponding computing resources through intelligent scheduling algorithms according to task characteristics and resource status;
[0029] Before the task is executed, the task is divided and parallelized; and the data required for the task is preprocessed and cached through the optimization algorithm.
[0030] During the task execution process, the status of computing resources and the execution of tasks are monitored in real time. Task allocation and computing resource allocation are dynamically adjusted based on real-time data and intelligent scheduling algorithms. When resource conflicts or task delays occur, responses are made and scheduling strategies are optimized.
[0031] Use deep learning models based on historical execution data to predict the order of task execution and computing resource allocation, and use the prediction results as part of the intelligent scheduling algorithm;
[0032] Design scheduling effect evaluation indicators, regularly collect and analyze scheduling effect data, and evaluate the effectiveness of the intelligent scheduling algorithm; based on the evaluation results, iterate and optimize the intelligent scheduling algorithm.
[0033] The present invention proposes a computing power performance improvement system, the system comprising:
[0034] Environment construction module: constructs a heterogeneous computing environment integrating multiple types of computing resources, including CPU, GPU and FPGA;
[0035] Real-time monitoring module: Based on the adaptive resource management system, it monitors the usage of computing resources in real time and dynamically adjusts the computing resource allocation strategy according to the real-time resource usage and task characteristics;
[0036] Strategy adjustment module: Based on historical execution data, the deep learning model is trained, and the task execution sequence and allocated computing resources are predicted and optimized based on the trained deep learning model. In addition, the task allocation strategy is adjusted in real time in combination with the adaptive resource management system.
[0037] Intelligent Scheduling Module: Before task execution, the computing task is optimized, including task segmentation and data preprocessing. During execution, resources are dynamically allocated and tasks are intelligently scheduled through an adaptive resource management system and deep learning models.
[0038] Furthermore, the environment construction module includes:
[0039] Scenario assessment module: Determine the type and quantity of computing resources required based on business needs, and evaluate the performance characteristics and applicable scenarios of each computing resource;
[0040] Protocol selection module: builds the computing resource interconnection architecture and selects the communication protocol for the heterogeneous computing environment;
[0041] Strategy design module: designs collaborative work strategies based on the heterogeneity of computing resources and the dependencies between tasks;
[0042] Performance tuning module: Deploy heterogeneous computing environments in physical and / or virtual environments, and verify the performance and stability of the environment through benchmark tests and simulation tasks; perform performance tuning on the heterogeneous computing environment based on the verification results.
[0043] Furthermore, the real-time monitoring module includes:
[0044] Indicator extraction module: collects computing resource usage in real time through the adaptive resource management system, processes and analyzes real-time monitoring data, and extracts key indicators and trends;
[0045] Situation prediction module: predict resource demand based on historical data and current trends; design dynamic resource allocation strategies based on real-time analysis and prediction based on multiple factors;
[0046] Execution tracking module: adjusts the allocation of computing resources in real time according to the dynamic resource allocation strategy, and tracks resource allocation and execution in real time based on the monitoring and alarm system.
[0047] Furthermore, the policy adjustment module includes:
[0048] Data preprocessing module: collects historical execution data from heterogeneous computing environments and preprocesses the collected historical execution data, including cleaning, deduplication and normalization;
[0049] Feature extraction module: extract features according to business needs and data characteristics, build feature sets, select deep learning models, build model architectures, and set hyperparameters;
[0050] Parameter adjustment module: Use historical data to train the model and monitor the training process, use feature sets to verify the performance of the model, and adjust hyperparameters;
[0051] Allocation prediction module: Use the trained deep learning model to predict the task execution order and computing resource allocation, and evaluate the prediction results;
[0052] Model updating module: optimizes the model according to the evaluation results and regularly updates the deep learning model.
[0053] Furthermore, the intelligent scheduling module includes:
[0054] Analyze the tasks to be executed, and evaluate the computing resource requirements and potential performance bottlenecks based on the task characteristics.
[0055] Identify dependencies between tasks and use graph theory algorithms to model and analyze task dependencies;
[0056] Based on the real-time monitoring data of the adaptive resource management system, the current status and usage of computing resources are obtained, and tasks are assigned to corresponding computing resources through intelligent scheduling algorithms according to task characteristics and resource status;
[0057] Before the task is executed, the task is divided and parallelized; and the data required for the task is preprocessed and cached through the optimization algorithm.
[0058] During the task execution process, the status of computing resources and the execution of tasks are monitored in real time. Task allocation and computing resource allocation are dynamically adjusted based on real-time data and intelligent scheduling algorithms. When resource conflicts or task delays occur, responses are made and scheduling strategies are optimized.
[0059] Use deep learning models based on historical execution data to predict the order of task execution and computing resource allocation, and use the prediction results as part of the intelligent scheduling algorithm;
[0060] Design scheduling effect evaluation indicators, regularly collect and analyze scheduling effect data, and evaluate the effectiveness of the intelligent scheduling algorithm; based on the evaluation results, iterate and optimize the intelligent scheduling algorithm.
[0061] The invention has the following beneficial effects: by dynamically adjusting the computing resource allocation strategy and intelligent task scheduling, it is ensured that resources are fully utilized when the load is high, and energy waste is reduced when the load is low, thereby improving the system computing power efficiency and reducing the operating cost as a whole; the constructed heterogeneous computing environment can intelligently match the most suitable resources according to the task characteristics (such as CPU-intensive, GPU-accelerated or FPGA tasks requiring highly customized logic), effectively handle various computing requirements, and improve the efficiency and quality of task execution; the deep learning model is used to predict task execution and resource allocation, and the model is continuously optimized in combination with historical data, so that the system has the ability to proactively adjust resources, prevent resource bottlenecks, further reduce task waiting time and improve system response speed; the system not only responds to the current resource status and task requirements in real time, but also can continuously optimize the adaptive resource management strategy and intelligent scheduling algorithm based on the feedback loop to ensure long-term operation efficiency and stability; the optimization processing before task execution, including task segmentation, data preprocessing, etc., reduces unnecessary overhead in the execution process, improves the execution speed of a single task and the throughput of the entire system; through real-time monitoring and thermal management measures, the stability and safety of computing resources when running under high load are ensured, and system failures caused by overheating or improper resource allocation are reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 It is a step diagram of the method of the present invention;
[0063] Figure 2 This is a system module diagram of the present invention. DETAILED DESCRIPTION
[0064] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0065] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0066] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0067] One embodiment of the present invention provides a method for improving computing power performance, the method comprising:
[0068] S1. Build a heterogeneous computing environment integrating multiple types of computing resources, wherein the multiple types of computing resources include CPU, GPU and FPGA;
[0069] S2, based on the adaptive resource management system, real-time monitoring of computing resource usage, and dynamic adjustment of computing resource allocation strategy according to real-time resource usage and task characteristics;
[0070] S3. Based on historical execution data, the deep learning model is trained, and the task execution order and allocated computing resources are predicted and optimized based on the trained deep learning model. In combination with the adaptive resource management system, the task allocation strategy is adjusted in real time.
[0071] S4. Before task execution, the computing task is optimized, and the optimization includes task segmentation and data preprocessing; and during the execution process, resources are dynamically allocated and tasks are intelligently scheduled through an adaptive resource management system and a deep learning model.
[0072] The working principle of the above technical solution is: by integrating multiple types of computing resources such as CPU, GPU and FPGA, a heterogeneous computing environment is constructed. The heterogeneous computing environment can make full use of the advantages of various computing resources, such as the general computing power of CPU, the parallel computing power of GPU, the hardware acceleration capability of FPGA, etc. The adaptive resource management system monitors the usage of computing resources in real time, including the utilization rate of CPU, the video memory occupancy of GPU, the programming status of FPGA, etc. According to the real-time resource usage and task characteristics (such as computing intensive, IO intensive, memory intensive, etc.), the allocation strategy of computing resources is dynamically adjusted. For example, when a task requires a large amount of parallel computing, the system can allocate more GPU resources to the task; use historical execution data to train the deep learning model. These data may include the execution time of the task, resource usage, dependencies between tasks, etc. The trained deep learning model can predict and optimize the execution order of tasks and the allocated computing resources according to the current system status and task characteristics. Combined with the adaptive resource management system, the deep learning model can adjust the task allocation strategy in real time to maximize the utilization of computing resources and the execution efficiency of tasks. Before the task is executed, the computing task is optimized, which includes splitting the large task into multiple small tasks for parallel execution, and preprocessing the input data to reduce the overhead in the computing process. During the task execution, resources are dynamically allocated and tasks are intelligently scheduled through the adaptive resource management system and deep learning model. This means that the system can dynamically increase or decrease the resource allocation of a task according to the real-time situation, or adjust the execution order of tasks to maximize the overall performance.
[0073] The effect of the above technical solution is: by building a heterogeneous computing environment that integrates multiple types of computing resources, the method can make full use of the advantages of different computing resources, such as the versatility of CPU, the parallel computing capability of GPU, the hardware acceleration capability of FPGA, etc., so as to maximize the utilization of computing resources. The adaptive resource management system monitors the usage of computing resources in real time and dynamically adjusts the computing resource allocation strategy according to the real-time resource usage and task characteristics. This dynamic resource allocation method can ensure that key tasks obtain sufficient resources while avoiding resource waste; based on the historical execution data, the deep learning model is trained, and the model can predict and optimize the execution order of tasks and the allocated computing resources. This prediction and optimization capability enables the system to make decisions in advance, reduce uncertainty in resource allocation and task execution, and improve overall execution efficiency. Optimizing computing tasks before task execution, such as task segmentation and data preprocessing, can reduce the overhead during task execution and improve execution efficiency. At the same time, through the combination of the adaptive resource management system and the deep learning model, resources are dynamically allocated and tasks are intelligently scheduled to ensure that tasks can be executed in the optimal order and allocation strategy. Due to the use of adaptive and predictive methods, the system can make real-time adjustments during resource usage and task execution, thereby maintaining high stability and reliability. Even in the face of changing environments and task requirements, the system can quickly adapt and make corresponding adjustments. Through automated resource allocation and task scheduling, this method can reduce the workload of operation and maintenance personnel, reduce human intervention and errors, and thus reduce operation and maintenance costs. Because the system can adjust resource allocation and task execution strategies in real time, it ensures that tasks can be completed as quickly as possible, thereby improving the user experience. This method of improving computing power efficiency is particularly important for users who need to handle large-scale and complex computing tasks.
[0074] In one embodiment of the present invention, the S1 includes:
[0075] Determine the type and quantity of computing resources required based on business needs, and evaluate the performance characteristics and applicable scenarios of each computing resource;
[0076] Build computing resource interconnection architectures, such as PCIe, NVLink, or Ethernet, and select communication protocols for heterogeneous computing environments;
[0077] Design collaborative work strategies based on the heterogeneity of computing resources and the dependencies between tasks, including task allocation, load balancing, and fault tolerance.
[0078] Deploy heterogeneous computing environments in physical and / or virtual environments, and verify the performance and stability of the environment through benchmark tests and simulation tasks; perform performance tuning on the heterogeneous computing environment based on the verification results.
[0079] The working principle of the above technical solution is as follows: According to business needs, clarify the specific requirements of computing tasks, such as computing volume, memory requirements, parallelism, etc. Determine the type and quantity of computing resources required (such as CPU, GPU, FPGA) to meet the computing scale and performance requirements of business needs. Evaluate the performance characteristics and applicable scenarios of each computing resource to ensure that the selected resources can efficiently support the execution of tasks. Build a computing resource interconnection architecture and select appropriate connection methods (such as PCIe, NVLink or Ethernet, etc.) to ensure efficient communication between different computing resources. Select appropriate communication protocols according to business needs to meet the bandwidth, latency and reliability requirements of data transmission between tasks. Consider the heterogeneity of computing resources and the dependencies between tasks, and design collaborative work strategies. This includes aspects such as task allocation, load balancing and fault tolerance. The task allocation strategy must ensure that tasks can be allocated to the most suitable computing resources for execution according to their characteristics and resource requirements. The load balancing strategy must ensure load balancing between computing resources to avoid overloading some resources while other resources are idle. The fault tolerance strategy must ensure that in the event of hardware failure or software anomaly, the system can automatically detect and switch to backup resources to ensure continuous execution of tasks. Deploy heterogeneous computing environments in physical or virtual environments, including the installation of hardware devices, configuration of software systems, and network construction. Verify the performance and stability of the environment through benchmark tests and simulation tasks. Benchmark tests are used to evaluate the performance of computing resources, while simulation tasks are used to simulate task execution in actual business scenarios. Based on the verification results, perform performance tuning on the heterogeneous computing environment, including adjusting parameter settings, optimizing task allocation strategies, etc., to improve the overall performance and stability of the environment.
[0080] The effect of the above technical solution is: through in-depth analysis of business needs, the required computing resource type and quantity can be accurately determined to avoid resource waste or shortage. The performance characteristics and applicable scenarios of each computing resource are evaluated to ensure that the selected resources can efficiently support the execution of tasks and improve computing efficiency. The constructed computing resource interconnection architecture (such as PCIe, NVLink or Ethernet, etc.) ensures efficient communication between different computing resources and reduces data transmission delays and bandwidth bottlenecks. The selection of appropriate communication protocols further improves the efficiency and reliability of data interaction and provides a stable environment for task execution. The designed collaborative work strategy fully considers the heterogeneity of computing resources and the dependencies between tasks, and realizes the optimal configuration of resources and efficient execution of tasks. The strategy design in terms of task allocation, load balancing and fault tolerance ensures that the system can automatically adapt to changes in tasks and maintain an efficient and stable operating state. Deploying heterogeneous computing environments in physical or virtual environments ensures the reliability and stability of the system. By verifying the performance and stability of the environment through benchmarking and simulation tasks, potential problems can be discovered and adjusted in a timely manner to ensure the performance of the system in actual operation. By tuning the performance of the heterogeneous computing environment according to the verification results, the system performance can be continuously improved to meet the ever-changing business needs. The performance tuning process is also a process of continuous learning and optimization, which can continuously accumulate experience and knowledge and provide strong support for future system upgrades and improvements. The heterogeneous computing environment constructed through the above steps can make full use of the advantages of different computing resources, achieve optimal resource allocation and efficient utilization, and thus improve the overall computing performance. This is particularly important for processing large-scale and complex computing tasks, and can significantly improve the execution efficiency and response speed of tasks. Through the automated deployment, verification and performance tuning process, the workload and error rate of operation and maintenance personnel can be reduced, and the operation and maintenance costs can be reduced. At the same time, due to the high stability and reliability of the system, the downtime and data loss caused by system failures or anomalies can be reduced, further reducing the operation and maintenance costs.
[0081] In one embodiment of the present invention, the S2 includes:
[0082] The adaptive resource management system collects the usage of computing resources in real time, processes and analyzes the real-time monitoring data, and extracts key indicators and trends. The usage of computing resources is calculated by the following formula:
[0083]
[0084] Among them, U represents the comprehensive indicator of computing resource usage, m represents the number of computing resource types, Indicates the frequency or usage frequency of the nth computing resource, or the workload intensity of the resource, Indicates the capacity, quantity, or usage of the nth computing resource; represents the standard deviation, which is used to normalize the resource utilization efficiency index, and T represents the time period, such as the time interval for resource allocation and monitoring.
[0085] Predict resource demand based on historical data and current trends; design dynamic resource allocation strategies based on real-time analysis and prediction based on multiple factors including task priority, resource utilization, and energy efficiency;
[0086] According to the dynamic resource allocation strategy, the allocation of computing resources is adjusted in real time. Based on the monitoring and alarm system, the resource allocation and execution are tracked in real time. The alarm threshold is set to timely discover and solve potential problems.
[0087] The working principle of the above technical solution is as follows: Based on the prediction, the system designs a dynamic resource allocation strategy based on multiple factors. These multiple factors include task priority, resource utilization, and energy efficiency ratio. Task priority determines the priority of resource allocation, resource utilization reflects the current load of resources, and energy efficiency ratio considers the relationship between resource consumption and performance output. The dynamic resource allocation strategy aims to ensure that high-priority tasks obtain sufficient resources while keeping resource utilization within a reasonable range and optimizing energy efficiency ratio. According to the dynamic resource allocation strategy, the adaptive resource management system adjusts the allocation of computing resources in real time. This may include allocating more resources to high-priority tasks or allocating idle resources to tasks in the waiting queue. During the adjustment process, the system ensures a smooth transition of resource allocation to avoid interruption or performance degradation of the tasks being executed. In order to track resource allocation and execution in real time, the system sets a monitoring and alarm system. The monitoring system continuously tracks the allocation status of resources, the progress of task execution, and system performance indicators. The alarm system sets an alarm threshold. When the resource utilization is too high, the task execution delay is too long, or the system performance degrades, the system will trigger an alarm notification so that the operation and maintenance personnel can find and solve potential problems in time.
[0088] The effect of the above technical solution is that the adaptive resource management system can collect the usage of computing resources in real time, and process and analyze it based on real-time monitoring data. This enables the system to respond quickly to changes in resource demand, dynamically adjust resource allocation strategies, and ensure the rational use of resources. Through real-time analysis and prediction, the system can predict resource demand based on historical data and current trends, and design dynamic resource allocation strategies based on multiple factors (such as task priority, resource utilization, and energy efficiency ratio). This helps to avoid idle and wasteful resources and improve overall resource utilization. The dynamic resource allocation strategy takes into account task priority to ensure that high-priority tasks can obtain sufficient resource support, thereby speeding up task execution and improving task completion rate. At the same time, the system can also optimize according to resource utilization and energy efficiency ratio to further improve task execution efficiency. The real-time monitoring and alarm system can track resource allocation and execution in real time and detect potential problems in a timely manner. This helps operation and maintenance personnel to quickly locate and solve problems, reduce downtime and data loss, and reduce operation and maintenance costs. Through real-time monitoring and dynamic adjustment of resource usage, the system can maintain high stability and reliability. Even in the face of emergencies or high loads, the system can quickly adjust resource allocation strategies to ensure the normal execution of key tasks. This technical solution realizes intelligent decision-making and autonomous management, reducing the need for manual intervention. The system can automatically adjust resource allocation strategies based on real-time data and prediction results, reduce the possibility of human errors, and improve the automation level of system management. The adaptive resource management system has good flexibility and scalability. As business needs change and computing resources increase, the system can easily expand and adjust resource allocation strategies to adapt to new environments and challenges. The above formula and resource management method can significantly improve the management efficiency and use effect of computing resources, ensure the stable and efficient operation of the system, and be able to flexibly respond to various resource demand changes and potential problems. At the same time, the above formula can evaluate the use of different types of resources under a unified indicator by means of logarithmic functions and weighted summation. This method can reflect the overall resource utilization efficiency and facilitate comprehensive analysis and management. Using standard deviation to normalize the resource utilization efficiency indicator helps to eliminate the dimensional differences between different resources, so that the use of different resources can be compared and analyzed on the same scale. This is very important for formulating a unified resource management strategy and performing cross-resource optimization. The introduction of time periods enables the formula to reflect the dynamic changes in resource usage. By monitoring and calculating resource usage within a specific time period, the changing trend of resource demand can be better captured, thus providing a basis for real-time adjustment and optimization. By forecasting resource demand based on historical data and current trends, resource allocation plans can be made in advance to avoid resource waste or shortages. Through forecasting, managers can better prepare for future fluctuations in resource demand and improve the stability and responsiveness of the system.Combined with multiple factors such as task priority, resource utilization, and energy efficiency, the resource allocation strategy is dynamically adjusted to achieve the optimal configuration of resources. This multi-factor comprehensive consideration method can ensure that high-priority tasks are processed in a timely manner while improving overall resource utilization and energy efficiency. Based on the monitoring and alarm system, real-time tracking of resource allocation and execution can timely discover and solve potential problems. Setting alarm thresholds can prevent resource overload or shortage and ensure the normal operation and service quality of the system. Through the above formulas and methods, computing resources can be managed and allocated more scientifically, resource utilization can be improved, and resource waste can be reduced. At the same time, system performance can be optimized to ensure that tasks can be efficiently executed with appropriate resource support. The dynamic resource allocation strategy has high flexibility and adaptability, and can adjust resource allocation in real time according to actual conditions. This flexibility helps to cope with rapid changes in business needs and temporary demand for resources due to emergencies.
[0089] In one embodiment of the present invention, S3 includes:
[0090] Collecting historical execution data from a heterogeneous computing environment and preprocessing the collected historical execution data, wherein the preprocessing includes cleaning, deduplication, and normalization;
[0091] According to business needs and data characteristics, perform feature extraction, build feature sets, and select deep learning models such as CNN, RNN, Transformer, etc. Build model architecture and set hyperparameters;
[0092] Use historical data to train the model and monitor the training process, use feature sets to verify the performance of the model, and adjust hyperparameters;
[0093] Using the trained deep learning model to predict the task execution order and computing resource allocation, and evaluating the prediction results; the evaluation includes accuracy, stability, and interpretability;
[0094] The model is optimized according to the evaluation results, such as adjusting the network structure, increasing the amount of data, etc. The deep learning model is regularly updated.
[0095] The working principle of the above technical solution is as follows: First, collect historical execution data from heterogeneous computing environments, which may include task type, execution time, computing resource usage, etc. Preprocess the collected historical execution data, including cleaning (removing noise, outliers or duplicate data), deduplication (eliminating duplicates), and normalization (converting data to the same scale for comparison). Perform feature extraction based on business needs and data characteristics. These features may include the computational complexity of the task, resource requirements, execution time, etc. Build feature sets, which will be used as inputs for deep learning models. Select appropriate deep learning models, such as convolutional neural networks (CNNs), recurrent neural networks (RNNs), Transformers, etc., and determine the most suitable model type based on task characteristics and data characteristics. Build the model architecture and set hyperparameters, such as learning rate, batch size, number of network layers, etc. Use historical data to train the deep learning model. During the training process, optimize the model parameters through the back propagation algorithm to minimize the prediction error. Monitor the training process to ensure that the model can effectively learn the patterns in the data. The performance of the model is verified using a feature set, which is usually separated from the training set to ensure that the model performs well on unseen data. Hyperparameters are adjusted based on the verification results to optimize the performance of the model. The trained deep learning model is used to predict the order of task execution and the allocation of computing resources. This can be achieved by inputting the features of the new task into the model. The prediction results are evaluated, including accuracy (the proportion of correct predictions made by the model), stability (the consistency of the model's performance on different data sets), and interpretability (the degree to which the model's predictions are understandable). The model is optimized based on the evaluation results, such as adjusting the network structure (increasing or decreasing the number of layers, changing the activation function, etc.), increasing the amount of data (through data enhancement or collecting more data), etc. As new data is continuously collected, the deep learning model is updated regularly to maintain its continuous improvement in predictive performance.
[0096] The effect of the above technical solution is: by collecting historical execution data from heterogeneous computing environments, the technical solution can make decisions based on actual operation data rather than just experience or intuition. This makes the decision of resource allocation and task execution order more scientific and reasonable. Deep learning models, such as CNN, RNN, Transformer, etc., show strong capabilities in processing complex data patterns. After proper training and adjustment, these models can accurately predict the order of task execution and computing resource allocation, thereby improving computing efficiency and resource utilization. Using trained deep learning models for prediction can help the system allocate computing resources for upcoming tasks in advance to avoid resource conflicts and waiting time. This helps to reduce task execution time and improve system throughput and response speed. By verifying and adjusting the model, it can be ensured that it can maintain stable performance on different data sets. This improves the reliability of the system and reduces the risks caused by fluctuations in model performance. When evaluating the prediction results, in addition to accuracy and stability, interpretability is also considered. This means that the prediction results of the model are understandable, which is convenient for operation and maintenance personnel to analyze and diagnose problems. Optimizing the model according to the evaluation results, such as adjusting the network structure and increasing the amount of data, can further improve the prediction performance of the model. In addition, regular updates to deep learning models ensure that they keep pace with the latest changes in heterogeneous computing environments. By predicting the order of task execution and computing resource allocation, the system can more accurately control resource usage and avoid resource waste. This helps reduce operating costs and improve resource utilization. This technical solution can adapt to different business needs and data characteristics. By adjusting steps such as feature extraction, model selection, and hyperparameter setting, deep learning models can be flexibly built and optimized to meet different application scenarios.
[0097] In one embodiment of the present invention, the S4 includes:
[0098] Analyze the tasks to be executed, including key attributes such as the amount of computation, data dependency, and execution time of the tasks. Combined with the characteristics of the tasks, evaluate the requirements for computing resources and potential performance bottlenecks of the tasks;
[0099] Identify dependencies between tasks and use graph theory algorithms to model and analyze task dependencies;
[0100] Based on the real-time monitoring data of the adaptive resource management system, the status and usage of the current computing resources are obtained, and the tasks are assigned to the corresponding computing resources through the intelligent scheduling algorithm according to the task characteristics and resource status; wherein the status of the computing resources includes the carrying capacity of the computing resources, and the carrying capacity calculation formula is as follows:
[0101]
[0102] in, Represents computing resources The average carrying capacity, Represents computing resources The static carrying capacity of G represents the task list or computing resources The set of related tasks, F represents the number of task characteristics or the number of factors affecting the carrying capacity, Indicates that the fth task feature is in the task The weight or impact factor in Represents computing resources Dynamic load-bearing capacity variables.
[0103] Before the task is executed, the task is divided and parallelized; and the data required for the task is preprocessed and cached through the optimization algorithm.
[0104] During the task execution process, the status of computing resources and the execution of tasks are monitored in real time. Task allocation and computing resource allocation are dynamically adjusted based on real-time data and intelligent scheduling algorithms. When resource conflicts or task delays occur, responses are made and scheduling strategies are optimized.
[0105] Use deep learning models based on historical execution data to predict the order of task execution and computing resource allocation, and use the prediction results as part of the intelligent scheduling algorithm;
[0106] Design scheduling effect evaluation indicators, such as task completion rate, resource utilization, execution time, etc. Regularly collect and analyze scheduling effect data to evaluate the effectiveness of the intelligent scheduling algorithm; iterate and optimize the intelligent scheduling algorithm based on the evaluation results.
[0107] The working principle of the above technical solution is as follows: conduct in-depth analysis of the tasks to be executed, including key attributes such as the computational amount, data dependency, and execution time of the tasks. These analyses help evaluate the demand for computing resources and possible performance bottlenecks of the tasks. Identify the dependencies between tasks and use graph theory algorithms (such as topological sorting, critical path method, etc.) to model and analyze the task dependencies. This helps determine the order of task execution and potential parallel execution opportunities. Based on the real-time monitoring data of the adaptive resource management system, obtain the status and usage of current computing resources. This includes information such as resource availability, load conditions, and energy efficiency ratio. According to the characteristics of the tasks and the status of the resources, the tasks are assigned to the corresponding computing resources through an intelligent scheduling algorithm. The scheduling algorithm will comprehensively consider multiple factors such as task priority, resource utilization, and energy efficiency ratio to achieve optimal resource allocation and rapid execution of tasks. Before the task is executed, the task is split and parallelized to improve the execution efficiency of the task. At the same time, the data required for the task is preprocessed and cached through the optimization algorithm to reduce data access delays and conflicts. During the execution of the task, the status of the computing resources and the execution of the task are monitored in real time. Dynamically adjust task allocation and computing resource allocation based on real-time data and intelligent scheduling algorithms. When resource conflicts or task delays occur, the scheduling algorithm responds and optimizes the scheduling strategy. Use deep learning models based on historical execution data to predict the task execution order and computing resource allocation. Use the prediction results as part of the intelligent scheduling algorithm to improve the accuracy and efficiency of scheduling. Design scheduling effect evaluation indicators, such as task completion rate, resource utilization, execution time, etc. Regularly collect and analyze scheduling effect data to evaluate the effectiveness of the intelligent scheduling algorithm. Based on the evaluation results, iterate and optimize the intelligent scheduling algorithm to improve the overall performance and resource utilization of the system.
[0108] The effects of the above technical solution are: by conducting in-depth analysis of the tasks to be executed, including key attributes such as computing volume, data dependency and execution time, it is possible to more accurately evaluate the demand for computing resources of the tasks, thereby allocating resources more reasonably and improving the execution efficiency of the tasks; by using the real-time monitoring data of the adaptive resource management system, combined with the task characteristics and resource status, the intelligent scheduling algorithm is used to achieve accurate resource allocation. This can not only avoid resource waste, but also ensure that resources are fully utilized under high load conditions, thereby improving overall resource utilization; before the task is executed, the task is split and parallelized, which can significantly improve the execution speed of the task. At the same time, the data required for the task is preprocessed and cached through the optimization algorithm, which reduces the delay and conflict of data access and further improves the efficiency of parallel processing. During the execution of the task, the status of the computing resources and the execution of the task are monitored in real time, and dynamically adjusted according to the real-time data and the intelligent scheduling algorithm. This dynamic adjustment capability ensures that the system can respond quickly when there is a resource conflict or task delay, optimizes the scheduling strategy, and ensures that the task can be completed on time. The deep learning model based on historical execution data is used to predict the task execution order and computing resource allocation, and the prediction results are used as part of the intelligent scheduling algorithm. This intelligent prediction capability can help the system predict resource requirements in advance, so as to make more reasonable scheduling decisions and improve the intelligence and prediction accuracy of the system. Design scheduling effect evaluation indicators, regularly collect and analyze scheduling effect data, and evaluate the effectiveness of intelligent scheduling algorithms. Iterate and optimize the intelligent scheduling algorithm according to the evaluation results to ensure that the system is always in the best state and continuously improve the scheduling effect. Through the intelligent scheduling algorithm and real-time monitoring mechanism, the system can timely discover and solve potential performance bottlenecks and resource conflicts, thereby enhancing the stability and reliability of the system. At the same time, parallel processing of tasks and data preprocessing can also reduce system instability factors caused by data access conflicts and delays. The above formula can improve the accuracy of resource allocation, optimize task scheduling, reduce resource conflicts and task delays, use historical data and deep learning models for prediction, and continuously improve and optimize. It helps to improve the utilization of computing resources and the efficiency of task processing, while improving the stability and reliability of the system. At the same time, the formula takes into account multiple features of the task and the weight of these features in the task. This comprehensive consideration helps to more accurately evaluate the demand for resources of the task, thereby improving the rationality of resource allocation. The dynamic carrying capacity variable in the formula can dynamically adjust the carrying capacity of resources according to real-time data. This helps to more accurately reflect the current status of resources, thereby improving the real-time and accuracy of resource allocation. The static carrying capacity and dynamic carrying capacity variables in the formula jointly determine the average carrying capacity of resources. This comprehensive consideration helps to more reasonably allocate tasks, avoid resource overload or underutilization, and thus improve resource utilization.Based on real-time monitoring data and intelligent scheduling algorithms, the formula can dynamically adjust task allocation according to the status of tasks and resources. This adaptability and flexibility helps to cope with changing workloads and environments and improve the stability and reliability of the system.
[0109] In one embodiment of the present invention, before the task is executed, the task is divided and processed in parallel; and the data required for the task is preprocessed and cached by an optimization algorithm, including:
[0110] Develop a task partitioning strategy based on key attributes of the task, such as the amount of computation, data dependency, and execution time. Consider the characteristics and heterogeneity of computing resources and partition the task into subtasks that are executed on different computing resources.
[0111] Automatically optimize task segmentation strategies through machine learning algorithms based on historical data and task characteristics;
[0112] Analyze the parallelism between tasks, identify the parts that can be executed in parallel, and design corresponding parallelization strategies; use the dependencies between tasks to design the parallel execution sequence;
[0113] Dynamically adjust the parallelization level based on the computing resource capacity and task characteristics;
[0114] Preprocess the data required for the task, including data cleaning, conversion, and normalization, and introduce a data caching mechanism to cache the preprocessed data in high-performance storage media.
[0115] The working principle of the above technical solution is as follows: according to the key attributes of the task, such as the amount of computation, data dependency and execution time, a task splitting strategy is formulated. This is to decompose complex tasks into multiple smaller and more manageable subtasks. Taking into account the characteristics and heterogeneity of computing resources (such as different types of computing resources such as CPU, GPU, FPGA, etc.), the task is split into subtasks suitable for execution on different computing resources. This can better utilize different types of computing resources and improve the overall execution efficiency. Using historical data and task characteristics, the task splitting strategy is automatically optimized through machine learning algorithms. Machine learning algorithms can learn from past experience in task splitting and automatically adjust the splitting strategy according to new task characteristics to achieve better execution results. The parallelism between tasks is analyzed to identify the parts that can be executed in parallel. These parts are logically independent of each other and can be calculated at the same time, thereby speeding up the overall execution speed. Using the dependencies between tasks, a reasonable parallel execution order is designed. This ensures that during the parallel execution process, some tasks will not be unable to start execution due to dependencies. The parallelization level is dynamically adjusted in combination with the carrying capacity of computing resources and task characteristics. If computing resources are sufficient, the parallelization level can be increased to allow more tasks to be executed simultaneously; if resources are tight, the parallelization level can be reduced to ensure that key tasks can be executed first. Preprocess the data required for the task, including data cleaning, conversion, and normalization. This can ensure the quality and consistency of the data and reduce errors and delays caused by data problems during task execution. Introduce a data caching mechanism to cache the preprocessed data in a high-performance storage medium. This can speed up the reading of data and reduce the data access time during task execution. The caching mechanism can also perform intelligent management based on the access frequency and importance of data to ensure that the data in the cache is always the most commonly used and most valuable data.
[0116] The effect of the above technical solution is that task segmentation and parallel processing can significantly reduce the execution time of the overall task. By dividing a large task into multiple subtasks and executing them in parallel on different computing resources, computing resources can be fully utilized, waiting time can be reduced, and execution efficiency can be improved. Data preprocessing and caching can reduce the data processing time when the task is executed, because the preprocessed data has been converted into a format that can be directly used by the task, and the caching mechanism can ensure that the data is read quickly and I / O delays can be reduced. Considering the characteristics and heterogeneity of computing resources, tasks are divided into subtasks suitable for execution on different computing resources to ensure that computing resources are utilized to the greatest extent. Different computing resources can be optimized for different types of tasks to improve resource utilization. Dynamic adjustment of the parallelization level can be optimized according to the real-time status of computing resources and task characteristics, avoiding resource waste and overload, and ensuring that computing resources can maintain an efficient working state at any time. Through the automatic optimization of task segmentation strategies by machine learning algorithms, the system can automatically adjust the strategy according to historical data and task characteristics to meet the needs of different scenarios. This flexibility enables the system to cope with a variety of complex and changing tasks. The introduction of data caching mechanism can be used for intelligent management based on the access frequency and importance of data, so that the system can dynamically adjust the caching strategy according to the actual situation to meet the data requirements of different tasks. Data preprocessing can ensure the quality and consistency of data and reduce errors and delays caused by data problems. Preprocessing steps such as cleaning, conversion and normalization can eliminate noise and outliers in the data and improve the reliability of data. By analyzing the dependencies and parallelism between tasks, it can be ensured that some tasks will not be unable to start execution due to dependencies during parallel execution, thereby reducing waiting time and delays between tasks. Improving task execution efficiency and optimizing resource utilization can enable users to obtain task results faster and improve user experience. Users no longer need to wait for a long time for tasks to complete, and can use computing resources and services more efficiently. The introduction of data caching mechanism can speed up the reading of data, allowing users to access and process data faster, and improve the efficiency of data processing and analysis.
[0117] In one embodiment of the present invention, during the task execution process, the state of computing resources and the execution status of tasks are monitored in real time, and task allocation and computing resource allocation are dynamically adjusted according to real-time data and intelligent scheduling algorithms; when resource conflicts or task delays occur, responses are made and scheduling strategies are optimized, including:
[0118] Use the real-time monitoring function of the adaptive resource management system to collect computing resource status information, including key indicators such as CPU usage, memory usage, and disk I / O;
[0119] At the same time, monitor the execution of tasks, including task progress, execution time, resource consumption, etc.; store the collected data in the database;
[0120] Analyze real-time data, evaluate the load and performance bottlenecks of computing resources, and analyze potential problems and risks in the task execution process based on task characteristics and resource status;
[0121] Use statistical and machine learning algorithms to predict future resource requirements and task performance;
[0122] Design dynamic adjustment strategies based on real-time data and forecast results, including task allocation, resource allocation, priority adjustment, etc. Consider the priority and urgency of tasks to ensure that high-priority tasks get resources first;
[0123] Introducing an adaptive adjustment mechanism to automatically adjust the allocation strategy based on the load of computing resources and task execution efficiency;
[0124] When resource conflicts or task delays occur, the processing mechanism is triggered immediately; the causes of the conflicts or delays are analyzed to determine the scope of impact and the degree of urgency; based on the analysis results, corresponding optimization measures are taken, such as reallocating resources, adjusting task priorities, and starting backup resources.
[0125] The working principle of the above technical solution is as follows: using the real-time monitoring function of the adaptive resource management system, the system continuously collects the status information of computing resources, such as key performance indicators such as CPU usage, memory usage, and disk I / O. At the same time, the system also monitors the execution of tasks, including task progress, execution time, resource consumption, etc., to understand the actual running status of the tasks. The collected data is stored in the database in real time to provide data support for subsequent analysis and scheduling. The system conducts in-depth analysis of real-time data to evaluate the load and performance bottlenecks of computing resources to understand the current operating status and potential problems of the system. Combining task characteristics and resource status, the system analyzes potential problems and risks in the task execution process, such as insufficient resources and task dependency conflicts. Using statistical and machine learning algorithms, the system predicts future resource requirements and task execution status to provide a decision-making basis for dynamic scheduling. The prediction results can help the system discover potential resource bottlenecks and task conflicts in advance, so as to make adjustments and optimizations in advance. Based on real-time data and prediction results, the system designs dynamic adjustment strategies, including task allocation, resource allocation, priority adjustment, etc. When allocating tasks, the system considers the priority and urgency of tasks to ensure that high-priority tasks can obtain resources first. The system introduces an adaptive adjustment mechanism to automatically adjust the allocation strategy according to the load of computing resources and the efficiency of task execution to maximize resource utilization and task execution efficiency. When the system detects resource conflicts or task delays, the processing mechanism is triggered immediately. The system analyzes the causes of conflicts or delays, determines the scope of impact and urgency, and takes appropriate optimization measures. Based on the analysis results, the system can take a variety of optimization measures, such as reallocating resources, adjusting task priorities, and starting backup resources, to alleviate conflicts and delays and ensure that tasks can be executed smoothly.
[0126] The effect of the above technical solution is: by real-time monitoring of the status of computing resources and task execution, the system can accurately grasp the actual use of resources and the resource requirements of tasks. Based on this information, the system can dynamically adjust task allocation and resource allocation to ensure that resources are maximized and avoid resource waste. The dynamic adjustment strategy can reasonably adjust task allocation and priority according to real-time data and prediction results to ensure that high-priority and urgent tasks are executed first. This not only reduces task waiting time, but also improves the overall task execution efficiency. When the system detects resource conflicts or task delays, it can immediately trigger the processing mechanism, analyze the causes and take corresponding optimization measures. This helps to quickly resolve conflicts and delays and reduce their impact on task execution. By introducing adaptive adjustment mechanisms and prediction algorithms, the system can predict potential problems and risks in advance and automatically adjust strategies to meet these challenges. This makes the system more robust and reliable in the face of emergencies and uncertainties. Efficient resource management and task scheduling can ensure that tasks submitted by users can be processed and results returned in the shortest time. This not only improves the user experience, but also enhances the user's trust and satisfaction with the system. This technical solution can dynamically adjust the scheduling strategy according to the needs and characteristics of different tasks and the actual status of computing resources; this enables the system to support complex and variable workloads and meet the needs of different users and applications. Through automated and intelligent resource management and task scheduling, the system can reduce manual intervention and operation and maintenance costs. At the same time, due to the efficient use of resources and improved task execution efficiency, the overall operating cost of the system will also be reduced accordingly.
[0127] One embodiment of the present invention, as Figure 2 As shown, a computing power performance improvement system comprises:
[0128] Environment construction module: constructs a heterogeneous computing environment integrating multiple types of computing resources, including CPU, GPU and FPGA;
[0129] Real-time monitoring module: Based on the adaptive resource management system, it monitors the usage of computing resources in real time and dynamically adjusts the computing resource allocation strategy according to the real-time resource usage and task characteristics;
[0130] Strategy adjustment module: Based on historical execution data, the deep learning model is trained, and the task execution sequence and allocated computing resources are predicted and optimized based on the trained deep learning model. In addition, the task allocation strategy is adjusted in real time in combination with the adaptive resource management system.
[0131] Intelligent Scheduling Module: Before task execution, the computing task is optimized, including task segmentation and data preprocessing. During execution, resources are dynamically allocated and tasks are intelligently scheduled through an adaptive resource management system and deep learning models.
[0132] The working principle of the above technical solution is: by integrating multiple types of computing resources such as CPU, GPU and FPGA, a heterogeneous computing environment is constructed. The heterogeneous computing environment can make full use of the advantages of various computing resources, such as the general computing power of CPU, the parallel computing power of GPU, the hardware acceleration capability of FPGA, etc. The adaptive resource management system monitors the usage of computing resources in real time, including the utilization rate of CPU, the video memory occupancy of GPU, the programming status of FPGA, etc. According to the real-time resource usage and task characteristics (such as computing intensive, IO intensive, memory intensive, etc.), the allocation strategy of computing resources is dynamically adjusted. For example, when a task requires a large amount of parallel computing, the system can allocate more GPU resources to the task; use historical execution data to train the deep learning model. These data may include the execution time of the task, resource usage, dependencies between tasks, etc. The trained deep learning model can predict and optimize the execution order of tasks and the allocated computing resources according to the current system status and task characteristics. Combined with the adaptive resource management system, the deep learning model can adjust the task allocation strategy in real time to maximize the utilization of computing resources and the execution efficiency of tasks. Before the task is executed, the computing task is optimized, which includes splitting the large task into multiple small tasks for parallel execution, and preprocessing the input data to reduce the overhead in the computing process. During the task execution, resources are dynamically allocated and tasks are intelligently scheduled through the adaptive resource management system and deep learning model. This means that the system can dynamically increase or decrease the resource allocation of a task according to the real-time situation, or adjust the execution order of tasks to maximize the overall performance.
[0133] The effect of the above technical solution is: by building a heterogeneous computing environment that integrates multiple types of computing resources, the method can make full use of the advantages of different computing resources, such as the versatility of CPU, the parallel computing capability of GPU, the hardware acceleration capability of FPGA, etc., so as to maximize the utilization of computing resources. The adaptive resource management system monitors the usage of computing resources in real time and dynamically adjusts the computing resource allocation strategy according to the real-time resource usage and task characteristics. This dynamic resource allocation method can ensure that key tasks obtain sufficient resources while avoiding resource waste; based on the historical execution data, the deep learning model is trained, and the model can predict and optimize the execution order of tasks and the allocated computing resources. This prediction and optimization capability enables the system to make decisions in advance, reduce uncertainty in resource allocation and task execution, and improve overall execution efficiency. Optimizing computing tasks before task execution, such as task segmentation and data preprocessing, can reduce the overhead during task execution and improve execution efficiency. At the same time, through the combination of the adaptive resource management system and the deep learning model, resources are dynamically allocated and tasks are intelligently scheduled to ensure that tasks can be executed in the optimal order and allocation strategy. Due to the use of adaptive and predictive methods, the system can make real-time adjustments during resource usage and task execution, thereby maintaining high stability and reliability. Even in the face of changing environments and task requirements, the system can quickly adapt and make corresponding adjustments. Through automated resource allocation and task scheduling, this method can reduce the workload of operation and maintenance personnel, reduce human intervention and errors, and thus reduce operation and maintenance costs. Because the system can adjust resource allocation and task execution strategies in real time, it ensures that tasks can be completed as quickly as possible, thereby improving the user experience. This method of improving computing power efficiency is particularly important for users who need to handle large-scale and complex computing tasks.
[0134] In one embodiment of the present invention, the environment construction module includes:
[0135] Scenario assessment module: Determine the type and quantity of computing resources required based on business needs, and evaluate the performance characteristics and applicable scenarios of each computing resource;
[0136] Protocol selection module: builds computing resource interconnection architecture, such as PCIe, NVLink or Ethernet, and selects communication protocols for heterogeneous computing environments;
[0137] Strategy design module: Design collaborative work strategies based on the heterogeneity of computing resources and the dependencies between tasks, including task allocation, load balancing, and fault tolerance.
[0138] Performance tuning module: Deploy heterogeneous computing environments in physical and / or virtual environments, and verify the performance and stability of the environment through benchmark tests and simulation tasks; perform performance tuning on the heterogeneous computing environment based on the verification results.
[0139] The working principle of the above technical solution is as follows: According to business needs, clarify the specific requirements of computing tasks, such as computing volume, memory requirements, parallelism, etc. Determine the type and quantity of computing resources required (such as CPU, GPU, FPGA) to meet the computing scale and performance requirements of business needs. Evaluate the performance characteristics and applicable scenarios of each computing resource to ensure that the selected resources can efficiently support the execution of tasks. Build a computing resource interconnection architecture and select appropriate connection methods (such as PCIe, NVLink or Ethernet, etc.) to ensure efficient communication between different computing resources. Select appropriate communication protocols according to business needs to meet the bandwidth, latency and reliability requirements of data transmission between tasks. Consider the heterogeneity of computing resources and the dependencies between tasks, and design collaborative work strategies. This includes aspects such as task allocation, load balancing and fault tolerance. The task allocation strategy must ensure that tasks can be allocated to the most suitable computing resources for execution according to their characteristics and resource requirements. The load balancing strategy must ensure load balancing between computing resources to avoid overloading some resources while other resources are idle. The fault tolerance strategy must ensure that in the event of hardware failure or software anomaly, the system can automatically detect and switch to backup resources to ensure continuous execution of tasks. Deploy heterogeneous computing environments in physical or virtual environments, including the installation of hardware devices, configuration of software systems, and network construction. Verify the performance and stability of the environment through benchmark tests and simulation tasks. Benchmark tests are used to evaluate the performance of computing resources, while simulation tasks are used to simulate task execution in actual business scenarios. Based on the verification results, perform performance tuning on the heterogeneous computing environment, including adjusting parameter settings, optimizing task allocation strategies, etc., to improve the overall performance and stability of the environment.
[0140] The effect of the above technical solution is: through in-depth analysis of business needs, the required computing resource type and quantity can be accurately determined to avoid resource waste or shortage. The performance characteristics and applicable scenarios of each computing resource are evaluated to ensure that the selected resources can efficiently support the execution of tasks and improve computing efficiency. The constructed computing resource interconnection architecture (such as PCIe, NVLink or Ethernet, etc.) ensures efficient communication between different computing resources and reduces data transmission delays and bandwidth bottlenecks. The selection of appropriate communication protocols further improves the efficiency and reliability of data interaction and provides a stable environment for task execution. The designed collaborative work strategy fully considers the heterogeneity of computing resources and the dependencies between tasks, and realizes the optimal configuration of resources and efficient execution of tasks. The strategy design in terms of task allocation, load balancing and fault tolerance ensures that the system can automatically adapt to changes in tasks and maintain an efficient and stable operating state. Deploying heterogeneous computing environments in physical or virtual environments ensures the reliability and stability of the system. By verifying the performance and stability of the environment through benchmarking and simulation tasks, potential problems can be discovered and adjusted in a timely manner to ensure the performance of the system in actual operation. By tuning the performance of the heterogeneous computing environment according to the verification results, the system performance can be continuously improved to meet the ever-changing business needs. The performance tuning process is also a process of continuous learning and optimization, which can continuously accumulate experience and knowledge and provide strong support for future system upgrades and improvements. The heterogeneous computing environment constructed through the above steps can make full use of the advantages of different computing resources, achieve optimal resource allocation and efficient utilization, and thus improve the overall computing performance. This is particularly important for processing large-scale and complex computing tasks, and can significantly improve the execution efficiency and response speed of tasks. Through the automated deployment, verification and performance tuning process, the workload and error rate of operation and maintenance personnel can be reduced, and the operation and maintenance costs can be reduced. At the same time, due to the high stability and reliability of the system, the downtime and data loss caused by system failures or anomalies can be reduced, further reducing the operation and maintenance costs.
[0141] In one embodiment of the present invention, the real-time monitoring module includes:
[0142] Index extraction module: collects the usage of computing resources in real time through the adaptive resource management system, processes and analyzes the real-time monitoring data, and extracts key indicators and trends; the usage of computing resources is calculated by the following formula:
[0143]
[0144] Among them, U represents the comprehensive indicator of computing resource usage, m represents the number of computing resource types, Indicates the frequency or usage frequency of the nth computing resource, or the workload intensity of the resource, Indicates the capacity, quantity, or usage of the nth computing resource; represents the standard deviation, which is used to normalize the resource utilization efficiency index, and T represents the time period, such as the time interval for resource allocation and monitoring.
[0145] Situation prediction module: predicts resource demand based on historical data and current trends; designs dynamic resource allocation strategies based on real-time analysis and prediction based on multiple factors; the multiple factors include task priority, resource utilization, and energy efficiency ratio;
[0146] Execution tracking module: According to the dynamic resource allocation strategy, the allocation of computing resources is adjusted in real time. Based on the monitoring and alarm system, the resource allocation and execution are tracked in real time. The alarm threshold is set to promptly discover and solve potential problems.
[0147] The working principle of the above technical solution is as follows: Based on the prediction, the system designs a dynamic resource allocation strategy based on multiple factors. These multiple factors include task priority, resource utilization, and energy efficiency ratio. Task priority determines the priority of resource allocation, resource utilization reflects the current load of resources, and energy efficiency ratio considers the relationship between resource consumption and performance output. The dynamic resource allocation strategy aims to ensure that high-priority tasks obtain sufficient resources while keeping resource utilization within a reasonable range and optimizing energy efficiency ratio. According to the dynamic resource allocation strategy, the adaptive resource management system adjusts the allocation of computing resources in real time. This may include allocating more resources to high-priority tasks or allocating idle resources to tasks in the waiting queue. During the adjustment process, the system ensures a smooth transition of resource allocation to avoid interruption or performance degradation of the tasks being executed. In order to track resource allocation and execution in real time, the system sets a monitoring and alarm system. The monitoring system continuously tracks the allocation status of resources, the progress of task execution, and system performance indicators. The alarm system sets an alarm threshold. When the resource utilization is too high, the task execution delay is too long, or the system performance degrades, the system will trigger an alarm notification so that the operation and maintenance personnel can find and solve potential problems in time.
[0148] The effect of the above technical solution is that the adaptive resource management system can collect the usage of computing resources in real time, and process and analyze it based on real-time monitoring data. This enables the system to respond quickly to changes in resource demand, dynamically adjust resource allocation strategies, and ensure the rational use of resources. Through real-time analysis and prediction, the system can predict resource demand based on historical data and current trends, and design dynamic resource allocation strategies based on multiple factors (such as task priority, resource utilization, and energy efficiency ratio). This helps to avoid idle and wasteful resources and improve overall resource utilization. The dynamic resource allocation strategy takes into account task priority to ensure that high-priority tasks can obtain sufficient resource support, thereby speeding up task execution and improving task completion rate. At the same time, the system can also optimize according to resource utilization and energy efficiency ratio to further improve task execution efficiency. The real-time monitoring and alarm system can track resource allocation and execution in real time and detect potential problems in a timely manner. This helps operation and maintenance personnel to quickly locate and solve problems, reduce downtime and data loss, and reduce operation and maintenance costs. Through real-time monitoring and dynamic adjustment of resource usage, the system can maintain high stability and reliability. Even in the face of emergencies or high loads, the system can quickly adjust resource allocation strategies to ensure the normal execution of key tasks. This technical solution realizes intelligent decision-making and autonomous management, reducing the need for manual intervention. The system can automatically adjust resource allocation strategies based on real-time data and prediction results, reduce the possibility of human errors, and improve the automation level of system management. The adaptive resource management system has good flexibility and scalability. As business needs change and computing resources increase, the system can easily expand and adjust resource allocation strategies to adapt to new environments and challenges. The above formula and resource management method can significantly improve the management efficiency and use effect of computing resources, ensure the stable and efficient operation of the system, and be able to flexibly respond to various resource demand changes and potential problems. At the same time, the above formula can evaluate the use of different types of resources under a unified indicator by means of logarithmic functions and weighted summation. This method can reflect the overall resource utilization efficiency and facilitate comprehensive analysis and management. Using standard deviation to normalize the resource utilization efficiency indicator helps to eliminate the dimensional differences between different resources, so that the use of different resources can be compared and analyzed on the same scale. This is very important for formulating a unified resource management strategy and performing cross-resource optimization. The introduction of time periods enables the formula to reflect the dynamic changes in resource usage. By monitoring and calculating resource usage within a specific time period, the changing trend of resource demand can be better captured, thus providing a basis for real-time adjustment and optimization. By forecasting resource demand based on historical data and current trends, resource allocation plans can be made in advance to avoid resource waste or shortages. Through forecasting, managers can better prepare for future fluctuations in resource demand and improve the stability and responsiveness of the system.Combined with multiple factors such as task priority, resource utilization, and energy efficiency, the resource allocation strategy is dynamically adjusted to achieve the optimal configuration of resources. This multi-factor comprehensive consideration method can ensure that high-priority tasks are processed in a timely manner while improving overall resource utilization and energy efficiency. Based on the monitoring and alarm system, real-time tracking of resource allocation and execution can timely discover and solve potential problems. Setting alarm thresholds can prevent resource overload or shortage and ensure the normal operation and service quality of the system. Through the above formulas and methods, computing resources can be managed and allocated more scientifically, resource utilization can be improved, and resource waste can be reduced. At the same time, system performance can be optimized to ensure that tasks can be efficiently executed with appropriate resource support. The dynamic resource allocation strategy has high flexibility and adaptability, and can adjust resource allocation in real time according to actual conditions. This flexibility helps to cope with rapid changes in business needs and temporary demand for resources due to emergencies.
[0149] In one embodiment of the present invention, the policy adjustment module includes:
[0150] Data preprocessing module: collects historical execution data from heterogeneous computing environments and preprocesses the collected historical execution data, including cleaning, deduplication and normalization;
[0151] Feature extraction module: Extract features based on business needs and data characteristics, build feature sets, select deep learning models such as CNN, RNN, Transformer, etc. Build model architecture and set hyperparameters;
[0152] Parameter adjustment module: Use historical data to train the model and monitor the training process, use feature sets to verify the performance of the model, and adjust hyperparameters;
[0153] Allocation prediction module: uses the trained deep learning model to predict the task execution order and computing resource allocation, and evaluates the prediction results; the evaluation includes accuracy, stability and explainability;
[0154] Model update module: optimize the model according to the evaluation results, such as adjusting the network structure, increasing the amount of data, etc. and regularly update the deep learning model.
[0155] The working principle of the above technical solution is as follows: First, collect historical execution data from heterogeneous computing environments, which may include task type, execution time, computing resource usage, etc. Preprocess the collected historical execution data, including cleaning (removing noise, outliers or duplicate data), deduplication (eliminating duplicates), and normalization (converting data to the same scale for comparison). Perform feature extraction based on business needs and data characteristics. These features may include the computational complexity of the task, resource requirements, execution time, etc. Build feature sets, which will be used as inputs for deep learning models. Select appropriate deep learning models, such as convolutional neural networks (CNNs), recurrent neural networks (RNNs), Transformers, etc., and determine the most suitable model type based on task characteristics and data characteristics. Build the model architecture and set hyperparameters, such as learning rate, batch size, number of network layers, etc. Use historical data to train the deep learning model. During the training process, optimize the model parameters through the back propagation algorithm to minimize the prediction error. Monitor the training process to ensure that the model can effectively learn the patterns in the data. The performance of the model is verified using a feature set, which is usually separated from the training set to ensure that the model performs well on unseen data. Hyperparameters are adjusted based on the verification results to optimize the performance of the model. The trained deep learning model is used to predict the order of task execution and the allocation of computing resources. This can be achieved by inputting the features of the new task into the model. The prediction results are evaluated, including accuracy (the proportion of correct predictions made by the model), stability (the consistency of the model's performance on different data sets), and interpretability (the degree to which the model's predictions are understandable). The model is optimized based on the evaluation results, such as adjusting the network structure (increasing or decreasing the number of layers, changing the activation function, etc.), increasing the amount of data (through data enhancement or collecting more data), etc. As new data is continuously collected, the deep learning model is updated regularly to maintain its continuous improvement in predictive performance.
[0156] The effect of the above technical solution is: by collecting historical execution data from heterogeneous computing environments, the technical solution can make decisions based on actual operation data rather than just experience or intuition. This makes the decision of resource allocation and task execution order more scientific and reasonable. Deep learning models, such as CNN, RNN, Transformer, etc., show strong capabilities in processing complex data patterns. After proper training and adjustment, these models can accurately predict the order of task execution and computing resource allocation, thereby improving computing efficiency and resource utilization. Using trained deep learning models for prediction can help the system allocate computing resources for upcoming tasks in advance to avoid resource conflicts and waiting time. This helps to reduce task execution time and improve system throughput and response speed. By verifying and adjusting the model, it can be ensured that it can maintain stable performance on different data sets. This improves the reliability of the system and reduces the risks caused by fluctuations in model performance. When evaluating the prediction results, in addition to accuracy and stability, interpretability is also considered. This means that the prediction results of the model are understandable, which is convenient for operation and maintenance personnel to analyze and diagnose problems. Optimizing the model according to the evaluation results, such as adjusting the network structure and increasing the amount of data, can further improve the prediction performance of the model. In addition, regular updates to deep learning models ensure that they keep pace with the latest changes in heterogeneous computing environments. By predicting the order of task execution and computing resource allocation, the system can more accurately control resource usage and avoid resource waste. This helps reduce operating costs and improve resource utilization. This technical solution can adapt to different business needs and data characteristics. By adjusting steps such as feature extraction, model selection, and hyperparameter setting, deep learning models can be flexibly built and optimized to meet different application scenarios.
[0157] In one embodiment of the present invention, the intelligent scheduling module includes:
[0158] Analyze the tasks to be executed, including key attributes such as the amount of computation, data dependency, and execution time of the tasks. Combined with the characteristics of the tasks, evaluate the requirements for computing resources and potential performance bottlenecks of the tasks;
[0159] Identify dependencies between tasks and use graph theory algorithms to model and analyze task dependencies;
[0160] Based on the real-time monitoring data of the adaptive resource management system, the status and usage of the current computing resources are obtained, and the tasks are assigned to the corresponding computing resources through the intelligent scheduling algorithm according to the task characteristics and resource status; wherein the status of the computing resources includes the carrying capacity of the computing resources, and the carrying capacity calculation formula is as follows:
[0161]
[0162] in, Represents computing resources The average carrying capacity, Represents computing resources The static carrying capacity of G represents the task list or computing resources The set of related tasks, F represents the number of task characteristics or the number of factors affecting the carrying capacity, Indicates that the fth task feature is in the task The weight or impact factor in Represents computing resources Dynamic load-bearing capacity variables.
[0163] Before the task is executed, the task is divided and parallelized; and the data required for the task is preprocessed and cached through the optimization algorithm.
[0164] During the task execution process, the status of computing resources and the execution of tasks are monitored in real time. Task allocation and computing resource allocation are dynamically adjusted based on real-time data and intelligent scheduling algorithms. When resource conflicts or task delays occur, responses are made and scheduling strategies are optimized.
[0165] Use deep learning models based on historical execution data to predict the order of task execution and computing resource allocation, and use the prediction results as part of the intelligent scheduling algorithm;
[0166] Design scheduling effect evaluation indicators, such as task completion rate, resource utilization, execution time, etc. Regularly collect and analyze scheduling effect data to evaluate the effectiveness of the intelligent scheduling algorithm; iterate and optimize the intelligent scheduling algorithm based on the evaluation results.
[0167] The working principle of the above technical solution is as follows: conduct in-depth analysis of the tasks to be executed, including key attributes such as the computational amount, data dependency, and execution time of the tasks. These analyses help evaluate the demand for computing resources and possible performance bottlenecks of the tasks. Identify the dependencies between tasks and use graph theory algorithms (such as topological sorting, critical path method, etc.) to model and analyze the task dependencies. This helps determine the order of task execution and potential parallel execution opportunities. Based on the real-time monitoring data of the adaptive resource management system, obtain the status and usage of current computing resources. This includes information such as resource availability, load conditions, and energy efficiency ratio. According to the characteristics of the tasks and the status of the resources, the tasks are assigned to the corresponding computing resources through an intelligent scheduling algorithm. The scheduling algorithm will comprehensively consider multiple factors such as task priority, resource utilization, and energy efficiency ratio to achieve optimal resource allocation and rapid execution of tasks. Before the task is executed, the task is split and parallelized to improve the execution efficiency of the task. At the same time, the data required for the task is preprocessed and cached through the optimization algorithm to reduce data access delays and conflicts. During the execution of the task, the status of the computing resources and the execution of the task are monitored in real time. Dynamically adjust task allocation and computing resource allocation based on real-time data and intelligent scheduling algorithms. When resource conflicts or task delays occur, the scheduling algorithm responds and optimizes the scheduling strategy. Use deep learning models based on historical execution data to predict the task execution order and computing resource allocation. Use the prediction results as part of the intelligent scheduling algorithm to improve the accuracy and efficiency of scheduling. Design scheduling effect evaluation indicators, such as task completion rate, resource utilization, execution time, etc. Regularly collect and analyze scheduling effect data to evaluate the effectiveness of the intelligent scheduling algorithm. Based on the evaluation results, iterate and optimize the intelligent scheduling algorithm to improve the overall performance and resource utilization of the system.
[0168] The effects of the above technical solution are: by conducting in-depth analysis of the tasks to be executed, including key attributes such as computing volume, data dependency and execution time, it is possible to more accurately evaluate the demand for computing resources of the tasks, thereby allocating resources more reasonably and improving the execution efficiency of the tasks; by using the real-time monitoring data of the adaptive resource management system, combined with the task characteristics and resource status, the intelligent scheduling algorithm is used to achieve accurate resource allocation. This can not only avoid resource waste, but also ensure that resources are fully utilized under high load conditions, thereby improving overall resource utilization; before the task is executed, the task is split and parallelized, which can significantly improve the execution speed of the task. At the same time, the data required for the task is preprocessed and cached through the optimization algorithm, which reduces the delay and conflict of data access and further improves the efficiency of parallel processing. During the execution of the task, the status of the computing resources and the execution of the task are monitored in real time, and dynamically adjusted according to the real-time data and the intelligent scheduling algorithm. This dynamic adjustment capability ensures that the system can respond quickly when there is a resource conflict or task delay, optimizes the scheduling strategy, and ensures that the task can be completed on time. The deep learning model based on historical execution data is used to predict the task execution order and computing resource allocation, and the prediction results are used as part of the intelligent scheduling algorithm. This intelligent prediction capability can help the system predict resource requirements in advance, so as to make more reasonable scheduling decisions and improve the intelligence and prediction accuracy of the system. Design scheduling effect evaluation indicators, regularly collect and analyze scheduling effect data, and evaluate the effectiveness of intelligent scheduling algorithms. Iterate and optimize the intelligent scheduling algorithm according to the evaluation results to ensure that the system always remains in the best state and continuously improve the scheduling effect. Through the intelligent scheduling algorithm and real-time monitoring mechanism, the system can timely discover and solve potential performance bottlenecks and resource conflicts, thereby enhancing the stability and reliability of the system. At the same time, parallel processing of tasks and data preprocessing can also reduce system instability factors caused by data access conflicts and delays. The above formula can effectively support the task scheduling system to perform task management and resource allocation in a complex computing environment, improve the system's response speed and resource utilization efficiency, and thus significantly improve the overall computing power and performance. The above formula can improve the accuracy of resource allocation, optimize task scheduling, reduce resource conflicts and task delays, use historical data and deep learning models for prediction, and continuously improve and optimize. It helps to improve the utilization of computing resources and the efficiency of task processing, while improving the stability and reliability of the system. At the same time, the formula takes into account multiple features of the task and the weight of these features in the task. This comprehensive consideration helps to more accurately assess the resource requirements of tasks, thereby improving the rationality of resource allocation. The dynamic carrying capacity variable in the formula can dynamically adjust the carrying capacity of resources based on real-time data. This helps to more accurately reflect the current status of resources, thereby improving the real-time and accuracy of resource allocation.The static carrying capacity and dynamic carrying capacity variables in the formula jointly determine the average carrying capacity of the resource. This comprehensive consideration helps to allocate tasks more reasonably, avoid resource overload or underutilization, and thus improve resource utilization. Based on real-time monitoring data and intelligent scheduling algorithms, the formula can dynamically adjust task allocation according to the status of tasks and resources. This adaptability and flexibility helps to cope with changing workloads and environments, and improve the stability and reliability of the system.
[0169] 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 improving computing power performance, characterized in that: The method comprises: S1. Build a heterogeneous computing environment integrating multiple types of computing resources, wherein the multiple types of computing resources include CPU, GPU and FPGA; S2, based on the adaptive resource management system, real-time monitoring of computing resource usage, and dynamic adjustment of computing resource allocation strategy according to real-time resource usage and task characteristics; S3. Based on historical execution data, the deep learning model is trained, and the task execution order and allocated computing resources are predicted and optimized based on the trained deep learning model. In combination with the adaptive resource management system, the task allocation strategy is adjusted in real time. S4. Before the task is executed, the computing task is optimized, and the optimization includes task segmentation and data preprocessing; and during the execution process, resources are dynamically allocated and tasks are intelligently scheduled through an adaptive resource management system and a deep learning model; The S4 comprises: Analyze the tasks to be executed, and evaluate the computing resource requirements and potential performance bottlenecks based on the task characteristics. Identify dependencies between tasks and use graph theory algorithms to model and analyze task dependencies; Based on the real-time monitoring data of the adaptive resource management system, the current status and usage of computing resources are obtained, and tasks are assigned to corresponding computing resources through intelligent scheduling algorithms according to task characteristics and resource status; Before the task is executed, the task is divided and parallelized; and the data required for the task is preprocessed and cached through the optimization algorithm. During the task execution process, the status of computing resources and the execution of tasks are monitored in real time. Task allocation and computing resource allocation are dynamically adjusted based on real-time data and intelligent scheduling algorithms. When resource conflicts or task delays occur, responses are made and scheduling strategies are optimized. Use deep learning models based on historical execution data to predict the order of task execution and computing resource allocation, and use the prediction results as part of the intelligent scheduling algorithm; Design scheduling effect evaluation indicators, regularly collect and analyze scheduling effect data, and evaluate the effectiveness of the intelligent scheduling algorithm; based on the evaluation results, iterate and optimize the intelligent scheduling algorithm.
2. The method for improving computing power performance according to claim 1, characterized in that: Said S1 comprises: Determine the type and quantity of computing resources required based on business needs, and evaluate the performance characteristics and applicable scenarios of each computing resource; Build computing resource interconnection architecture and select communication protocols for heterogeneous computing environments; Design collaborative work strategies based on the heterogeneity of computing resources and the dependencies between tasks; Deploy heterogeneous computing environments in physical and / or virtual environments, and verify the performance and stability of the environment through benchmark tests and simulation tasks; perform performance tuning on the heterogeneous computing environment based on the verification results.
3. The method for improving computing power performance according to claim 1, characterized in that: The S2 comprises: Through the adaptive resource management system, the usage of computing resources is collected in real time, and the real-time monitoring data is processed and analyzed to extract key indicators and trends; Forecast resource demand based on historical data and current trends; design dynamic resource allocation strategies based on real-time analysis and prediction based on multiple factors; According to the dynamic resource allocation strategy, the allocation of computing resources is adjusted in real time, and based on the monitoring and alarm system, resource allocation and execution are tracked in real time.
4. The method for improving computing power performance according to claim 1, characterized in that: The S3 includes: Collecting historical execution data from a heterogeneous computing environment and preprocessing the collected historical execution data, wherein the preprocessing includes cleaning, deduplication, and normalization; Based on business needs and data characteristics, perform feature extraction, build feature sets, select deep learning models, build model architecture, and set hyperparameters; Use historical data to train the model and monitor the training process, use feature sets to verify the performance of the model, and adjust hyperparameters; Use the trained deep learning model to predict the task execution order and computing resource allocation, and evaluate the prediction results; The model is optimized based on the evaluation results, and the deep learning model is regularly updated.
5. A computing power performance improvement system, characterized in that: The system comprises: Environment construction module: constructs a heterogeneous computing environment integrating multiple types of computing resources, including CPU, GPU and FPGA; Real-time monitoring module: Based on the adaptive resource management system, it monitors the usage of computing resources in real time and dynamically adjusts the computing resource allocation strategy according to the real-time resource usage and task characteristics; Strategy adjustment module: Based on historical execution data, the deep learning model is trained, and the task execution sequence and allocated computing resources are predicted and optimized based on the trained deep learning model. In addition, the task allocation strategy is adjusted in real time in combination with the adaptive resource management system. Intelligent scheduling module: Before task execution, the computing task is optimized, including task segmentation and data preprocessing; and during execution, resources are dynamically allocated and tasks are intelligently scheduled through an adaptive resource management system and deep learning models; The intelligent scheduling module includes: Analyze the tasks to be executed, and evaluate the computing resource requirements and potential performance bottlenecks based on the task characteristics. Identify dependencies between tasks and use graph theory algorithms to model and analyze task dependencies; Based on the real-time monitoring data of the adaptive resource management system, the current status and usage of computing resources are obtained, and tasks are assigned to corresponding computing resources through intelligent scheduling algorithms according to task characteristics and resource status; Before the task is executed, the task is divided and parallelized; and the data required for the task is preprocessed and cached through the optimization algorithm. During the task execution process, the status of computing resources and the execution of tasks are monitored in real time. Task allocation and computing resource allocation are dynamically adjusted based on real-time data and intelligent scheduling algorithms. When resource conflicts or task delays occur, responses are made and scheduling strategies are optimized. Use deep learning models based on historical execution data to predict the order of task execution and computing resource allocation, and use the prediction results as part of the intelligent scheduling algorithm; Design scheduling effect evaluation indicators, regularly collect and analyze scheduling effect data, and evaluate the effectiveness of the intelligent scheduling algorithm; based on the evaluation results, iterate and optimize the intelligent scheduling algorithm.
6. The computing power performance improvement system according to claim 5, characterized in that: The environment building module includes: Scenario assessment module: Determine the type and quantity of computing resources required based on business needs, and evaluate the performance characteristics and applicable scenarios of each computing resource; Protocol selection module: builds the computing resource interconnection architecture and selects the communication protocol for the heterogeneous computing environment; Strategy design module: designs collaborative work strategies based on the heterogeneity of computing resources and the dependencies between tasks; Performance tuning module: Deploy heterogeneous computing environments in physical and / or virtual environments, and verify the performance and stability of the environment through benchmark tests and simulation tasks; perform performance tuning on the heterogeneous computing environment based on the verification results.
7. The computing power performance improvement system according to claim 5, characterized in that: The real-time monitoring module comprises: Indicator extraction module: collects computing resource usage in real time through the adaptive resource management system, processes and analyzes real-time monitoring data, and extracts key indicators and trends; Situation prediction module: predict resource demand based on historical data and current trends; design dynamic resource allocation strategies based on real-time analysis and prediction based on multiple factors; Execution tracking module: adjusts the allocation of computing resources in real time according to the dynamic resource allocation strategy, and tracks resource allocation and execution in real time based on the monitoring and alarm system.
8. The computing power performance improvement system according to claim 5, characterized in that: The policy adjustment module includes: Data preprocessing module: collects historical execution data from heterogeneous computing environments and preprocesses the collected historical execution data, including cleaning, deduplication and normalization; Feature extraction module: extract features according to business needs and data characteristics, build feature sets, select deep learning models, build model architectures, and set hyperparameters; Parameter adjustment module: Use historical data to train the model and monitor the training process, use feature sets to verify the performance of the model, and adjust hyperparameters; Allocation prediction module: Use the trained deep learning model to predict the task execution order and computing resource allocation, and evaluate the prediction results; Model updating module: optimizes the model according to the evaluation results and regularly updates the deep learning model.
