Task processing method and virtual machine
A task processing and virtual machine technology, applied in the computer field, can solve problems affecting task execution, data sharing conflicts, false sharing, etc., and achieve the effect of improving scalability and reducing overhead.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] The embodiment of the present invention provides a method for task processing, see figure 1 .
[0064] It should be noted that, based on the application layer abstract virtualization technology (instruction set architecture), the present invention realizes a single system image of the cluster system at the middleware level, proposes a task-level virtual instruction set, and establishes a single system image. Adopt a page-based distributed shared memory model, and through the perception of tasks, establish a relaxed transactional memory consistency model, and reduce the memory generated by the system to maintain memory consistency by rationally optimizing the memory distribution required by tasks overhead and improve the scalability of the system.
[0065] The overall architecture of the virtual machine for processing tasks in the embodiment of the present invention is as follows: figure 2 As shown, specifically:
[0066] The data center virtual machine (DVM) includ...
Embodiment 2
[0084] The embodiment of the present invention provides a method for task processing, see Figure 4 It should be noted that, in the embodiment of the present invention, the entire process of task processing is specifically executed by the scheduler node, the distributed shared memory management node, and the task execution container node.
[0085] The method flow includes:
[0086] The virtual machine includes: a scheduler node, a distributed shared memory management node and a task execution container node.
[0087] 401: When receiving an instruction to create a task issued by the virtual instruction layer, select an idle resource for executing the task for the task, wherein the instruction includes at least the start address of the task when it is running, The address information of the global variable and the address information of the synchronization variable involved in the task.
[0088]Specifically, when receiving an instruction to create a task issued by the virtual ...
Embodiment 3
[0148] The embodiment of the present invention provides a virtual machine for task processing, see Figure 5 , the virtual machine includes:
[0149] Scheduler node 501, distributed shared memory management node 502, task execution container node 503;
[0150] The scheduler node 501 includes:
[0151] The selecting module 5011 is configured to select an idle resource for executing the task for the task when receiving an instruction for creating the task issued by the virtual instruction layer, wherein the instruction includes at least the start address, the address information of the global variable involved in the task and the address information of the synchronization variable;
[0152] The first acquiring module 5012 is configured to acquire a new global variable snapshot corresponding to the global variable after the task is executed, and acquire an updated global variable according to the local global variable snapshot and the new global variable snapshot ;
[0153] J...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com