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

Balanced segmentation strategy of user mode protocol stack for external load process

An external load and load balancing technology, applied in resource allocation, program control design, multi-program device, etc., can solve the problem that it is difficult to achieve the packet receiving rate of network card hardware equipment

Pending Publication Date: 2020-05-12
SHANGHAI JIAO TONG UNIV
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the past two decades, the processing rate of network input and output of the kernel network protocol stack has been difficult to achieve the packet receiving rate of network card hardware devices with rapidly improved performance due to memory copy overhead, context switching overhead, kernel data processing, and queue delay.

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
  • Balanced segmentation strategy of user mode protocol stack for external load process
  • Balanced segmentation strategy of user mode protocol stack for external load process
  • Balanced segmentation strategy of user mode protocol stack for external load process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following describes several preferred embodiments of the present invention with reference to the accompanying drawings, so as to make the technical content clearer and easier to understand. The present invention can be embodied in many different forms of embodiments, and the protection scope of the present invention is not limited to the embodiments mentioned herein.

[0027] Such as figure 1 As shown, because the service model of the user mode protocol stack implemented by the VPP project conforms to the separation model of application and protocol stack functions, and provides a complete network protocol stack service for external multi-process applications, such as the network server NGINX. Therefore, this embodiment implements a load process balancing and splitting strategy based on the VPP framework. in figure 1 It is a model diagram of the separation of application and protocol stack functions. As a multi-threaded protocol stack, VPP provides complete protoc...

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 balanced segmentation strategy of a user mode protocol stack for an external load process, relates to the field of network processing, and discloses a strategy for balancingand segmenting a load application process based on a multi-thread user mode protocol stack so as to reduce a load competition relationship between load protocol stack threads. The implementation of the strategy is divided into two steps: step A, distributing load processes to different service threads in a balanced manner according to an initial network flow; and B, enabling the service thread toobtain a private load process table based on the load process distribution result in the first step, and enabling the service thread to select a load process from the private load process table for asubsequently received network flow. By using the balanced partitioning strategy, the resource competition expenditure introduced by sharing the load process can be removed, and meanwhile, the number of load processes of a single service thread is reduced, so that the cache miss times caused by loading excessive load data are reduced.

Description

technical field [0001] The invention relates to the field of computer network service stacks, in particular to a strategy for balancing and splitting external load processes by user state protocol stacks. Background technique [0002] In the past two decades, the processing rate of network input and output of the kernel network protocol stack has been difficult to achieve the packet receiving rate of network card hardware devices with rapidly improved performance due to memory copy overhead, context switching overhead, kernel data processing, and queue delay. Therefore, many studies have directly implemented the data plane for processing network packets in the user space, eliminating the upper-write switching overhead and kernel data processing and queue delays by bypassing the kernel, and reducing the development difficulty of the network protocol stack. [0003] The processing model of the user mode network protocol stack can be divided into 1) application and protocol sta...

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): G06F9/50
CPCG06F9/505G06F9/5038
Inventor 李健孙国傲管海兵孙晓鹏杨震旦
Owner SHANGHAI JIAO TONG UNIV
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