Real-time virtualization system and execution method thereof
A virtualization system and virtual machine technology, applied in the field of virtualization, can solve the problems of wasting processor time, system unresponsiveness, and reducing hypercall efficiency, etc., to achieve the effect of improving average efficiency, improving real-time performance, and preventing meaningless execution
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0042] A real-time virtualization system comprising:
[0043] A virtual machine monitor, configured to provide virtualization services for the virtual machine;
[0044] a number of virtual machine modules connected to the virtual machine monitor for supporting virtualized applications;
[0045] A processor on which the virtual machine monitor runs to execute algorithms in batches using real-time hypercalls or asynchronously execute algorithms using cross-core hypercalls.
[0046] In this embodiment, the processor is a single-core processor or a multi-core processor, wherein the virtual machine monitor runs on the processor and uses a real-time hypercall batch execution algorithm; the virtual machine monitor runs The algorithm is executed asynchronously on the processor using cross-core hypercalls.
[0047] In this embodiment, the processor is also provided with a ring buffer created by using shared memory and capable of having multiple writers and one reader. The ring buffer...
Embodiment 2
[0063] In this embodiment, taking a PLC industrial control system as an application scenario, the virtual machine module (that is, a PLC industrial control system) includes an electromechanical control module and a communication module. Wherein, the priority of the electromechanical control module is higher than that of the communication module, and the electromechanical control module will not execute the hypercalls in batches; the communication module will execute the hypercalls in batches to facilitate the data packet A large number of sending and receiving.
[0064] After the system is powered on, the virtual machine monitor loads the electromechanical control module and the communication module from the processor;
[0065] The communication module makes a request to the virtual machine monitor to execute the hypercall in batches to receive the engineering data sent by the host computer, fill in the form in the memory and choose to execute in stages without ignoring errors...
Embodiment 3
[0072] In this embodiment, the machine tool control system is used as an application scenario, and the virtual machine module (that is, the machine tool control system) includes a motion control module, a communication control module and a graphical interface module. Among the three modules, the motion control module has the highest priority, and the amount of calculation is small, and the communication control module and the graphical interface module have low requirements on efficiency, and their priority is lower than that of the motion control module. , the communication control module needs a large amount of calculation data, and these calculations must be completed by a DSP instruction set that can only be accessed in a privileged state, so the hypercall needs to be used.
[0073] After the system is powered on, the virtual machine monitor module loads the motion control module, the communication control module and the graphical interface module from the processor;
[00...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More