Method for output processing of trace logs of multi-kernel storage device and multi-kernel environment

A technology for output processing and storage devices, applied in the storage field, can solve problems such as inconvenience, need to wait for other Cores to release locks, and inconsistent management of tracelog records, and achieve the effects of reducing scheduling times, facilitating identification and classification, and improving utilization

Active Publication Date: 2015-03-25
RAMAXEL TECH SHENZHEN
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The above method has the following disadvantages: 1) When multiple cores write trace log records to the trace log record buffer at the same time, the lock must be acquired first, so it needs to wait for other Cores to release the lock; 2) In the task with the lowest priority When the Core performs trace log output, it needs to lock the trace l

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 output processing of trace logs of multi-kernel storage device and multi-kernel environment
  • Method for output processing of trace logs of multi-kernel storage device and multi-kernel environment
  • Method for output processing of trace logs of multi-kernel storage device and multi-kernel environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0041] see figure 1 , the present invention provides a multi-core storage device, the multi-core storage device 100 includes a log processing module 10, a cache configuration module 20, a log processing module 30 and a log output module 40, wherein:

[0042] The log processing module 10 is used to package the trace log data and add timestamp information when the trace log of each core is generated, and the timestamp information is used to identify the sequence of trace log records, and each trace log corresponds to A unique timestamp information.

[0043] corresponds to image 3 In Step1, the tr...

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 belongs to the technical field of storage and provides a method for output processing of trace logs in a multi-kernel environment. The method includes the steps that when the trace log of each kernel is generated, trace log data are packaged, and timestamp information is added and used for marking the sequence of trace log records; a lock-free circulation cache structure and a static cache structure are configured for each kernel and used for temporarily storing pointers of the corresponding trace log, and the corresponding trace log and a corresponding timestamp which are generated by the kernel; the timestamp information of the trace logs is acquired according to the pointers of the trace logs and the trace logs of the different static cache structures are ranked and processed according to the timestamp information; when a timer is interrupted, output processing is conducted on the trace logs. The invention further provides a multi-kernel storage device for achieving the method. Thus, cache operation and output operation can be conducted simultaneously, the number of dispatches is reduced, and the resource use rate is increased.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a multi-core storage device and a tracking log output processing method in a multi-core environment. Background technique [0002] Trace log (trace log) is one of the common user processes in the storage system. In the prior art, a trace log buffer is generally applied for in the storage area, and the trace log is written into the buffer during program execution, and finally a task with the lowest priority is responsible for the output of the trace log. [0003] The above method has the following disadvantages: 1) When multiple cores write trace log records to the trace log record buffer at the same time, they must first acquire the lock, so they need to wait for other Cores to release the lock; 2) When the task with the lowest priority is located When the Core performs trace log record output, it needs to lock the trace log record buffer to avoid inconsistency in trace log rec...

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): G06F12/08G06F17/30
Inventor 周大鹏
Owner RAMAXEL TECH SHENZHEN
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