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

Secure memory allocation method, virtual CPU scheduling method and related devices

A technology of memory allocation and scheduling method, which is applied in the direction of program control device, software simulation/interpretation/simulation, program control design, etc., which can solve the problem that the efficiency of secure memory access needs to be improved, and achieve the effect of improving access speed and access efficiency

Active Publication Date: 2021-01-22
HYGON INFORMATION TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004]However, when the existing secure virtual machine runs on a server with NUMA (Non Uniform Memory Access, non-uniform memory access) architecture, the secure virtual machine access efficiency needs to be improved

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
  • Secure memory allocation method, virtual CPU scheduling method and related devices
  • Secure memory allocation method, virtual CPU scheduling method and related devices
  • Secure memory allocation method, virtual CPU scheduling method and related devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0058] As an optional example, figure 1 A schematic diagram showing the system architecture of the virtualization environment, such as figure 1 As shown, the system architecture of the virtualization environment may include: a CPU (Central Processing Unit, central processing unit) core 1, a memory controller 2, a memory 3, and a security processor 4;

[0059] Wherein, the CPU core 1 can configure the virtual machine manager 11 in the form of software, and vir...

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 embodiment of the invention provides a secure memory allocation method, a virtual CPU scheduling method and related devices, and the secure memory method comprises the steps: generating a secure memory allocation request according to a group identifier of a target node currently scheduled by a virtual CPU of a secure virtual machine, and enabling a secure processor to carry out the secure memory allocation based on the group identifier and the secure memory occupation information of the target node; and allocating a secure memory to the secure virtual machine, and establishing a mapping relationship corresponding to the secure memory in a secure page table. The virtual CPU scheduling method comprises the following steps: enabling a virtual machine manager to acquire access informationof a virtual CPU corresponding to a secure virtual machine to a secure memory, and determining a target group with the maximum total access amount of the secure memory; and when the group currently scheduled by the virtual CPU is not the target group, scheduling the virtual CPU to the target group. The virtual CPU accesses the local security memory at the maximum frequency, so that the access efficiency of the security virtual machine to the security memory is improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of virtual machines, and in particular to a secure memory allocation and virtual CPU scheduling method and related devices. Background technique [0002] Through virtualization technology (Virtualization), the physical host can virtualize multiple virtual machines (VirtualMachine, VM), so as to maximize the use of hardware resources of the physical host; each virtualized virtual machine can be allocated memory (space) , the memory space allocated by each virtual machine is mainly used for task consumption and support for virtualization. [0003] Security virtualization technology is a virtualization technology that can protect the memory space of a virtual machine. For example, by providing security protection measures such as encryption or isolation for the memory space of a virtual machine, the data security of the virtual machine can be improved. Among them, it has security protectio...

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/455
CPCG06F9/45558G06F2009/45583G06F2009/45587
Inventor 刘子行应志伟
Owner HYGON INFORMATION TECH CO LTD