Mimicry computing-oriented heterogeneous resource pooling management method and system

By designing heterogeneous resource pooling management methods and systems, the problem that traditional technology is difficult to manage heterogeneous resources in mimicry computing scenarios is solved, efficient collaborative work and management of resources is realized, resource utilization and response speed are improved, and it is suitable for multiple Users and multiple application scenarios.

CN119003160APending Publication Date: 2024-11-22EAST CHINA INST OF COMPUTING TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411030299.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Traditional resource pooling technology is difficult to effectively manage complex and diverse heterogeneous resources in mimicry computing scenarios, making it difficult to achieve unified resource management, scheduling and configuration.

Method used

Design a heterogeneous resource pooling management method and system for quasi-computing, and realize dynamic allocation and collaborative work of heterogeneous resources by configuring drivers, virtualization, resource abstraction, hierarchical tree resource pool management and unified interfaces.

Benefits of technology

It improves resource utilization and response speed, reduces the complexity of system resource management and scheduling, realizes collaborative work and efficient management of heterogeneous resources, is suitable for multi-user/multi-application scenarios, and has good scalability and parallel processing characteristics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003160A_ABST
    Figure CN119003160A_ABST
Patent Text Reader

Abstract

According to the mimicry computing-oriented heterogeneous resource pooling management method and system provided by the invention, a simple and efficient heterogeneous resource management scheme is provided for mimicry computing through a unified heterogeneous resource management framework, and can be accessed to a mimicry computing platform or a cloud computing system as an independent module; and the complexity and the workload of the system in the aspect of resource management scheduling are reduced. According to the technical scheme, through extensible resource pooling management, as an independent module, a hierarchical resource pool structure has good expandability, FPGA and GPU resources can be managed, and the method can be expanded to other types of computing resources such as DSP and ASIC chips. The technical scheme of the invention also organizes and manages heterogeneous resources in the system by using a tree structure resource pool, can be used in a multi-user / multi-application scene, can effectively process concurrent requests, and has a good parallel processing characteristic.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mimetic computing and advanced computing technology, and in particular to a heterogeneous resource pooling management method and system for mimetic computing. Background Art

[0002] In the face of emerging fields such as big data and artificial intelligence, the traditional rigid computing architecture is limited by the fixed hardware design, and its computing efficiency and energy consumption performance have not met expectations, making it difficult to meet the urgent needs of modern society for high-performance, low-power computing platforms. As a field-oriented hardware-software collaborative variable structure computing architecture, the mimic computing architecture breaks the shackles of the traditional rigid computing model by introducing the concept of "application determines structure, structure determines performance". It can dynamically adjust the internal computing structure according to specific application requirements, and achieve the purpose of structural adaptation to the full-process computing of the application, which greatly improves computing efficiency while reducing energy consumption, and achieves the coordinated optimization of high performance and low power consumption, representing an important direction for the development of future computing technology.

[0003] In the traditional computing environment, in order to manage the resources in the system, the concept of resource pool is introduced to organize the computing resources together and abstract them into virtual resource pools for unified management and dynamic allocation, which not only improves resource utilization, but also enhances the flexibility and scalability of the system. The concept of resource pool has been widely used in the field of cloud computing to manage a variety of software and hardware resources including computing resources (CPU, memory), storage resources and network resources. However, the mimetic computing framework not only covers traditional computing, network and storage resources, but also integrates a variety of dedicated hardware accelerator resources, including field programmable gate arrays (FPGAs), graphics processors (GPUs), digital signal processors (DSPs) and application-specific integrated circuits (ASICs), forming a computing ecosystem that is far more complex than the traditional computing environment. Traditional resource pool technology, limited by its assumptions about resource types and management strategies, is difficult to effectively cope with the complexity and diversity of resources in mimetic computing scenarios. Therefore, how to achieve unified management, scheduling and configuration of heterogeneous resources has become a problem that needs to be solved in the field of mimetic computing. Summary of the invention

