CN116257320B - DPU-based virtualization configuration management method, device, equipment and medium - Google Patents

DPU-based virtualization configuration management method, device, equipment and medium Download PDF

Info

Publication number
CN116257320B
CN116257320B CN202211669120.1A CN202211669120A CN116257320B CN 116257320 B CN116257320 B CN 116257320B CN 202211669120 A CN202211669120 A CN 202211669120A CN 116257320 B CN116257320 B CN 116257320B
Authority
CN
China
Prior art keywords
dpu
server
virtual machine
virtualization configuration
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211669120.1A
Other languages
Chinese (zh)
Other versions
CN116257320A (en
Inventor
李同川
张宇
黄明亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yusur Technology Co ltd
Original Assignee
Yusur Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yusur Technology Co ltd filed Critical Yusur Technology Co ltd
Priority to CN202211669120.1A priority Critical patent/CN116257320B/en
Publication of CN116257320A publication Critical patent/CN116257320A/en
Application granted granted Critical
Publication of CN116257320B publication Critical patent/CN116257320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the disclosure relates to a DPU-based virtualization configuration management method, device, equipment and medium, wherein each main server comprises a data processor DPU device, a virtual machine is installed on each main server, and the virtual machine is connected with a plurality of guest servers; the method comprises the following steps: acquiring corresponding virtualization configuration parameters from the DPU equipment according to a preset protocol at a target stage in the UEFI starting process of the main server, the virtual machine and each guest server; and the host server, the virtual machine and each guest server carry out virtualization configuration on the host server, the virtual machine and each guest server according to the corresponding virtualization configuration parameters. By adopting the technical scheme, the virtual configuration management is performed based on the DPU, so that the virtual configuration management operation is simplified, and the virtual configuration management efficiency is improved.

Description

DPU-based virtualization configuration management method, device, equipment and medium
Technical Field
The disclosure relates to the technical field of cloud computing, in particular to a method, a device, equipment and a medium for managing virtualized configuration based on a DPU.
Background
Cloud computing technology is the most active and popular technical field nowadays, along with innovation and development of modern processors, people pursue low-delay and high-bandwidth more and more, demands on DPUs (Data Processing Unit, data processors) are more and more vigorous, but improving the hardware acceleration performance of DPUs alone cannot enable the performance of a data center to be improved well, and improving the main frequency and the core number of a CPU alone cannot necessarily improve the performance of specific services, so that DPUs and CPUs (central processing unit, central processing units) coordinate with each other, and data processing of specific services can bring a qualitative leap.
The expansion of the existing CPU performance mainly evolves in a multi-core mode, so that network loads can be processed in parallel to a certain extent by utilizing a general processor. How to improve the processing performance of network packets in the combination of dpu+cpu, large page memory, cache line alignment, thread binding, memory and cache prefetching are all configured according to different scenarios, and some of these configurations are performed in the UEFI (Unified Extensible Firmware Interface ) BIOS (Basic Input Output System, basic input and output system).
In the related art, the existing configuration mainly includes configuration 1: the server UEFI BIOS configures a corresponding host CPU; configuration 2: UEFI BIOS in the DPU configures the corresponding DPU; configuration 3: client (customer server) UEFI BIOS configuration inside the virtual machine. However, the configuration is relatively decentralized and not centralized, and each part needs to be configured when the configuration is oriented to building a large-scale data center, so that the configuration is relatively complicated and the centralized management is inconvenient.
Disclosure of Invention
In order to solve the technical problems described above or at least partially solve the technical problems described above, the present disclosure provides a method, an apparatus, a device, and a medium for managing a configuration based on DPU virtualization.
The embodiment of the disclosure provides a DPU-based virtualization configuration management method, wherein each main server comprises a data processor DPU device, a virtual machine is installed on each main server, and the virtual machines are connected with a plurality of guest servers; the method comprises the following steps:
acquiring corresponding virtualization configuration parameters from the DPU equipment according to a preset protocol at a target stage in the UEFI starting process of the main server, the virtual machine and each customer server;
and the host server, the virtual machine and each guest server carry out virtualization configuration on the host server, the virtual machine and each guest server according to the corresponding virtualization configuration parameters.
The embodiment of the disclosure also provides a device for managing the configuration based on the DPU virtualization, wherein each main server comprises a data processor DPU device, and a virtual machine is installed on each main server and is connected with a plurality of guest servers; the device comprises:
the acquisition module is used for acquiring corresponding virtualized configuration parameters from the DPU equipment according to a preset protocol at a target stage in the UEFI starting process of the main server, the virtual machines and each customer server;
and the configuration module is used for carrying out virtualization configuration on the host server, the virtual machine and each guest server according to the corresponding virtualization configuration parameters.
The embodiment of the disclosure also provides an electronic device, which comprises: a processor; a memory for storing the processor-executable instructions; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the DPU-based virtualization configuration management method as provided in the embodiments of the present disclosure.
The embodiments of the present disclosure also provide a computer-readable storage medium storing a computer program for executing the DPU-based virtualization configuration management method as provided by the embodiments of the present disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: according to the DPU-based virtualization configuration management scheme provided by the embodiment of the disclosure, each main server comprises a data processor DPU device, a virtual machine is installed on each main server, and the virtual machines are connected with a plurality of guest servers; the method comprises the following steps: acquiring corresponding virtualization configuration parameters from the DPU equipment according to a preset protocol at a target stage in the UEFI starting process of the main server, the virtual machine and each guest server; and the host server, the virtual machine and each guest server carry out virtualization configuration on the host server, the virtual machine and each guest server according to the corresponding virtualization configuration parameters. By adopting the technical scheme, the virtual configuration management is performed based on the DPU, so that the virtual configuration management operation is simplified, and the virtual configuration management efficiency is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a schematic flow chart of a DPU-based virtualization configuration management method according to an embodiment of the present disclosure;
FIG. 2 is an exemplary diagram of DPU-based virtualization configuration management provided by an embodiment of the present disclosure;
FIG. 3 is an exemplary diagram of another DPU-based virtualization configuration management provided by an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a DPU-based virtualized-configuration management apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
In the prior art, configuration 1: the server UEFI BIOS configures a corresponding Host CPU; configuration 2: UEFI BIOS in the DPU configures the corresponding DPU; configuration 3: client (customer server) UEFI BIOS configuration inside the virtual machine. The configuration is relatively decentralized and not centralized, each part needs to be configured when facing to the construction of a large-scale data center, and when an administrator checks, the BMC (Baseboard Management Controller ) of each server needs to be logged in to remotely check the machine configuration condition, so that the configuration is relatively complicated and the centralized management is inconvenient; the data center administrator cannot fully obtain the configuration of each server, as well as the client BIOS for different domains on a node.
Specifically, the DPU (a special processor configured with data as a center, supporting infrastructure layer resource virtualization by adopting a software-defined technology route, supporting infrastructure layer services such as storage, security, quality of service management and the like) is responsible for creating and sharing virtualization related configurations through a network, the physical server and the UEFI (Unified Extensible Firmware Interface, which are specifications of a personal computer system under the VMM (virtual machine manager, for example qemu, xen and the like) are used for defining a software interface between an operating system and system firmware, and serve as an alternative scheme of the BIOS), the BIOS (Basic Input Output System, providing the bottommost and most direct hardware setting and control for a computer) uses the virto provide a virtual solution, which is a set of general I/O device virtualized programs, and is an abstraction of a set of general I/O devices in the semi-virtualized Hypervisor (virtual machine monitor), the IOMMU (Input/output memory management unit, which is a memory management unit (Memory Management Unit) which is used for connecting the DMA I/O Bus (Direct Memory Access-Bus) and not needed to access the relevant hardware configuration directly, and the like, and the important characteristics of the DPU need not to be accessed by the host device.
Fig. 1 is a schematic flow chart of a DPU-based virtualization configuration management method according to an embodiment of the present disclosure, where the method may be performed by a DPU-based virtualization configuration management apparatus, where the apparatus may be implemented in software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 1, the method includes:
step 101, acquiring corresponding virtualization configuration parameters from the DPU device according to a preset protocol at a target stage in the UEFI starting process of the main server, the virtual machine and each guest server.
Step 102, the host server, the virtual machine and each guest server perform virtualization configuration on the host server, the virtual machine and each guest server according to the corresponding virtualization configuration parameters.
In some embodiments, the virtualized configuration parameters sent by the data analysis center are received and stored at the DPU device of each host server.
In some embodiments, after the host server, the virtual machine, and each guest server are configured in a virtualized manner, configuration option values of UEFI of the host server, the virtual machine, and each guest server are determined, and the DPU device of the host server sends the configuration option values to the management center in the form of network packets.
In some embodiments, the DPU device of the primary server sends the configuration option values to the management center in the form of network packets at preset time intervals. The time interval is selected and set according to the application scene.
The cloud computing center is provided with a plurality of physical servers, one physical server is provided with a DPU device, a virtual machine is loaded on the physical server (UEFI+OS, UEFI starting), the virtual machine is provided with a plurality of guest servers (UEFI+OS), and the DPU device is provided with (UEFI+OS).
Specifically, the startup procedure of the UEFI system includes: SEC (security authentication) - > PEI (EFI pre-initialization) - > DXE (drive execution environment) - > BDS (boot device select) - > Guest OS (system in virtual machine), hostOS (system in host server). The target phase may be any phase in the above process, and may be selected as required, for example, DXE is used as the target phase.
Specifically, the DPU is a center of data processing, and the DPU plays a role in management throughout the data center. The UEFI BIOS corresponding to the host server, virtual machine, and each guest server boots, based on Intel Vt-d (VT-d isVirtualization Technology for Directed I/O (VT-d), virtualization technology of I/O. In short, PCIe ((Peripheral Component Interconnect Express), generally translated into a peripheral device high-speed connection standard, PCIe protocol is an end-to-end interconnection protocol, and provides a solution for high-speed transmission bandwidth), resources of devices are directly allocated to a virtual machine) technology, a preset protocol such as virtuo protocol is used to read parameters related to Virtualization in a DPU NVRAM (Non-Volatile Random Access Memory is a Non-volatile random access memory, which refers to a RAM capable of still maintaining data after power is off), NUMA (Non Uniform Memory Access, non-uniform memory access) is configured, vt-d, vt-x (Vt-x is an instruction set in intel application Virtualization technology, and is a hardware Virtualization technology of a CPU, vt can simultaneously improve Virtualization efficiency and security of a virtual machine, vt technology on an x86 platform is generally referred to as Vt-x, vt technology on an Itanium platform is referred to as Vt-i) and so on related to Virtualization parameters related to Virtualization, thereby implementing CPU, memory, IO, virtualization, etc. of nodes and domains.
Specifically, the data analysis center may communicate with a plurality of main servers, each having a corresponding DPU device, and the data analysis center writes the virtualization-related parameters corresponding to each server into the corresponding DPU device.
As shown in fig. 2, when the main server is powered on, the main server UEFI BIOS starts to operate, scanning the DPU device. The SOC (System on Chip) above the DPU device begins running the UEFI BIOS. After the main server enters the startup, the virtual machine under the monitoring of the VMM starts to run the UEFI BIOS, wherein the UEFI comprises SEC- > PEI- > DXE- > BDS- > Guest OS, and when the UEFI BIOS enters the DXE stage, the VirtIO protocol is called to read BIOS configuration about service requirements in NVRAM medium of the DPU device.
It will be appreciated that a default configuration option value, or a preference value to facilitate business needs, is required when the three UEFI BIOS is running. The disclosed embodiments consider that the preference values of these three parts are controlled by the DPU device, and should be present inside the DPU device. When many DPUs (and also many host servers) work together, the settings of these host servers may be aggregated together in the form of a network packet for viewing by a remote administrator.
That is, a large cloud computing center has tens of thousands of physical servers (main servers), where each physical server has a DPU card (DPU device) that sends its corresponding (physical server configuration option value setting, configuration option value setting in a virtual machine on the physical server, and configuration option value setting of the DPU device itself) to the management center in the form of a network packet.
In some embodiments, when the primary server UEFI starts to enter the target phase, the target protocol is invoked to read a first virtualization configuration parameter in the DPU device that matches the service requirement, and the target function is invoked to configure the first virtualization configuration parameter to the primary server.
In some embodiments, the BAR space in the DPU device is read by an input-output function to obtain the first virtualized configuration parameter.
In some embodiments, a virtual DPU device is created under a virtual machine manager VMM, a translation table is established and saved to a target space of the virtual DPU device, when a customer server accesses the target space of the virtual DPU device, the VMM forwards an input/output request to an input/output address space of the DPU device through the translation table, reads a second virtualization configuration parameter matched with a service requirement based on the input/output address space, and configures the second virtualization configuration parameter to the customer server.
Specifically, the current UEFI BIOS is based on the UEFI functional core framework written by intel, and among the modules, protocols are extremely important, and represent a class of services provided by the device, mainly including a protocol global unique identifier (GUID, globally Unique Identifier), a protocol interface structure (protocol interface struct) and a protocol service (protocol service). Through the function pointer and the data pointer, a user can design own codes and call the function call by an upper layer.
Specifically, when the main server and the UEFI BIOS under the VMM are running, first, a virtualization-related default preference value is obtained from the DPU device, specifically in the form of UEFI variable. The original run Services in the UEFI system are used for overwriting, and the functions are converted from the original cmos to the reading and writing of NVRAM of the DPU device. When the UEFI enters the DXE phase, the VirtIO protocol is called to read BIOS configuration about service requirements in NVRAM medium of the DPU device.
Specifically, the upper UEFI BIOS rewrites the system Get Variable and Set Variable functions:
SystemTable- > rutimeservices- > SetVariable = DPUVariableServiceSetVariable; the UEFI system function invokes a method of reading and writing DPU NVRAM.
SystemTable->RuntimeServices->GetVariable=DPUVariableServiceGetVariable。
The virtual protocol is used for reading and writing NVRAM of the DPU device in DPUVARIABLE eServiceSetVariable and DPUVARIABLE functions, and the specific functions are shown as follows mainly through reading and writing BAR space of the DPU device:
IO function of read-write DPU device BAR:
the relevant virtualized configuration, such as NUMA, VT-d, VT-x, SR-IOV, etc., is first obtained from the DPU by definition of the BAR space, by the read-write functions of the UEFI system variables.
Setting and reading in NVRAM of the local server DUP device. This completes the configuration of the main server.
Specifically, unlike the physical server BIOS, the BIOS under the VMM saves virtualization-related settings inside the DPU via the VirtIO protocol, as shown in FIG. 3.
Adding virtual DPU equipment in qemu, and realizing the following partial code:
/>
specifically, the UEFI BIOS in the guest server accesses the IO address space of the physical DPU device, creates a virtual DPU device under the VMM, creates a conversion table (based on Intel EPT big page technology, the conversion table includes a mapping relationship between the virtual DPU device and the IO address space of the DPU), reports the virtual DPU BAR space to the guest server, and when the guest server accesses the BAR space of the virtual DPU device, the VMM is responsible for intercepting the operation and forwards the IO request to the IO address space of the DPU device through the conversion table (written by PCIE, both the write request and the read request are in PCIE specifications).
In addition, the BIOS settings stored in the DPU device settings are read by the DPU device and parsed by the DPU device SOC. The SOC may perform relevant settings for BIOS configuration according to service requirements and store in the DPU device NVRAM. The SOC on the DPU device reads and parses NVRAM content in the DPU device, and sends the NVRAM content to the data center in a form of a network packet for viewing by an administrator.
According to the DPU-based virtualization configuration management scheme provided by the embodiment of the disclosure, each main server comprises a data processor DPU device, a virtual machine is installed on each main server, and the virtual machines are connected with a plurality of guest servers; the method comprises the following steps: acquiring corresponding virtualization configuration parameters from the DPU equipment according to a preset protocol at a target stage in the UEFI starting process of the main server, the virtual machine and each guest server; and the host server, the virtual machine and each guest server carry out virtualization configuration on the host server, the virtual machine and each guest server according to the corresponding virtualization configuration parameters. By adopting the technical scheme, the virtual configuration management is performed based on the DPU, so that the virtual configuration management operation is simplified, and the virtual configuration management efficiency is improved.
Fig. 4 is a schematic structural diagram of a DPU-based virtualized-configuration management apparatus according to an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 4, each host server includes a data processor DPU device, and a virtual machine is installed on each host server, and the virtual machine is connected with a plurality of guest servers; the device comprises:
an obtaining module 301, configured to obtain, at a target stage in a UEFI starting process of the main server, the virtual machine, and each client server, a corresponding virtualization configuration parameter from the DPU device according to a preset protocol;
and the configuration module 302 is configured to perform virtualization configuration on the host server, the virtual machine and each guest server according to the corresponding virtualization configuration parameters.
Optionally, each of the main servers is connected to a data analysis center, and the apparatus further includes:
the receiving module is used for receiving the virtualized configuration parameters sent by the data analysis center;
and the storage module is used for storing the virtualized configuration parameters in the DPU equipment of each main server.
Optionally, the apparatus further includes:
the determining module is used for determining configuration option values of UEFIs of the main server, the virtual machine and each customer server after the main server, the virtual machine and each customer server are subjected to virtualization configuration;
and the sending module is used for sending the configuration option value to a management center in the form of a network packet by the DPU equipment of the main server.
Optionally, the DPU device of the main server sends the configuration option value to the management center in a network packet form according to a preset time interval.
Optionally, when the main server UEFI starts to enter the target stage, a target protocol is invoked to read a first virtualization configuration parameter matched with a service requirement in the DPU device;
and calling an objective function to configure the first virtualized configuration parameter to the main server.
Optionally, the BAR space in the DPU device is read through an input/output function, so as to obtain the first virtualization configuration parameter.
Optionally, creating a virtual DPU device under a Virtual Machine Manager (VMM), and creating a conversion table to store the conversion table in a target space of the virtual DPU device;
when the customer server accesses the target space of the virtual DPU device, the VMM forwards an input/output request to an input/output address space of the DPU device through the conversion table;
and reading a second virtualization configuration parameter matched with the service requirement based on the input/output address space, and configuring the second virtualization configuration parameter to the customer server.
The DPU-based virtualization configuration management device provided by the embodiment of the disclosure can execute the DPU-based virtualization configuration management method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Embodiments of the present disclosure also provide a computer program product comprising a computer program/instruction which, when executed by a processor, implements the DPU-based virtualization configuration management method provided by any embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring now in particular to fig. 5, a schematic diagram of an electronic device 400 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 400 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device 400 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401, which may perform various suitable actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
In general, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, magnetic tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 400 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communications device 409, or from storage 408, or from ROM 402. When executed by the processing device 401, the computer program performs the above-described functions defined in the DPU-based virtualization configuration management method of the embodiments of the present disclosure.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (Hyper Text Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring corresponding virtualization configuration parameters from the DPU equipment according to a preset protocol at a target stage in the UEFI starting process of the main server, the virtual machine and each guest server; and the host server, the virtual machine and each guest server carry out virtualization configuration on the host server, the virtual machine and each guest server according to the corresponding virtualization configuration parameters.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement any of the DPU-based virtualization configuration management methods provided in the present disclosure.
According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium storing a computer program for performing any one of the DPU-based virtualization configuration management methods as provided by the present disclosure.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (7)

1. The DPU-based virtualization configuration management method is characterized in that each main server comprises a data processor DPU device, a virtual machine is installed on each main server, and the virtual machines are connected with a plurality of guest servers; the method comprises the following steps:
acquiring corresponding virtualization configuration parameters from the DPU equipment according to a preset protocol at a target stage in the UEFI starting process of the main server, the virtual machine and each customer server; when the main server UEFI starts to enter the target stage, a target protocol is called to read a first virtualization configuration parameter matched with a service requirement in the DPU equipment, and a target function is called to configure the first virtualization configuration parameter to the main server; reading BAR space in the DPU device through an input/output function to obtain the first virtualization configuration parameters;
creating a virtual DPU device under a Virtual Machine Manager (VMM), and creating a conversion table to store the conversion table in a target space of the virtual DPU device; when the customer server accesses the target space of the virtual DPU device, the VMM forwards an input/output request to an input/output address space of the DPU device through the conversion table; reading a second virtualization configuration parameter matched with the service requirement based on the input/output address space, and configuring the second virtualization configuration parameter to the customer server;
and the host server, the virtual machine and each guest server carry out virtualization configuration on the host server, the virtual machine and each guest server according to the corresponding virtualization configuration parameters.
2. The DPU-based virtualization configuration management method of claim 1, wherein each of the host servers is connected to a data analysis center, the method further comprising:
receiving the virtualized configuration parameters sent by the data analysis center;
storing the virtualized configuration parameters in DPU devices of each of the primary servers.
3. The DPU-based virtualization configuration management method as recited in claim 1, further comprising:
after the main server, the virtual machine and each guest server are subjected to virtualization configuration, determining configuration option values of UEFIs of the main server, the virtual machine and each guest server;
the DPU device of the main server sends the configuration option value to a management center in the form of a network packet.
4. The DPU-based virtualization configuration management method as recited in claim 3, wherein,
and the DPU equipment of the main server sends the configuration option value to a management center in the form of network packets according to a preset time interval.
5. A virtual configuration management device based on a DPU, wherein each main server comprises a data processor DPU device, and a virtual machine is installed on each main server and is connected with a plurality of guest servers; the device comprises:
the acquisition module is used for acquiring corresponding virtualized configuration parameters from the DPU equipment according to a preset protocol at a target stage in the UEFI starting process of the main server, the virtual machines and each customer server; when the main server UEFI starts to enter the target stage, a target protocol is called to read a first virtualization configuration parameter matched with a service requirement in the DPU equipment, and a target function is called to configure the first virtualization configuration parameter to the main server; reading BAR space in the DPU device through an input/output function to obtain the first virtualization configuration parameters;
creating a virtual DPU device under a Virtual Machine Manager (VMM), and creating a conversion table to store the conversion table in a target space of the virtual DPU device; when the customer server accesses the target space of the virtual DPU device, the VMM forwards an input/output request to an input/output address space of the DPU device through the conversion table; reading a second virtualization configuration parameter matched with the service requirement based on the input/output address space, and configuring the second virtualization configuration parameter to the customer server;
and the configuration module is used for carrying out virtualization configuration on the host server, the virtual machine and each guest server according to the corresponding virtualization configuration parameters.
6. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the DPU-based virtualization configuration management method of any one of claims 1-4.
7. A computer readable storage medium, characterized in that the storage medium stores a computer program for executing the DPU-based virtualization configuration management method of any one of the preceding claims 1-4.
CN202211669120.1A 2022-12-23 2022-12-23 DPU-based virtualization configuration management method, device, equipment and medium Active CN116257320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211669120.1A CN116257320B (en) 2022-12-23 2022-12-23 DPU-based virtualization configuration management method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211669120.1A CN116257320B (en) 2022-12-23 2022-12-23 DPU-based virtualization configuration management method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN116257320A CN116257320A (en) 2023-06-13
CN116257320B true CN116257320B (en) 2024-03-08

Family

ID=86678421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211669120.1A Active CN116257320B (en) 2022-12-23 2022-12-23 DPU-based virtualization configuration management method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116257320B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117009032A (en) * 2023-07-04 2023-11-07 中科驭数(北京)科技有限公司 Virtualized device configuration method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113424168A (en) * 2019-01-03 2021-09-21 圣巴诺瓦系统公司 Virtualization of reconfigurable data processor
CN114116655A (en) * 2021-12-08 2022-03-01 北京交研智慧科技有限公司 Parallel file storage method, device, equipment and storage medium based on virtual machine
CN115291951A (en) * 2022-07-01 2022-11-04 深圳市亿道数码技术有限公司 UEFI (unified extensible firmware interface) starting method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10467015B2 (en) * 2015-09-08 2019-11-05 Dell Products, Lp Method for out of band device configuration deployment and system therefor
EP3812900B1 (en) * 2016-12-31 2023-11-29 Intel Corporation Systems, methods, and apparatuses for heterogeneous computing
US10489594B2 (en) * 2017-07-19 2019-11-26 Dell Products, Lp System and method for secure migration of virtual machines between host servers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113424168A (en) * 2019-01-03 2021-09-21 圣巴诺瓦系统公司 Virtualization of reconfigurable data processor
CN114116655A (en) * 2021-12-08 2022-03-01 北京交研智慧科技有限公司 Parallel file storage method, device, equipment and storage medium based on virtual machine
CN115291951A (en) * 2022-07-01 2022-11-04 深圳市亿道数码技术有限公司 UEFI (unified extensible firmware interface) starting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN116257320A (en) 2023-06-13

Similar Documents

Publication Publication Date Title
US10515056B2 (en) API for resource discovery and utilization
US8629878B2 (en) Extension to a hypervisor that utilizes graphics hardware on a host
US9207989B2 (en) System and method for providing virtual device
US20130055254A1 (en) Methods and apparatuses for providing a virtual machine with dynamic assignment of a physical hardware resource
CN111314799A (en) Terminal system architecture, communication system, communication method, and storage medium
US20130204924A1 (en) Methods and apparatuses for providing application level device transparency via device devirtualization
US20160364261A1 (en) Apparatus and method for providing adaptive virtual desktop operating system service
US10621124B2 (en) Method, device and computer program product for enabling SR-IOV functions in endpoint device
WO2023174013A1 (en) Video memory allocation method and apparatus, and medium and electronic device
CN116257320B (en) DPU-based virtualization configuration management method, device, equipment and medium
CN113886019B (en) Virtual machine creation method, device, system, medium and equipment
US9058239B2 (en) Hypervisor subpartition as concurrent upgrade
US20180203726A1 (en) Virtual machine migration method and apparatus
CN113886018A (en) Virtual machine resource allocation method, device, medium and equipment
CN115686877A (en) Data interaction method and device, storage medium and computing equipment
Ming Analysis and a case study of transparent computing implementation with UEFI
US11249760B2 (en) Parameter management between programs
WO2023093633A1 (en) Startup method and apparatus for terminal firmware, and electronic device and storage medium
CN114860401B (en) Heterogeneous cloud desktop scheduling system, heterogeneous cloud desktop scheduling method, heterogeneous cloud desktop scheduling service system, heterogeneous cloud desktop scheduling device and medium
US11847611B2 (en) Orchestrating and automating product deployment flow and lifecycle management
CN112073505B (en) Method for unloading on cloud server, control device and storage medium
US11500653B2 (en) Signal handling between programs associated with different addressing modes
KR20100122431A (en) Sharing input/output(i/o) resources across multiple computing systems and/or environments
US9274815B2 (en) Method and apparatus for portable self-contained node computer
US11663072B2 (en) Avoid system restart after applying fixes

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant