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

Load balancing software architecture based on multi-core platform and method therefor

A technology of load balancing and software architecture, which is applied in the direction of electrical components, various digital computer combinations, transmission systems, etc., can solve the problems of performance degradation and interlocking performance degradation between threads, so as to reduce loss, improve load balancing performance, Avoid the effect of competition

Active Publication Date: 2010-01-20
ARRAY NETWORKS BEIJING
View PDF0 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But how to distribute the operation of single-core CPU to multi-core CPU and effectively parallelize computing has become a new problem.
A general consensus has been obtained in the past experience of multi-thread computing, that is, all threads will access the same data structure, so that interlocking between threads will cause performance degradation
For a load balancing device, this performance degradation would be catastrophic

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 software architecture based on multi-core platform and method therefor
  • Load balancing software architecture based on multi-core platform and method therefor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0013] like figure 1 As shown, the load balancing software architecture of the present invention includes the following three parts:

[0014] 1. The multi-core platform and load balancing device are used as architectural components, and a kernel thread (hereinafter referred to as thread) is initialized for each network card on the load balancing device as the soft interrupt routine of the network card, and each handles the input and processing of the corresponding network card. At the same time, all kernel threads are independent, that is, an independent software operating environment is established for each thread, and there is no mutual interference with other threads in the running state, and it will not interrupt other threads to obtain data, nor will it be interrupted by other threads. Threads are interrupted at will.

[0015] 2. Establish an i...

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 relates to a load balancing software architecture based on a multi-core platform and a method therefor, comprising the following content: 1) the multi-core platform and load balancing equipment are taken as framework elements, and a kernel thread is initialized for every network card on the load balancing equipment to be taken as the soft interruption routine of the network card; the kernel threads respectively process input and output of the corresponding network cards, and the kernel threads are independent; 2) an independent channel is set up for the information exchange between every two network card threads, and a group of bidirectional ring-shaped arrays can be set up in each channel and taken as a coupler between the multi-core platform and load balancing equipment; the ring-shaped arrays can maintain a writing point and a reading point and are respectively operated by two threads, so that the information exchange between the threads is not needed to be locked; 3) routing policy of balanced load of a server can be realized in the soft interruption routine of the input of the network card, and all work of an application layer is executed in a link layer. The multithreading lockless software architecture is adopted to realize the balanced load of the server; furthermore, the practice proves that the invention can remarkably improve the performance of the load balancing equipment.

Description

technical field [0001] The present invention relates to a load balancing software architecture and method, in particular to a multi-core platform-based load balancing software architecture and method applied in network load balancing. Background technique [0002] After the 1970s, thanks to the development of semiconductor technology, the cost of computers continued to decrease, and more and more people began to use computers, followed by the interaction of massive information. As the main carrier of information exchange, the network must also meet higher requirements, such as faster response time and greater traffic. Server clusters are introduced when a single server cannot fulfill a user's request. But the server cluster does not really solve the problem, but transfers the problem to the central device in the server cluster—the load balancing device. Load balancing devices are often located at the edge of the network, and are responsible for distributing user requests t...

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): H04L29/08G06F15/16
Inventor 吴英明张立德柴卓原吉岭张雯宇
Owner ARRAY NETWORKS BEIJING
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