Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for dynamically distributing embedded virtual memory

An embedded virtualization and dynamic allocation technology, which is applied in the directions of memory address/allocation/relocation, software simulation/interpretation/simulation, program control device, etc., and can solve problems such as memory waste and memory requirements not considered

Inactive Publication Date: 2011-09-21
SHANGHAI BAIHAN NETWORK TECH
View PDF0 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the continuous increase of enterprise hardware costs, virtualization technology has made great progress due to its characteristics of cost reduction and security. However, embedded virtualization is still in its initial stage. Traditional embedded virtualization adopts a fixed memory allocation method, that is, If the virtual object needs 512M memory, it will allocate 512M memory in the host memory for the memory of the virtual object, regardless of the real-time memory requirements. In specific applications, although the maximum memory required by the virtual object is 512M, it does not mean that The 512M memory needs to be occupied all the time. Therefore, the method of allocating fixed memory space will lead to waste of memory. Further, for embedded virtualization, if a single host supports multiple embedded virtualization systems, the resulting memory waste is more serious

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 and system for dynamically distributing embedded virtual memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The virtualized operating system in this embodiment is the Android 1.5 operating system, and the virtual hardware memory is 256MB.

[0024] First, set the virtual memory value of 256M in the virtual memory mapping module, and the virtual machine monitoring hardware value is 256M. Next, pre-allocate a fixed memory space of 128M for the operating system, and initialize the memory mapping table. The 128M memory space Locked as private space for virtual machines.

[0025] After the virtual machine is started, the real-time memory demand is dynamically monitored through the virtual machine memory monitoring module. If the allocated space is insufficient, it will be re-allocated with 32MB as the basic unit. For example, the allocated space is 128MB, and the real-time required memory space is 188MB. The new memory block is MOD((188-128) / 32)+1=2, then additional memory space needs to be allocated as two 32MB memory blocks, and the real-time required memory space is 92MB, then t...

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 discloses a method and a system for dynamically distributing an embedded virtual memory. By the method for dynamically distributing the memory, memory resource waste due to the conventional embedded virtual fixed memory distribution can be avoided effectively. The system comprises a memory management module, an embedded virtual machine memory monitoring module and an embedded virtual machine module, wherein the virtual machine memory monitoring module is used for monitoring a real-time memory requirement condition of an embedded system in real time; the memory management module is used for initializing memory distribution, establishing an initialized memory mapping table and updating the memory distribution and the memory mapping table in real time according to a monitoring situation of the virtual machine memory monitoring module; and the embedded virtual machine module is used for generating an embedded hardware virtual environment and running an embedded operating system, and performing various embedded applications on the embedded operating system.

Description

technical field [0001] The invention relates to the field of embedded virtualization. Background technique [0002] With the continuous increase of enterprise hardware costs, virtualization technology has made great progress due to its characteristics of cost reduction and security. However, embedded virtualization is still in its initial stage. Traditional embedded virtualization adopts a fixed memory allocation method, that is, If the virtual object needs 512M memory, it will allocate 512M memory in the host memory for the memory of the virtual object, regardless of the real-time memory requirements. In specific applications, although the maximum memory required by the virtual object is 512M, it does not mean that The 512M memory needs to be occupied all the time. Therefore, the method of allocating fixed memory space will lead to waste of memory. Further, for embedded virtualization, if a single host supports multiple embedded virtualization systems, the resulting memory ...

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/455G06F12/02
Inventor 程作仁杨霄鹏费晓峰
Owner SHANGHAI BAIHAN NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products