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

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 virtualization platform. Therefore, a A garbage collection method that improves memory usage efficiency in a virtualized environment to meet the requirements of service request response time for long-running programs on the server side

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

Embodiment Construction

[0023] The purpose and advantages of the present invention will be better understood by describing a method and system for garbage collection in a virtualized environment according to an embodiment of the present invention in conjunction with the accompanying drawings.

[0024] figure 1 A schematic diagram showing a virtualization environment architecture in which multiple virtual machines are deployed on the same physical machine according to an embodiment of the present invention, the virtualization environment includes a physical machine, a virtual machine manager (Hypervisor) and multiple virtual machines, wherein the virtual machine is a Strictly 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 run independently and concurrently on the same physical machine Running, so as to realize the resource sharing of ...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products