[0004] The purpose of the present invention is to design a heterogeneous resource management method and system that is compatible with a mimetic computing system in order to make full use of computing resources and realize collaboration between heterogeneous resources, so as to uniformly manage and dynamically allocate a variety of computing resources used by the mimetic computing system, improve resource utilization and response speed, realize the collaborative work of heterogeneous computing resources, and form a powerful mimetic computing environment.

[0005] The technical solution of the present invention provides a heterogeneous resource pooling management method for mimicking computing, comprising the following steps:

[0006] Configure drivers for different heterogeneous resources based on computing node requirements;

[0007] Obtain the configured driver, perform corresponding virtualization, and generate virtual heterogeneous resources;

[0008] Abstract virtual heterogeneous resources while shielding the differences between the same type of hardware to generate abstract resources;

[0009] Perform hierarchical tree-like resource pool management on abstract resources to generate a tree-like resource pool, which includes a root resource pool, a primary resource pool located downstream of the root resource pool, and a secondary resource pool located downstream of the primary resource pool;

[0010] Based on the tree-like resource pool, a unified heterogeneous resource management interface is constructed;

[0011] Obtain and parse the parameters set by the user / application resource request through the heterogeneous resource management interface. Start from the root resource pool of the tree resource pool according to the number and type of the parsed user requested resources, hierarchically match the corresponding resource types, determine the secondary resource pool to be allocated, obtain the current status of the secondary resource pool to be allocated in the computing node, and calculate the weight of the secondary resource pool to be allocated. Sort the allocated secondary resource pools according to the weights, and select the tertiary resource pool to be allocated according to the sorting results and resource allocation situation;

[0012] Check whether the resource specifications and quantity in the third-level resource pool meet the requirements. If so, allocate resources of the corresponding quantity and specifications to the user / application, wait for the user / application to complete the task, end the occupation of resources, and release the corresponding resources in time.

[0013] The technical solution of the present invention further provides a heterogeneous resource pooling management system for mimetic computing, which adopts the heterogeneous resource pooling management method for mimetic computing as described above, and the system includes:

[0014] The device driver layer includes drivers for different heterogeneous resources, which are used to load and unload drivers for hardware devices according to the needs of computing nodes, configure drivers for different heterogeneous resources, and handle the communication between device drivers and hardware resources;

[0015] The virtualization layer obtains the configured driver of the device driver layer and performs corresponding virtualization to generate virtual resources;

[0016] The resource abstraction layer abstracts the virtual resources of the same type in the virtualization layer and generates abstract resources of the same type while shielding the differences between the same type of hardware.

[0017] The resource pooling module manages the abstract resources of the resource abstraction layer in a hierarchical tree-like resource pool to generate a tree-like resource pool;

[0018] The user management module adds, modifies, deletes, and manages permissions for user information, ensuring that users can only access authorized resources and information, and obtain user / application requests;

[0019] The unified interface module uses the heterogeneous resource management interface to provide heterogeneous resource management and usage services to the outside world;

[0020] The resource monitoring module monitors the current status of the secondary resource pool to be allocated in the computing node according to the heterogeneous resource management interface of the unified interface module;

[0021] The resource scheduling module responds to user / application requests through the heterogeneous resource management interface of the unified interface module, parses them according to the needs and permissions of the user or application, starts from the root resource pool of the tree resource pool according to the number and type of resources requested by the parsed user, hierarchically matches the corresponding resource type, determines the secondary resource pool to be allocated, obtains the resource monitoring module to detect the current state of the secondary resource pool to be allocated in the computing node, and calculates the weight of the secondary resource pool to be allocated, sorts the allocated secondary resource pool according to the weight, selects the tertiary resource pool to be allocated according to the sorting result and resource allocation situation, checks whether the resource specifications and quantity in the tertiary resource pool meet the requirements, and if so, allocates the corresponding quantity and specification of resources to the user / application, and waits for the user / application to complete the task, ends the occupation of resources, and releases the corresponding resources in time.

[0022] Preferably, the unified interface module is used for resource query, resource allocation, resource monitoring, resource scheduling, resource release and recycling.

[0023] Preferably, the resource monitoring module is used to monitor manufacturer, model, serial number, real-time status, resource usage, power and temperature.

