Method for improving performance of communication server by using memory pool

A technology of communication server and memory pool, which is applied in the direction of memory address/allocation/relocation, etc., which can solve the problems of time-consuming allocation and release of memory, slow running of applications, and great impact on efficiency, so as to avoid repeated application and destruction of memory Possibility, improved response speed, and improved performance

Inactive Publication Date: 2014-01-22
SHENZHEN NEW GREENNET TECH
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Dynamic memory management under the operating system is time-consuming and has a particularly large impact on efficiency. However, in the actual application process, it is inevitable to often use the memory in the heap
However, memory allocation through the malloc function or new function has inherent defects: (1) It takes a lot of time to allocate and release memory on the heap using the default memory management function; (2) As time goes by, the heap will form Many memory fragments will have a greater impact on the memory application operation of the application, causing the application to run slower and slower

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
  • Method for improving performance of communication server by using memory pool
  • Method for improving performance of communication server by using memory pool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention obtains the concurrent number of the server in the specified configuration file; applies for the memory space of the server to process the interactive message at one time according to the concurrent number, and realizes the application and destruction of the memory required by the communication server service request through the memory pool management method, thereby shortening the response of the communication server Time to improve server performance.

[0033] The effects of the present invention will be further described below through examples.

[0034] Such as figure 1 Shown, be an embodiment of the present invention:

[0035] Step 1 is to obtain the information of the concurrent number in the configuration file, that is, the initialization of the communication server before running.

[0036] Step 2 is to uniformly apply for memory space according to the number of concurrency and the size of the interactive document, that is, the initializati...

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 method for improving performance of a communication server by using a memory pool. The method comprises the steps that the number of concurrent processing of the communication server is obtained from a designated configuration file; a memory block for processing interaction messages of the communication server is applied for in a one-off mode according to the number of concurrent processing; memory is applied for and destroyed according to a service request of the communication server through the management method of the memory pool, so that the response time of the communication server is shortened, and the performance of the server is improved. The configuration file is based on the concurrent processing capability of the communication server. According to the method, the number of current processing is obtained according to the configuration file, the management mechanism of the memory pool is achieved, the response speed of the communication server is increased, the stability of the server is improved, and the service experience of a user or the loyalty index of the user for a service product is promoted.

Description

technical field [0001] The invention relates to the field of computer communication network technology and server technology, in particular to a method for improving the performance of a communication server by using a memory pool. Background technique [0002] A communication server refers to a high-performance computer that provides external business services to a management resource in a computer communication network. They listen to business requests from clients in the computer communication network, respond to and process the business requests, serve different businesses, and enrich network applications. Dynamic memory management under the operating system is time-consuming and has a particularly large impact on efficiency. However, in the actual application process, it is inevitable to often use the memory in the heap. However, memory allocation through the malloc function or new function has inherent defects: (1) It takes a lot of time to allocate and release memory...

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): G06F12/06
Inventor 张方玉
Owner SHENZHEN NEW GREENNET TECH
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