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

Lock competition analysis method and device

An analysis method and equipment technology, applied in the computer field, can solve problems such as fierce lock competition, and achieve the effect of quickly locating the bottleneck

Inactive Publication Date: 2017-12-26
ALIBABA GRP HLDG LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] An object of the present invention is to provide a method and device for analyzing lock competition, which can solve the problem of how to determine which locks are most competitive, and mainly which interface calls cause these locks to be highly competitive

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
  • Lock competition analysis method and device
  • Lock competition analysis method and device
  • Lock competition analysis method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0044] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.

[0045] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0046] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static rando...

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 objective of the invention is to provide a lock competition analysis method and device. The lock competition analysis method includes acquiring a lock operation record of a port; and determining the port competition condition of each lock according to the lock operation record of the port. Port calling and all the locks are associated, it is acquired which lock competitions are fiercest according to the port competition condition of each lock, and these competitions are caused by which port calling. The lock competition analysis method and device can rapidly position which lock competitions are fiercest and which port calling is influenced greatly by the lock competitions in a large complex C / C++ background system, can rapidly position a bottleneck, and can indicate a direction for later performance.

Description

technical field [0001] The invention relates to the field of computers, in particular to an analysis method and equipment for lock competition. Background technique [0002] In large-scale C / C++ background systems, multiple interfaces are usually provided externally, and a large number of locks are used internally. During the stress test, it will be found that frequent lock competition seriously affects performance. How to determine which lock competition is the most intense, and which interface calls mainly cause these lock competition are the premise and goal of performance optimization work, but this It is also a very difficult problem. The usual solution is for developers to read the code to analyze in detail and speculate on locks that may be highly competitive. Developers are required to be very familiar with business logic and have an in-depth understanding of details such as time-consuming code execution. The whole process is time-consuming and difficult. control. ...

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/52
CPCG06F9/524
Inventor 吴均平
Owner ALIBABA GRP HLDG LTD
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