[0024] The technical solution of the present invention proposes a heterogeneous resource pooling management method and system for mimetic computing, which provides a simple and efficient heterogeneous resource management solution for mimetic computing through a unified heterogeneous resource management framework, and can be connected to a mimetic computing platform or a cloud computing system as an independent module, reducing the complexity and workload of the system in resource management and scheduling. The technical solution of the present invention uses scalable resource pooling management. As a separate module, the hierarchical resource pool structure has good scalability, which can not only manage FPGA and GPU resources, but also can be extended to other types of computing resources, such as DSP, ASIC chips, etc. The technical solution of the present invention also organizes and manages heterogeneous resources in the system by using a tree-structured resource pool, which can be used in multi-user / multi-application scenarios, can effectively process concurrent requests, and has good parallel processing characteristics. The technical solution of the present invention proposes a hierarchical tree-like resource pool suitable for mimetic computing systems, which can effectively organize and manage heterogeneous resources in the system, and has good scalability and adaptability. In addition, the heterogeneous resource pooling management platform can be used as an independent module to access other computing systems that need to manage heterogeneous resources, simplifying the difficulty and complexity of heterogeneous resource management in various computing resource scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 Provides a management system architecture for heterogeneous resource pooling;

[0026] Figure 2 This is the workflow diagram of heterogeneous resource pooling management system;

[0027] Figure 3 It is a hierarchical tree-like resource pool. DETAILED DESCRIPTION

[0028] The present invention will be further described below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms fall within the scope limited by the appended claims of the application equally.

[0029] The embodiment of the present invention proposes a heterogeneous resource pooling management system for mimetic computing, which is used to uniformly manage heterogeneous resources (taking FPGA and GPU as examples) in a mimetic computing platform. Figure 1 As shown, including:

[0030] The device driver layer has the following main functions: including drivers for different heterogeneous resources, responsible for loading and unloading hardware device drivers, and handling the communication between device drivers and hardware resources.

[0031] The virtualization layer mainly has the following functions: based on device drivers, it uses corresponding virtualization tools to realize virtualization of heterogeneous devices, providing higher flexibility for the use of heterogeneous resources and facilitating large-scale deployment and application.

[0032] The resource abstraction layer has the following main functions: shielding the differences between hardware of the same type but different brands and models, and providing a unified method for hardware resources of the same type so that hardware resources of the same type can be accessed and managed using the same method.

[0033] The resource pooling module has the following main functions: the same computing resources after abstraction shield the differences in hardware details, achieve standardization and normalization, and use resource pools to manage them uniformly. Since there are many types of computing resources in the mimetic computing system, after resource pooling, they can be organized and managed using hierarchical tree-like resource pools.

[0034] The resource monitoring module has the following main functions: based on the device driver layer and virtualization layer, it monitors the status of heterogeneous computing devices according to the interfaces they provide, including the manufacturer, model, serial number, real-time status, resource utilization, power, temperature, etc. of the device, which is convenient for users to query and use, and provides necessary hardware information for the resource scheduling module.

[0035] The user management module has the following main functions: adding, modifying, deleting and managing permissions of user information, ensuring that users can only access authorized resources and information. The resource scheduling module will allocate resources from the corresponding resource pool to users based on their needs and permissions.

[0036] The resource scheduling module has the following main functions: responding to user / application requests and allocating virtual resources of specified types, quantities and specifications to users or applications. It is necessary to allocate resources according to certain strategies based on monitoring results, such as load balancing, to avoid situations where some nodes are overloaded while other nodes are idle.

[0037] The unified interface module has the following main functions: using a unified user interface to provide heterogeneous resource management and usage services, including resource query, resource allocation, resource monitoring, resource scheduling, resource release and recycling, etc.

[0038] like Figure 2 As shown, the embodiment of the present invention also proposes a heterogeneous resource pooling management method for mimic computing, including the following steps:

[0039] Step 1: Virtualize computing resources.

