Operation system performance analysis method and device

An operating system and analysis method technology, applied in the computer field, can solve problems such as few other debugging methods, it is difficult to find the problem, and achieve the effect of improving quality and efficiency

Inactive Publication Date: 2011-04-06
北京以萨数据科技有限公司
View PDF2 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the development process, there are many ways to debug errors, but in the production environment, many unknown problems and emergencies will be encountered. In addition to conventional methods such as troubleshooting based on logs, there are generally few other debugging methods, especially when It is difficult to find out the problem when the operating system has a performance bottleneck and there is no error log

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
  • Operation system performance analysis method and device
  • Operation system performance analysis method and device
  • Operation system performance analysis method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] 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.

[0021] figure 1 It is a flowchart of an embodiment of the operating system performance analysis method of the present invention. As shown in the figure, the method includes the following steps:

[0022] Step 110, when a preset event of the operating system causes the performance counter in the CPU to overflow, triggering a non-maskable interrupt....

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 provides an operation system performance analysis method and device. The method comprises the following steps: when a preset event in an operation system enables a performance counter in a central processing unit (CPU) to overflow, triggering to generate non maskable interrupt (NMI); during the interruption period of the NMI, sampling progress parameter of the CPU to obtain samplingdata; according to a process identification in the sampling data, acquiring command information of the current progress corresponding to the process identification; according to the command information, carrying out classified statistic on the sampling data to obtain statistic information; and according to the statistic information, analyzing the performance of the operation system. In the invention, the progress parameter is sampled when the preset event happens to obtain the statistical information for analysis, so that factors causing performance bottlenecks can be known under the condition of no error log, thereby improving the quality and efficiency of the operation system performance analysis.

Description

technical field [0001] The invention relates to an operating system performance analysis method and device, belonging to the technical field of computers. Background technique [0002] With the continuous development of the Internet, the scale of network applications is gradually expanding. A complete network application system may consist of dozens of subsystems, and a complex subsystem may consist of millions of lines of code. The expansion of the application scale and the increase of the code volume make the operating system debugging more and more difficult. In the development process, there are many ways to debug errors, but in the production environment, many unknown problems and emergencies will be encountered. In addition to conventional methods such as troubleshooting based on logs, there are generally few other debugging methods, especially when When the operating system has a performance bottleneck and there is no error log, it is difficult to find out the probl...

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): G06F11/00
Inventor 石柱国余孟春谢清禄
Owner 北京以萨数据科技有限公司
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