Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Inactive Publication Date: 2011-04-13
FUDAN UNIV
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This causes some processor cores to go idle and induces coordination issues between the OS's idle threads and the hypervisor's idle virtual machines
Additional guest virtual machine and virtual machine monitor switching will increase the waiting time of waiting threads, resulting in longer execution time of multi-threaded tasks executed on the guest virtual machine, reducing the overall performance and scalability of the guest virtual machine

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for improving virtual machine performance and scalability based on user idle process
  • Method for improving virtual machine performance and scalability based on user idle process
  • Method for improving virtual machine performance and scalability based on user idle process

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the technical fields of a computer operating system and virtualization, in particular to a method for improving scalability and performance of a user virtual machine in multi-core environment by utilizing a user-mode idle background thread. The invention is used for solving the problem that the performance and scalability of the user virtual machine are reduced owning to a cooperation problem between an idle thread of an operating system and an idle virtual machine of a virtual machine monitor in multi-core environment. The method includes: a low priority idle thread is run on each virtual processor core of the user virtual machine, so as to avoid that the virtual processor core of the user virtual machine is switched to the virtual machine monitor when in idle state and an idle virtual machine is executed, thus eliminating cost caused by extra switching of the user virtual machine and the virtual machine monitor. According to the invention, lightweight user-mode idle background process applicable to user virtual machine can be realized, and performance and scalability of the user virtual machine in multi-core environment are greatly improved.

Description

technical field [0001] The invention belongs to the technical field of computer operating systems and virtualization, and specifically relates to a method for improving the performance and scalability of a client virtual machine in a multi-core environment. Background technique [0002] The emergence of multi-core technology has brought new opportunities and challenges to the development of operating systems. As the number of processor processing cores increases, whether the overall performance of the operating system can be enhanced with the enhancement of hardware computing power has become an important issue in the development of today's computer operating systems, that is, the scalability of the operating system. Existing operating systems generally have poor scalability in a multi-core environment, that is, when the number of physical processing cores increases to a certain number, the improvement of the overall performance of the operating system begins to slow down, o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455G06F9/46
Inventor 陈海波宋翔臧斌宇
Owner FUDAN UNIV