[0040] Virtualization technology allows multiple users or applications to share a single physical resource while ensuring the isolation and security of user resources. For computing nodes, different virtualization methods are used for different types of heterogeneous resources according to the different computing resources configured and the actual application requirements, providing greater flexibility for the use of heterogeneous resources. Taking FPGA and GPU as examples, the FPGA on the computing node is virtualized to form multiple vFPGAs, and the GPU is virtualized to form multiple vGPUs.

[0041] Step 2: Pool heterogeneous resources of the same type.

[0042] After virtualization, computing resources of the same type become virtual resources that can be managed by software. After resource abstraction, the hardware differences of the same type but different manufacturers and models are shielded to form a virtual resource pool corresponding to the corresponding heterogeneous resources. The FPGA on the computing node is virtualized to form a vFPGA, and then after resource abstraction, it forms a vFPGA resource pool that can be uniformly managed. Similarly, vGPUs form a vGPU resource pool.

[0043] Step 3: Build a hierarchical tree-like heterogeneous resource pool.

[0044] All heterogeneous resources in the virtual computing system form a tree structure. The resource pool corresponding to the root node is the root resource pool (first-level resource pool), the resource pool on the child node is the corresponding heterogeneous resource pool (second-level resource pool), and the child node of the heterogeneous resource pool is the virtual resource pool. There is only one root resource pool, and there are multiple heterogeneous resource pools according to the type of heterogeneous resources. The number of virtual resource pools is the number of all computing nodes in the system. Figure 3 As shown, the vFPGA resource pool and the vGPU resource pool (third-level resource pool) on the computing node constitute the FPGA resource pool and the GPU resource pool (secondary resource pool) respectively, and all heterogeneous resource pools constitute the root resource pool (first-level resource pool).

[0045] Step 4: Build a unified resource management interface to respond to user / application requests.

[0046] Based on the constructed tree-like resource pool, a unified heterogeneous resource management interface platform is formed to provide operations such as request, query, delete, update, and monitor of heterogeneous resources for users or applications. When a user or application requests computing resources, it sends a resource request to the unified resource management interface in an agreed format. The resource management interface parses the quantity and type of resources requested by the user, searches for computing nodes that meet the requirements on the resource pool tree, and completes resource allocation.

[0047] Step 5: Resource scheduling.

[0048] In order to respond to resource requests from users or applications, the resource scheduling module allocates resources of specified types, quantities, and specifications to users or applications, and implements load balancing among the three-level resource pools. It responds to resource allocation requests in the following steps:

[0049] Step 5.1: Based on the parameters set in the user resource request, starting from the root resource pool, matching the corresponding resource type, and determining one or more secondary resource pools to be allocated;

[0050] Step 5.2: For each secondary resource pool, perform the subsequent steps separately;

[0051] Step 5.3: According to the status of the resource pool corresponding to each computing node monitored by the monitoring module, the weights of each secondary resource pool in the target secondary resource pool are calculated and sorted;

[0052] Step 5.4: Select an alternative third-level resource pool based on the sorting results and resource allocation;

[0053] Step 5.5: Check whether the resource specifications and quantity in the third-level resource pool meet the requirements. If not, return to step 5.4 and select another third-level resource pool from the second-level resource pool, otherwise continue to the next step.

[0054] Step 5.6: If the requirements are met, resources of corresponding quantity and specifications are allocated to the user, and go to step 5.2.

[0055] Step 5.7: Wait for the user to complete the task and end the occupation of resources, and the system releases the corresponding resources in time.

[0056] The heterogeneous resource pooling management method and system for mimicking computing provided by the embodiments of the present invention have the following beneficial effects:

[0057] Unified heterogeneous resource management framework: It provides a simple and efficient heterogeneous resource management solution for mimetic computing. It can be connected to the mimetic computing platform or cloud computing system as an independent module to reduce the complexity and workload of the system in resource management and scheduling.

[0058] Scalable resource pooling management: The heterogeneous resource pooling management solution proposed in the embodiment of the present invention is a separate module. The hierarchical resource pool structure has good scalability and can not only manage FPGA and GPU resources, but also be extended to other types of computing resources, such as DSP, ASIC chips, etc.

