Garbage recycling method and system in virtual environment

A virtual environment and garbage technology, applied in the field of garbage collection, can solve problems such as low memory utilization and increased response delay, and achieve the effect of improving memory utilization

Active Publication Date: 2011-11-09
IBM CORP
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Due to the unacceptable increase in response delay caused by the mark-and-clear method, and the traditional mark-copy method leads to low memory utilization (not exceeding 50%), and memory is a key scarce resource in a virtu

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
  • Garbage recycling method and system in virtual environment
  • Garbage recycling method and system in virtual environment
  • Garbage recycling method and system in virtual environment

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0023] The method and system for garbage collection in a virtualized environment according to an embodiment of the present invention will be described below with reference to the accompanying drawings to better understand the purpose and advantages of the present invention.

[0024] figure 1 A schematic diagram showing the architecture of a virtualized environment in which multiple virtual machines are deployed on the same physical machine according to an embodiment of the present invention. The virtualized environment includes a physical machine, a virtual machine manager (Hypervisor) and multiple virtual machines, where the virtual machine is a kind of Tightly isolated software container, which includes multiple guest operating systems (guest OS) and multiple applications running on each guest operating system. Multiple virtual machines with different operating systems can be independently paralleled on the same physical machine Run, so as to realize the resource sharing of a si...

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 garbage recycling method and system in a virtual environment. The virtual environment comprises a virtual machine manager, at least one client operating system and at least one application program running in each client operating system, wherein the application program is used for memory management based on a garbage recycling mechanism. The method comprises the following steps that: responding to an operating environment of the application program, a garbage recycler is started for recycling the garbage, and the garbage recycler requests the client operating system for allocating memory space; responding to receiving the request for allocating the memory space, the client operating system allocates the memory space for the garbage recycler; the garbage recycler marks live objects in an original memory space of the application program and copies the marked live objects to the allocated memory space; and the garbage recycler releases the original memory space of the application program to the client operating system.

Description

technical field [0001] The invention relates to garbage collection, in particular to a method and system for garbage collection in a virtualized environment. Background technique [0002] At present, virtualization technology has been widely used. Virtualization technology provides a way to accommodate multiple virtual machines (VMs) on a large server, which reduces the total cost of users and improves the reliability and flexibility of applications, thereby reducing the need for users to work on individual jobs. Load spikes (spikes) overprovide the possibility of computing resources. Moreover, virtualization technology helps to isolate important applications, so that different applications running on different virtual machines will not share the operating system, so fatal failures caused by applications will not affect applications in any other virtual machines. Virtualization technology is an important and basic technology in "Cloud Computing" technology. Worldwide, mor...

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
IPC IPC(8): G06F12/02G06F9/455
CPCG06F12/0253G06F9/45558G06F2009/45583
Inventor 李立田瑞雄刘亮王浩王庆波陈滢
Owner IBM CORP
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