Method and device for detecting multi-core CPU

A multi-core and kernel technology, applied in the computer field, can solve the problems of not reflecting the usage of the kernel, not being able to know the infinite loop in time, not being able to be discovered in time, etc.

Inactive Publication Date: 2017-02-15
NUBIA TECHNOLOGY CO LTD
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current solution for monitoring multi-core CPU usage is to monitor the average value of multi-core CPU usage, which cannot reflect the real usage of each core in a multi-core CPU.
When an infinite loop occurs in a core of a multi-core CPU, it cannot be detected in time
For example, in an 8-core CPU, if the usage rate of one of the cores has reached 100%, but the average usage rate of the 8-core CPU is only 12.5%, therefore, it is impossible to know the situation of the infinite loop in time

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 and device for detecting multi-core CPU
  • Method and device for detecting multi-core CPU
  • Method and device for detecting multi-core CPU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0043] A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself. Therefore, "module" and "component" may be used mixedly.

[0044] Mobile terminals may be implemented in various forms. For example, terminals described in the present invention may include devices such as mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), navigation devices, etc. mobile terminals and fixed terminals such as digital TVs, desktop c...

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 and device for detecting a multi-core CPU. The device comprises a monitoring module for monitoring usage rate of each core of the multi-core CPU and running time of each thread in the core; a detection module for detecting the core and thread in fault in the multi-core CPU according to the usage rate of each core of the multi-core CPU and running time of each thread in the core. Through the adoption of the method disclosed by the invention, each core in the multi-core CPU can be independently monitored so as to reflect the real usage condition of each core. In addition, the method comprises the steps of periodically scanning a thread stack of a server and analyzing a thread stack log to detect whether the thread with long running time exists, and then judging the running state of the multi-core CPU in combination with the usage condition of each core. Through the adoption of the method, the fault similar to endless loop in the multi-core CPU can be immediately and fast discovered, thereby immediately notifying a worker to solve the fault problem.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for detecting a multi-core CPU (Central Processing Unit, central processing unit). Background technique [0002] With the continuous development of computer technology, the number of cores used in the CPU continues to increase, and more and more multi-core CPUs are used in servers. However, the current solution for monitoring multi-core CPU usage is to monitor the average value of multi-core CPU usage, which cannot reflect the real usage of each core in the multi-core CPU. When an infinite loop occurs in a core of a multi-core CPU, it cannot be detected in time. For example, in an 8-core CPU, if the usage rate of one of the cores has reached 100%, but the average usage rate of the 8-core CPU is only 12.5%, therefore, the situation of the infinite loop cannot be known in time. Contents of the invention [0003] The main purpose of the present inve...

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/32G06F11/30
CPCG06F11/321G06F11/3024
Inventor 倪秉炬
Owner NUBIA TECHNOLOGY CO LTD
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