[0059] Parallel processing capability: The embodiment of the present invention uses a tree-structured resource pool to organize and manage heterogeneous resources within the system, can be used in multi-user / multi-application scenarios, can effectively process concurrent requests, and has good parallel processing characteristics.

Claims

1. A heterogeneous resource pooling management method for mimic computing, characterized in that: The following steps are involved: Configure drivers for different heterogeneous resources based on computing node requirements; Obtain the configured driver, perform corresponding virtualization, and generate virtual heterogeneous resources; Abstract virtual heterogeneous resources while shielding the differences between the same type of hardware to generate abstract resources; Perform hierarchical tree-like resource pool management on abstract resources to generate a tree-like resource pool, which includes a root resource pool, a primary resource pool located downstream of the root resource pool, and a secondary resource pool located downstream of the primary resource pool; Based on the tree-like resource pool, a unified heterogeneous resource management interface is constructed; Obtain and parse the parameters set by the user / application resource request through the heterogeneous resource management interface. Start from the root resource pool of the tree resource pool according to the number and type of the parsed user requested resources, hierarchically match the corresponding resource types, determine the secondary resource pool to be allocated, obtain the current status of the secondary resource pool to be allocated in the computing node, and calculate the weight of the secondary resource pool to be allocated. Sort the allocated secondary resource pools according to the weights, and select the tertiary resource pool to be allocated according to the sorting results and resource allocation situation; Check whether the resource specifications and quantity in the third-level resource pool meet the requirements. If so, allocate resources of the corresponding quantity and specifications to the user / application, wait for the user / application to complete the task, end the occupation of resources, and release the corresponding resources in time.

2. A heterogeneous resource pooling management system for mimic computing, characterized by: Using the heterogeneous resource pooling management method for mimicking computing as claimed in claim 1, the system includes: The device driver layer includes drivers for different heterogeneous resources, which are used to load and unload drivers for hardware devices according to the needs of computing nodes, configure drivers for different heterogeneous resources, and handle the communication between device drivers and hardware resources; The virtualization layer obtains the configured driver of the device driver layer and performs corresponding virtualization to generate virtual resources; The resource abstraction layer abstracts the virtual resources of the same type in the virtualization layer and generates abstract resources of the same type while shielding the differences between the same type of hardware. The resource pooling module manages the abstract resources of the resource abstraction layer in a hierarchical tree-like resource pool to generate a tree-like resource pool; The user management module adds, modifies, deletes, and manages permissions for user information, ensuring that users can only access authorized resources and information, and obtain user / application requests; The unified interface module uses the heterogeneous resource management interface to provide heterogeneous resource management and usage services to the outside world; The resource monitoring module monitors the current status of the secondary resource pool to be allocated in the computing node according to the heterogeneous resource management interface of the unified interface module; The resource scheduling module responds to user / application requests through the heterogeneous resource management interface of the unified interface module, parses them according to the needs and permissions of the user or application, starts from the root resource pool of the tree resource pool according to the number and type of resources requested by the parsed user, hierarchically matches the corresponding resource type, determines the secondary resource pool to be allocated, obtains the resource monitoring module to detect the current state of the secondary resource pool to be allocated in the computing node, and calculates the weight of the secondary resource pool to be allocated, sorts the allocated secondary resource pool according to the weight, selects the tertiary resource pool to be allocated according to the sorting result and resource allocation situation, checks whether the resource specifications and quantity in the tertiary resource pool meet the requirements, and if so, allocates the corresponding quantity and specification of resources to the user / application, and waits for the user / application to complete the task, ends the occupation of resources, and releases the corresponding resources in time.

3. The heterogeneous resource pooling management system for mimicking computing according to claim 2, characterized in that: The unified interface module is used for resource query, resource allocation, resource monitoring, resource scheduling, resource release and recycling.

4. The heterogeneous resource pooling management system for mimicking computing according to claim 2, characterized in that: The resource monitoring module is used to monitor the manufacturer, model, serial number, real-time status, resource usage, power and temperature.

Citation Information

Cited By

  • Dynamic reconfigurable CNI system and method based on heterogeneous resource pooling

    CN122086530A