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

Load balancing method and device

A load balancing and garbage technology, applied in the computing field, can solve problems such as garbage collection performance degradation, and achieve the effect of improving performance and improving scalability

Active Publication Date: 2014-04-02
LOONGSON TECH CORP
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a load balancing method and device to solve the problem of reduced garbage collection performance caused by a large number of remote accesses of garbage collection in the NUMA architecture of the traditional load balancing technology, and improve the performance of garbage collection in the NUMA architecture

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
  • Load balancing method and device
  • Load balancing method and device
  • Load balancing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0033] figure 1 It is a flow chart of the load balancing method provided by the embodiment of the present invention. The load balancing method provided by the embodiment of the present invention is applied to a multiprocessor system including at least two nodes, such as figure 1 As shown, the method includes:

[0034] 101. The first garbage col...

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

An embodiment of the invention provides a load balancing method and device applied to a multi-processor system comprising at least two nodes. The method includes: a first garbage recycling thread judges the task queue of a second garbage recycling thread in a first node, the first garbage recycling tread is the garbage recycling thread with an empty task queue, the first garbage recycling thread belongs to the first node, and the second recycling thread is processed by different CPU cores in the same node; when the first garbage recycling thread determines that the task queue of the second recycling thread is not empty, objects are intercepted from the task queue of the second garbage recycling thread and added to the task queue of the first garbage recycling thread. By the load balancing method and device, load balancing flexibility is increased, and garbage recycling performance in an NUMA architecture is increased.

Description

technical field [0001] Embodiments of the present invention relate to computing technology, and in particular to a load balancing method and device. Background technique [0002] Non-Uniform Memory Access Architecture (NUMA for short) is a multi-processor (CPU) interconnect architecture technology. In the NUMA architecture, the CPU core of each node can access both the physical memory of the node (local memory) and the physical memory of other nodes (remote memory). [0003] During the execution of the application, if the application thread cannot continue to allocate new objects in the Java heap, the Java virtual machine will trigger the garbage collection thread to reclaim the memory that is no longer used, so that the subsequent memory allocation can proceed smoothly. Parallel garbage collection means that multiple garbage collection threads cooperate to complete garbage collection work in parallel. In the process of parallel garbage collection, the recovery pressure of...

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/46G06F9/50
Inventor 廖彬靳国杰高翔
Owner LOONGSON TECH 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