Time-sharing vcpu multi-core scheduling method and system based on microkernel

A scheduling method and microkernel technology, applied in the field of virtualization, can solve the problems of isolation between partitions and tasks, reduced reliability, only soft real-time performance, and cannot meet the requirements of strong real-time application scenarios, etc., to achieve high flexibility performance and reliability, and improve real-time performance

Pending Publication Date: 2021-11-23
EAST CHINA INST OF COMPUTING TECH
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, most of the existing open source virtualization technologies such as Linux-based KVM are based on macro kernels, which reduces the isolation and reliability between partitions and tasks; moreover, most of these open source virtualization technologies only have soft real-time performance , unable to meet the requirements of strong real-time application scenarios

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
  • Time-sharing vcpu multi-core scheduling method and system based on microkernel
  • Time-sharing vcpu multi-core scheduling method and system based on microkernel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0101] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0102] The embodiment of the present invention is based on a flexible microkernel system architecture, and provides a time-sharing vcpu multi-core scheduling method based on a microkernel in order to integrate resources of real-time and non-real-time partitions under the premise of ensuring safety and reliability. figure 1 with figure 2 As shown, different physical processor core groups are assigned to the virtual processor threads running on the microkernel. Different physical processor core groups 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 provides a time-sharing vcpu multi-core scheduling method and system based on a microkernel, and relates to the technical field of virtualization; the method comprises the following steps: a scheduling initialization step: grouping physical processor cores pcpu; enabling each pcpu to apply for a memory space to create a respective ready queue and a waiting queue, and creating a respective idle thread for each pcpu; a partition multi-core scheduling step: when the vcpu thread is scheduled, judging whether the time slice of the current vcpu thread is used up or not; and a ready thread selection step: in the partition multi-core scheduling step, when a ready thread, namely a vcpu thread or a common task thread is selected, comparing and judging whether the partition is in a new period or an old period, and selecting the corresponding ready thread for switching. The method can be realized based on a microkernel, and has higher flexibility and reliability; based on a time-sharing scheduling algorithm, resources required by real-time and non-real-time tasks are effectively integrated; therefore, the real-time partition task scheduling algorithm can improve the real-time performance of the partition task scheduling.

Description

technical field [0001] The invention relates to the technical field of virtualization, in particular to a microkernel-based time-sharing vcpu multi-core scheduling method and system. Background technique [0002] With the continuous development of the embedded field, there are more and more application occasions for embedded systems. Facing the increasing user needs, embedded systems that can only support a single type of application can no longer meet the requirements. In order to meet this diverse challenge, existing embedded systems often contain multiple subsystems, which meet various requirements, such as real-time and non-real-time requirements, low security level and high security level requirements, etc. Diversified subsystems also increase the design complexity of embedded systems. In this context, the embedded industry needs new solutions to realize the resource integration of multiple subsystems, and the application of virtualization technology in embedded system...

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/50G06F9/48
CPCG06F9/45533G06F9/5077G06F9/4856G06F2009/4557
Inventor 左龙韩笑汪云云
Owner EAST CHINA INST OF COMPUTING TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products