A distributed learning resource management system
Through the learning resource scheduling, allocation and monitoring module of the distributed learning resource management system, the node demand and load data are analyzed to achieve more accurate resource allocation and scheduling, and solve the load imbalance problem caused by inflexible resource allocation in the existing technology. , improving system stability and resource utilization.
Patent Information
- Application Number
- CN202410947727.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-16
AI Technical Summary
The existing distributed resource management system is not flexible enough in the analysis and scheduling process, which affects resource allocation and utilization, making load imbalance and resource usage optimization difficult to achieve.
A distributed learning resource management system is designed. The learning resource scheduling and allocation module monitors the demand data of the collection nodes, analyzes and obtains the learning resource demand representation values, and matches the computing resources based on these values; the learning resource monitoring module monitors the load data of the collection server. , analyze and obtain the load index, and schedule computing resources according to the load index.
It achieves more accurate computing resource allocation, improves system response speed and efficiency, reduces resource waste and hardware resource waste, reduces operation and maintenance costs, improves system stability and reliability, and timely detects situations where the load is too high or too low. , to ensure system performance.
Smart Images

Figure CN118484314B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic digital data processing, in particular to a distributed learning resource management system. Background Art
[0002] In the fields of scientific research and industrial applications, distributed resource management systems are often used for large-scale data analysis in astronomy, biology, and climate research, as well as quality control and predictive maintenance in intelligent manufacturing. In these fields, distributed resource management systems can effectively manage large-scale computing resources, and then perform intelligent resource allocation and scheduling, which can achieve efficient use of resources, improve computing power and data processing speed, and reduce operating costs.
[0003] Prior art, such as a distributed resource management system and method disclosed in the invention patent announcement with announcement number: CN108431796B, includes: receiving a resource request, the resource request including data identifying at least one requested resource attribute; identifying one or more candidate resources from multiple resources by performing element operations on one or more resource attribute element sets corresponding to the at least one requested resource attribute, each resource attribute element set including elements of each resource in the multiple resources, each element representing a resource attribute of a corresponding resource in the multiple resources; and scheduling a workload associated with the resource request based on the one or more identified candidate resources for execution operations.
[0004] Prior art, such as the invention patent announcement with announcement number: CN110537169B, discloses cluster resource management in a distributed computing system, including: receiving a resource reallocation message indicating that a server is reallocated from a first cluster to a second cluster via a computer network, and in response to the received resource reallocation message, establishing communication with the server reallocated from the first cluster to the second cluster via the computer network. The method also includes, after establishing communication with the server via the computer network, allocating computing load to the server reallocated from the first cluster to the second cluster without physically reallocating the server from the first cluster to the second cluster.
[0005] Combining the above solutions, it is found that currently in the field of distributed resource management technology, only distributed resource management technology is usually used to analyze and schedule resources, achieving the purpose of optimizing resource utilization, but the analysis process is not flexible enough, which may affect the allocation and utilization of resources, resulting in the failure to achieve the purpose of load balancing and resource utilization optimization. Summary of the invention
[0006] In view of the deficiencies in the prior art, the present invention provides a distributed learning resource management system that can effectively solve the problems involved in the above-mentioned background technology.
[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions: a distributed learning resource management system, including a learning resource scheduling and allocation module, which is used to monitor and collect the demand data of each user in each node, and analyze to obtain the learning resource demand representation value in each node, and match the computing resources of each node in the server according to the learning resource demand representation value in each node.
[0008] The learning resource monitoring module is used to monitor and collect the load data of each node in the server and analyze and obtain the load index of each node in the server.
[0009] The server resource control module is used to schedule the computing resources of each node in the server according to the load index of each node in the server and provide prompts.
[0010] Furthermore, the demand data of each user in each node includes the cumulative usage times of each user in each node, the total usage times of each user, the usage time of each user in each node and the total number of users in each node.
[0011] The load data of each node in the server includes the CPU working time, the maximum memory usage and the maximum disk I / O utilization of each node.
[0012] Furthermore, the analysis obtains the learning resource demand representation value in each node. The specific analysis process is: counting the cumulative usage times of each user in each node, extracting the total usage times of each user, and dividing the cumulative usage times of each user in each node by the total usage times of each user to obtain the usage frequency of each user in each node.
[0013] The usage time of each user in each node is extracted and accumulated to obtain the cumulative usage time of each user in each node.
[0014] The total number of users in each node is counted, and based on the usage frequency of each user in each node and the cumulative usage time of each user in each node, a comprehensive analysis is performed to obtain the learning resource demand representation value in each node.
[0015] Furthermore, the learning resource demand characterization value in each node is a numerical quantification result obtained by analyzing the demand data of each user in each node, and is used to quantify the impact of changes in user usage on the computing resources of the node.
[0016] Furthermore, the computing resources of each node in the server are obtained by matching the learning resource demand representation value in each node. The specific matching process is: matching the learning resource demand representation value in each node with the computing resources of the server corresponding to the set learning resource demand representation value interval in each node to obtain the computing resources of each node in the server.
[0017] The computing resources of each node in the server include CPU time slice, bandwidth and transmission rate of network traffic.
[0018] Furthermore, the analysis obtains the load index of each node in the server, and the specific analysis process is: arrange a monitoring cycle, set several monitoring time periods in the monitoring cycle, count the CPU working time of each node in each monitoring time period, and extract the length of the monitoring time period, divide the CPU working time of each node in each monitoring time period by the length of the monitoring time period to obtain the CPU utilization rate of each node in each monitoring time period.
[0019] According to the CPU usage of each node in each monitoring time period, the highest memory usage and disk I / O utilization of each server node in each monitoring time period are extracted, and the load index of each node in the server is obtained by integration.
[0020] Furthermore, the load index of each node in the server is a numerical quantification result obtained by monitoring and analyzing the load data of each node in the server, and is used to quantify the impact of the load change of the node on the computing resource allocation of the node.
[0021] Furthermore, the computing resources of each node in the server are scheduled according to the load index of each node in the server, and prompts are given. The specific process is: the load index of each node in the server is compared with the set load index threshold of each node in the server. If the load index of a node in the server is higher than the set load index threshold of each node in the server, the computing resources of the node in the server are scheduled.
[0022] Furthermore, the learning resource demand representation value in each node is specifically analyzed under the following conditions:
[0023] ; In the formula, Indicates Learning resource demand representation value in nodes, No. The total number of users in the node, Indicates the total number of reference users set. Indicates the compensation factor corresponding to the total number of set users. Indicates The first node Frequency of use by each user, Indicates the reference usage frequency of the setting. Indicates the compensation factor corresponding to the set frequency of use. Indicates The first node The cumulative usage time of each user, Indicates the set reference cumulative usage time. It indicates the compensation factor corresponding to the set cumulative usage time, i indicates the number of each node, , Represents the total number of nodes, Indicates the number of each user. , represents the total number of users, and e represents a natural constant.
[0024] Furthermore, the load index of each node in the server is specifically analyzed under the following conditions:
[0025] ; In the formula, Indicates the server The load index of the nodes, Indicates In the monitoring period The CPU usage of each node. Indicates the usage of the reference CPU. Indicates the weight factor corresponding to the set CPU usage. Indicates The server number in the monitoring period The maximum memory usage of each node. Indicates the maximum usage of the reference memory. Indicates the weight factor corresponding to the set maximum memory usage. Indicates The server number in the monitoring period The maximum disk I / O utilization of each node. Indicates the maximum utilization of the reference disk I / O. Indicates the weight factor corresponding to the set maximum disk I / O utilization, i represents the number of each node, , Represents the total number of nodes, Indicates the number of each monitoring time period, , Indicates the total number of monitoring time periods.
[0026] The present invention has the following beneficial effects:
[0027] (1) The present invention provides a distributed learning resource management system. First, the learning resource demand characterization value in each node is analyzed, and then the computing resources of each node in the server are matched, which helps to effectively allocate and utilize the computing resources of each node in the server. At the same time, the load index of each node in the server is analyzed to timely discover the situation of excessive load and too low load. Finally, the computing resources of each node in the server are scheduled according to the load situation of each node in the server, and prompts are given, which helps to reduce the performance degradation caused by excessive node load and improve the stability and reliability of the system.
[0028] (2) The present invention obtains the learning resource demand characterization value in each node by analyzing, which helps to accurately evaluate the actual demand of users for learning resources on each node, so as to more accurately allocate computing resources, improve the ability of each node to meet user needs, reduce resource waste or shortage, and improve system response speed and efficiency.
[0029] (3) The present invention obtains the load index of each node in the server by analyzing, which helps to reduce the situation of over-allocation of resources, maximizes the overall resource utilization, helps to reduce the waste of hardware resources, reduces operation and maintenance costs, improves service quality and user experience, and can also detect node overload, thereby reducing the risk of system failure or performance degradation, and provides data support for the scheduling of computing resources.
[0030] (4) The present invention schedules the computing resources of each node in the server according to the load index of each node in the server and provides prompts, which helps to achieve faster response capabilities. Resource scheduling of high-load nodes can be carried out quickly, improving the system's ability to maintain stable performance and response speed when demand fluctuates or sudden load increases, and helping to improve the overall stability and reliability of the system.
[0031] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of system module connection of the present invention.
[0033] Figure 2 Example image representing values for learning resource requirements. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not 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.
[0035] See also Figure 1 As shown, an embodiment of the present invention provides a technical solution: a distributed learning resource management system, including a learning resource scheduling and allocation module, which is used to monitor and collect the demand data of each user in each node, and analyze to obtain the learning resource demand representation value in each node, and match the computing resources of each node in the server according to the learning resource demand representation value in each node.
[0036] The learning resource monitoring module is used to monitor and collect the load data of each node in the server and analyze and obtain the load index of each node in the server.
[0037] The server resource control module is used to schedule the computing resources of each node in the server according to the load index of each node in the server and provide prompts.
[0038] Specifically, the demand data of each user in each node includes the accumulated usage times of each user in each node, the total usage times of each user, the usage time of each user in each node and the total number of users in each node.
[0039] The load data of each node in the server includes the CPU working time, the maximum memory usage and the maximum disk I / O utilization of each node.
[0040] Specifically, the learning resource demand representation value in each node is analyzed. The specific analysis process is: count the cumulative usage times of each user in each node, extract the total usage times of each user, and divide the cumulative usage times of each user in each node by the total usage times of each user to obtain the usage frequency of each user in each node.
[0041] It should be noted that the cumulative usage times of each user in each node refers to the total number of times each user uses the learning resources on each node within a certain period of time, which can be obtained through system log records. The usage times of each user on each node are statistically accumulated to obtain the cumulative usage times of each user in each node.
[0042] It should be noted that the total number of uses of each user refers to the total number of times each user uses learning resources in the entire system within a certain period of time. It can be obtained through system log records, which record each user's usage behavior in the system, including usage on each node, and count each user's usage behavior to obtain the total number of uses of each user.
[0043] The usage time of each user in each node is extracted and accumulated to obtain the cumulative usage time of each user in each node.
[0044] In this embodiment, the accumulated usage time of each user in each node is obtained using the following analysis conditions, specifically:
[0045] ;
[0046] In the formula, Indicates The first node The cumulative usage time of each user, Indicates The first node The pth usage time of a user, A number indicating the time of each use. , Indicates the total number of times used.
[0047] It should be noted that the usage time of each user in each node refers to the time each time the user uses the learning resources on each node. The timestamp of each user's use on each node, i.e., the start time and the end time, is recorded, and the difference between the start time and the end time is recorded as the usage time of each user in each node.
[0048] In this implementation, analyzing the cumulative usage time of each user in each node can identify which users' learning activities consume more resources, which helps the system make load balancing decisions, such as allocating users who frequently use resources to different nodes to reduce resource overload and performance degradation.
[0049] The total number of users in each node is counted, and based on the usage frequency of each user in each node and the cumulative usage time of each user in each node, a comprehensive analysis is performed to obtain the learning resource demand representation value in each node.
[0050] Specifically, the learning resource demand representation value in each node is a numerical quantification result obtained by analyzing the demand data of each user in each node, and is used to quantify the impact of changes in user usage on the computing resources of the node.
[0051] Specifically, the computing resources of each node in the server are obtained by matching the learning resource demand representation value in each node. The specific matching process is: matching the learning resource demand representation value in each node with the computing resources of the server corresponding to the set learning resource demand representation value interval in each node to obtain the computing resources of each node in the server.
[0052] The computing resources of each node in the server include CPU time slice, bandwidth and transmission rate of network traffic.
[0053] Specifically, the load index of each node in the server is analyzed and obtained. The specific analysis process is: arrange a monitoring cycle, set several monitoring time periods in the monitoring cycle, count the CPU working time of each node in each monitoring time period, and extract the duration of the monitoring time period, divide the CPU working time of each node in each monitoring time period by the duration of the monitoring time period to obtain the CPU utilization rate of each node in each monitoring time period.
[0054] It should be noted that the CPU working time of each node in each monitoring time period refers to the total time that the CPU is actually in working state during the monitoring time period, which is usually measured by a performance monitor. The performance monitor usually provides the CPU working status every second. The CPU working time in the entire monitoring time period is obtained by recording these data and calculating the total time. For example, if a monitoring time period is 60 seconds, and the performance monitor records the CPU working time of a node in the monitoring time period as 30 seconds, then the CPU working time of the node in the monitoring time period is 30 seconds.
[0055] According to the CPU usage of each node in each monitoring time period, the highest memory usage and disk I / O utilization of each server node in each monitoring time period are extracted, and the load index of each node in the server is obtained by integration.
[0056] In this embodiment, the maximum memory usage rate of each node of the server in each monitoring time period is obtained using the following analysis conditions, specifically:
[0057] ;
[0058] In the formula, Indicates The server number in the monitoring period The maximum memory usage of each node. Indicates The server number in the monitoring period The highest amount of used memory for nodes, The total amount of memory in the set server node, i represents the number of each node, , Represents the total number of nodes, Indicates the number of each monitoring time period, , Indicates the total number of monitoring time periods.
[0059] It should be noted that the maximum used memory amount of each server node in each monitoring time period refers to the maximum total amount of memory actually used in each server node in a specific time period, which can be viewed using a resource monitor.
[0060] In this implementation scheme, analyzing the maximum memory usage of each node of the server in each monitoring time period helps the system predict times when memory shortage may occur. By monitoring the memory consumption of the nodes in different time periods, the system can promptly allocate additional memory resources or adjust task priorities to ensure that the nodes can successfully complete tasks without causing task failures due to insufficient memory. Reasonable allocation of memory resources can also improve system stability and reduce system crashes or anomalies caused by insufficient memory. For example, when the maximum memory usage in a node of the server approaches or exceeds the set maximum memory usage threshold, the system will expand the memory capacity of the node in the server.
[0061] Specifically, the load index of each node in the server is a numerical quantification result obtained by monitoring and analyzing the load data of each node in the server, and is used to quantify the impact of the load change of the node on the computing resource allocation of the node.
[0062] Specifically, the computing resources of each node in the server are scheduled according to the load index of each node in the server, and prompts are given. The specific process is: compare the load index of each node in the server with the set load index threshold of each node in the server. If the load index of a node in the server is higher than the set load index threshold of each node in the server, the computing resources of the node in the server are scheduled.
[0063] In this implementation scheme, the computing resources of the node in the server are scheduled, including analyzing the CPU utilization rate, the maximum memory utilization rate and the maximum disk I / O utilization rate of the node. If the CPU utilization rate of the node exceeds the set CPU utilization rate threshold, some tasks can be migrated from the node to other nodes to reduce the load of the node. If the maximum memory utilization rate of the node exceeds the set maximum memory utilization rate threshold, some memory-intensive tasks can be migrated to other nodes. The network traffic flow monitoring technology is used to monitor the transmission rate and bandwidth of the network traffic of each node. High-traffic nodes can disperse the traffic by adjusting the network routing or using load balancing strategies to improve the balanced utilization rate of network resources of each node, and prompt the management personnel by sending notifications.
[0064] Specifically, the learning resource demand representation value in each node, the specific analysis conditions are:
[0065] ;
[0066] In the formula, Indicates Learning resource demand representation value in nodes, No. The total number of users in the node, Indicates the total number of reference users set. Indicates the compensation factor corresponding to the total number of set users. Indicates The first node Frequency of use by each user, Indicates the reference usage frequency of the setting. Indicates the compensation factor corresponding to the set frequency of use. Indicates The first node The cumulative usage time of each user, Indicates the set reference cumulative usage time. It indicates the compensation factor corresponding to the set cumulative usage time, i indicates the number of each node, , Represents the total number of nodes, Indicates the number of each user. , represents the total number of users, and e represents a natural constant.
[0067] It needs to be explained that Figure 2 As shown, Figure 2 : is an example image of the learning resource demand characterization value, where the x-axis represents the cumulative usage time, and the y-axis represents the learning resource demand characterization value. In this embodiment, the compensation factor corresponding to the total number of users is 0.3, the compensation factor corresponding to the usage frequency is 0.4, and the compensation factor corresponding to the cumulative usage time is 0.3. The total number of reference users is 50, the reference usage frequency is 10, the reference cumulative usage time is 10 hours, the usage frequency is 10, and the total number of users is 100. Three different groups of example parameters are defined in the figure, corresponding to different situations of the three curves, represented by solid lines, dashed lines and dotted lines respectively, and the corresponding curve labels are a, b, and c respectively.
[0068] When the total number of users in the node is 10, the functional relationship between the cumulative usage time and the learning resource demand characterization value is shown in curve a. When the total number of users in the node is 12, the functional relationship between the cumulative usage time and the learning resource demand characterization value is shown in curve b. When the total number of users in the node is 13, the functional relationship between the cumulative usage time and the learning resource demand characterization value is shown in curve c. The learning resource demand characterization value increases with the increase of the cumulative usage time, and when the total number of users in the node increases, the learning resource demand characterization value increases accordingly. The learning resource demand characterization value can be obtained quickly and accurately through the curve, which solves the problem in the prior art that the learning resource demand characterization value cannot be accurately measured due to the inflexible analysis process, which in turn causes the system to be unable to achieve the purpose of resource optimization.
[0069] It should be noted that the total number of users in each node refers to the number of active users connected to each node in the system, which is usually obtained by analyzing the system logs.
[0070] It should be noted that in this embodiment, the compensation factor corresponding to the total number of preset users, the compensation factor corresponding to the usage frequency, and the compensation factor corresponding to the cumulative usage time are obtained from the learning resource database, and the compensation factor corresponding to the total number of users, the compensation factor corresponding to the usage frequency, and the compensation factor corresponding to the cumulative usage time are all numbers between 0 and 1.
[0071] In a specific embodiment, through historical data, the relationship between the total number of users in each node, the usage frequency of each user in each node, the cumulative usage time of each user in each node and the learning resource demand representation value in each node is fitted to obtain a fitting curve, and the compensation factor corresponding to the total number of users, the compensation factor corresponding to the usage frequency and the compensation factor corresponding to the cumulative usage time are determined according to the fitting curve. The real-time total number of users in each node, the usage frequency of each user in each node and the cumulative usage time of each user in each node are substituted into the fitting curve to obtain the corresponding compensation factor.
[0072] It should be explained that the analysis of the total number of users in each node, the usage frequency of each user in each node, and the cumulative usage time of each user in each node in this embodiment improves the efficiency and performance of the system, reduces operating costs, and improves user experience and satisfaction. The analysis method of this embodiment can improve the system's ability to achieve load balancing and resource utilization optimization by combining the total number of users in each node, the usage frequency of each user in each node, and the cumulative usage time of each user in each node. By comprehensively considering the usage frequency of each user in each node and the cumulative usage time of each user in each node, a more accurate resource allocation strategy can be designed for each node. For users with high usage frequency but short cumulative usage time, faster computing resources can be used, and for users with low usage frequency but long cumulative usage time, more stable and long-running computing resources can be considered for allocation.
[0073] In this implementation scheme, analyzing the total number of users in each node helps the system predict and plan the overall demand for resources, thereby more effectively allocating hardware resources and service capacity, reducing efficiency reduction and cost increase caused by insufficient or wasted resources, analyzing the usage frequency of each user in each node helps predict the peak and trough periods of the system, and then adjusting the allocation and utilization of resources to improve the system's ability to provide good response speed and service quality during peak periods, analyzing the cumulative usage time of each user in each node helps the system determine the appropriate resource allocation strategy, users who use resources for a long time may require more stable resource allocation to ensure that the user's use process is not interrupted or delayed, and analyzing the learning resource demand representation value in each node helps the system achieve more accurate load balancing and resource utilization optimization, thereby improving the efficiency of the system.
[0074] Specifically, the load index of each node in the server, the specific analysis conditions are:
[0075] ;
[0076] In the formula, Indicates the server The load index of the nodes, Indicates In the monitoring period The CPU usage of each node. Indicates the usage of the reference CPU. Indicates the weight factor corresponding to the set CPU usage. Indicates The server number in the monitoring period The maximum memory usage of each node. Indicates the maximum usage of the reference memory. Indicates the weight factor corresponding to the set maximum memory usage. Indicates The server number in the monitoring period The maximum disk I / O utilization of each node. Indicates the maximum utilization of the reference disk I / O. Indicates the weight factor corresponding to the set maximum disk I / O utilization, i represents the number of each node, , Represents the total number of nodes, Indicates the number of each monitoring time period, , Indicates the total number of monitoring time periods.
[0077] In a specific embodiment, Table 1 shows the CPU usage, maximum memory usage and disk I / O maximum utilization and the corresponding load index of different nodes. The weight factor corresponding to the CPU usage, the weight factor corresponding to the maximum memory usage and the weight factor corresponding to the maximum disk I / O utilization are all numbers between 0 and 1. In this embodiment, the weight factor corresponding to the CPU usage is 0.4, the weight factor corresponding to the maximum memory usage is 0.3, and the weight factor corresponding to the maximum disk I / O utilization is 0.3. The total number of monitoring time periods is 1, the reference CPU usage is 0.5, the reference memory maximum usage is 0.6, and the reference disk I / O maximum utilization is 50 times / second.
[0078] Table 1 CPU usage, maximum memory usage, and maximum disk I / O utilization of different nodes and their corresponding load indexes
[0079] ;
[0080] It should be explained that in Table 1, as the CPU usage, maximum memory usage and maximum disk I / O utilization of different nodes in the server increase, the load index of each node in the server also increases. Table 1 lists the CPU usage, maximum memory usage and maximum disk I / O utilization of 4 different nodes. The load index of each node in the server is obtained by the formula. The values of these load indexes provide the influence of the CPU usage, maximum memory usage and maximum disk I / O utilization of different nodes on the load index. The load index comprehensively considers the CPU usage, maximum memory usage and maximum disk I / O utilization of the node, and provides data support for the monitoring of the load status of each node in the server, thereby improving the accuracy of load status monitoring of each node in the server.
[0081] It should be noted that the maximum utilization rate of the disk I / O of each node refers to the maximum rate of disk read and write operations over a period of time, which is usually measured by the performance monitor of the operating system. For example, the performance monitor can be used to measure that the maximum number of read and write operations per second of a node disk in a monitoring period is 50, then the maximum utilization rate of the disk I / O in the node is 50 times / second.
[0082] It should be noted that, in this embodiment, the weight factor corresponding to the preset CPU usage, the weight factor corresponding to the maximum memory usage, and the weight factor corresponding to the maximum disk I / O utilization are obtained from the learning resource database.
[0083] In a specific embodiment, through historical data, the relationship between the CPU usage of each node in each monitoring time period, the maximum memory usage of each server node in each monitoring time period, the maximum disk I / O utilization of each server node in each monitoring time period and the load index of each node in the server is fitted to obtain a fitting curve, and the weight factor corresponding to the CPU usage, the weight factor corresponding to the maximum memory usage and the weight factor corresponding to the maximum disk I / O utilization are determined according to the fitting curve, and the real-time CPU usage of each node in each monitoring time period, the maximum memory usage of each server node in each monitoring time period and the maximum disk I / O utilization of each server node in each monitoring time period are substituted into the fitting curve to obtain the corresponding weight factors.
[0084] It should be explained that in this embodiment, the analysis of the CPU utilization rate of each node in each monitoring time period, the maximum memory utilization rate of each server node in each monitoring time period, and the maximum disk I / O utilization rate of each server node in each monitoring time period helps the system to reasonably allocate memory resources, thereby improving the stability of the system and reducing system crashes or abnormalities caused by insufficient memory. The analysis method of this embodiment, by combining the CPU utilization rate of each node in each monitoring time period, the maximum memory utilization rate of each server node in each monitoring time period, and the maximum disk I / O utilization rate of each server node in each monitoring time period, can provide the overall load status of the system, and thus formulate a more accurate resource allocation strategy, enhance the system's ability to operate efficiently under various workloads, and improve the stability and reliability of the system.
[0085] In this implementation scheme, analyzing the CPU usage of each node in each monitoring time period can help the system identify nodes with higher loads, analyzing the maximum memory usage of each server node in each monitoring time period can help the system identify possible memory shortages in the nodes, and analyzing the maximum disk I / O utilization of each server node in each monitoring time period can help the system identify disk access bottlenecks, thereby providing data support for optimizing disk partitions, increasing disk cache, or adjusting data access patterns. By analyzing the load index of each node in the server, the system can more accurately evaluate the overall load of the server, and then implement a more precise load balancing strategy to improve the utilization of each node and the overall system resources.
[0086] It should be noted that a distributed learning resource management system also includes a learning resource database, which is used to store the load index threshold of each node in the server obtained by analyzing historical data, the total amount of memory in the node, the CPU usage threshold, the maximum memory usage threshold, the total number of reference users, the reference usage frequency, the reference cumulative usage time, the compensation factor corresponding to the total number of users, the compensation factor corresponding to the usage frequency, the compensation factor corresponding to the cumulative usage time, the reference CPU usage, the reference maximum memory usage, the reference disk I / O maximum utilization, the weight factor corresponding to the CPU usage, the weight factor corresponding to the maximum memory usage and the weight factor corresponding to the maximum disk I / O utilization.
[0087] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0088] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A distributed learning resource management system, characterized in that: include: The learning resource scheduling and allocation module is used to monitor and collect the demand data of each user in each node, analyze and obtain the learning resource demand representation value in each node, and match the computing resources of each node in the server according to the learning resource demand representation value in each node; The learning resource monitoring module is used to monitor and collect the load data of each node in the server and analyze and obtain the load index of each node in the server; The server resource control module is used to schedule the computing resources of each node in the server according to the load index of each node in the server and provide prompts; The analysis obtains the learning resource demand representation value in each node, and the specific analysis process is as follows: Count the cumulative usage times of each user in each node, extract the total usage times of each user, and divide the cumulative usage times of each user in each node by the total usage times of each user to obtain the usage frequency of each user in each node; Extract the usage time of each user in each node and add them up to get the cumulative usage time of each user in each node; Count the total number of users in each node, and comprehensively analyze the usage frequency and cumulative usage time of each user in each node to obtain the learning resource demand representation value in each node; The analysis obtains the load index of each node in the server, and the specific analysis process is: Arrange a monitoring cycle, set several monitoring time periods in the monitoring cycle, count the CPU working time of each node in each monitoring time period, extract the length of the monitoring time period, and divide the CPU working time of each node in each monitoring time period by the length of the monitoring time period to obtain the CPU usage rate of each node in each monitoring time period; According to the CPU usage of each node in each monitoring time period, the highest memory usage and disk I / O utilization of each server node in each monitoring time period are extracted, and the load index of each node in the server is obtained by integration.
2. A distributed learning resource management system according to claim 1, characterized in that: The demand data of each user in each node includes the cumulative usage times of each user in each node, the total usage times of each user, the usage time of each user in each node and the total number of users in each node; The load data of each node in the server includes the CPU working time, the maximum memory usage and the maximum disk I / O utilization of each node.
3. A distributed learning resource management system according to claim 1, characterized in that: The learning resource demand representation value in each node is a numerical quantification result obtained by analyzing the demand data of each user in each node, and is used to quantify the impact of changes in user usage on the computing resources of the node.
4. A distributed learning resource management system according to claim 1, characterized in that: The computing resources of each node in the server are obtained by matching the learning resource demand representation value in each node. The specific matching process is: Matching the learning resource demand representation value in each node with the computing resources of the server corresponding to the set learning resource demand representation value interval in each node to obtain the computing resources of each node in the server; The computing resources of each node in the server include CPU time slice, bandwidth and transmission rate of network traffic.
5. A distributed learning resource management system according to claim 1, characterized in that: The load index of each node in the server is a numerical quantification result obtained by monitoring and analyzing the load data of each node in the server, and is used to quantify the influence of the load change of the node on the computing resource allocation of the node.
6. A distributed learning resource management system according to claim 1, characterized in that: The computing resources of each node in the server are scheduled according to the load index of each node in the server, and prompts are given. The specific process is as follows: The load index of each node in the server is compared with the set load index threshold of each node in the server. If the load index of a node in the server is higher than the set load index threshold of each node in the server, the computing resources of the node in the server are scheduled.
7. A distributed learning resource management system according to claim 1, characterized in that: The learning resource demand representation value in each node is analyzed under the following specific conditions: ; In the formula, Indicates Learning resource demand representation value in nodes, No. The total number of users in the node, Indicates the total number of reference users set. Indicates the compensation factor corresponding to the total number of set users. Indicates The first node Frequency of use by each user, Indicates the reference usage frequency of the setting. Indicates the compensation factor corresponding to the set frequency of use. Indicates The first node The cumulative usage time of each user, Indicates the set reference cumulative usage time. It indicates the compensation factor corresponding to the set cumulative usage time, i indicates the number of each node, , Represents the total number of nodes, Indicates the number of each user. , represents the total number of users, and e represents a natural constant.
8. A distributed learning resource management system according to claim 1, characterized in that: The load index of each node in the server, the specific analysis conditions are: ; In the formula, Indicates the server The load index of the nodes, Indicates In the monitoring period The CPU usage of each node. Indicates the usage of the reference CPU. Indicates the weight factor corresponding to the set CPU usage. Indicates The server number in the monitoring period The maximum memory usage of each node. Indicates the maximum usage of the reference memory. Indicates the weight factor corresponding to the set maximum memory usage. Indicates The server number in the monitoring period The maximum disk I / O utilization of each node. Indicates the maximum utilization of the reference disk I / O. Indicates the weight factor corresponding to the set maximum disk I / O utilization, i represents the number of each node, , Represents the total number of nodes, Indicates the number of each monitoring time period, , Indicates the total number of monitoring time periods.
Citation Information
Patent Citations
Distributed resource management systems and methods
CN108431796B
Cluster resource management in distributed computing systems
CN110537169B
Dynamic anti-intrusion resource scheduling system based on cloud game service
CN116700984A
Computing power scheduling method based on deep learning
CN116974768A
Resource scheduling method for optimizing edge energy consumption and load based on reinforcement learning
CN117194057A
