Method for improving virtual machine performance and scalability based on user idle process
An idle process and guest virtual machine technology, applied in the field of improving the performance and scalability of guest virtual machines in a multi-core environment, can solve problems such as longer execution time, increased waiting time for waiting threads, and processor cores entering an idle state, etc. To achieve the effect of avoiding overhead, avoiding resource overhead, and eliminating overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] The present invention is further described below in conjunction with embodiment.
[0025] image 3 Describes the process of multiple threads competing for the same semaphore in a virtual environment and the resulting process of cooperating between the idle thread of the operating system and the idle virtual machine of the virtual machine monitor. In the operating system, when a thread cannot obtain the semaphore it needs (step 1, 2), it will be dispatched from the executable queue of the current processor core and added to the waiting queue of the semaphore (step 3 ). If the executable queue of the processor core is empty at that time, the idle process will occupy the processor core, switch to the virtual machine monitor and schedule to the idle virtual machine (step 4). When the owner of the semaphore releases the semaphore, the first waiting thread in the semaphore queue will be woken up and executed (steps 5, 6, 7, 8). Due to the hypervisor, this wakeup process ha...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 