Method and device for server IO (Input Output) diagnosis

A server and variance technology, applied in the server field, can solve problems such as reducing the efficiency of IO diagnosis, and achieve the effect of improving efficiency

Inactive Publication Date: 2015-02-04
HANGZHOU HUAWEI DIGITAL TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Reduced IO diagnostic efficiency due to time-consuming verification and troubleshooting of each factor one by one

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 server IO (Input Output) diagnosis
  • Method and device for server IO (Input Output) diagnosis
  • Method and device for server IO (Input Output) diagnosis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] The embodiment of the present invention provides a method for server IO diagnosis, such as figure 1 As shown, the method includes:

[0024] 101. Obtain the scheduling time period, storage device processing time period, and callback time period corresponding to the input and output bios of several blocks.

[0025] It is worth noting that the scheduling time period is the time for bio from the IO scheduling layer to the main driver, the storage device processing time period is the processing time of bio in the entire main driver, and the callback time period is the bio from the main driver to IO scheduling The time of the process of the layer.

[0026] 102. Calculate according to the scheduling time period, storage device processing time period, and callback time period corresponding to the several bios, and obtain the scheduling time period variance, the storage device processing time period variance, and the callback time period variance.

[0027] 103. Compare the var...

Embodiment 2

[0031] The method for server IO diagnosis provided by the embodiment of the present invention, such as figure 2 As shown, the method includes:

[0032] 201. Acquire the time when the IO scheduling layer receives each bio, and use the time when the IO scheduling layer receives each bio as respective first time values ​​corresponding to each bio.

[0033] Among them, bio is sent from the general block layer to the IO scheduling layer by the relevant instructions specified in the "submit_bio" function. It is worth noting that the embodiment of the present invention adds a printing function to this function to print the IO scheduling layer respectively. The system time of each bio is received, and this time is used as the first time value.

[0034] 202. Acquire the time when the main driver starts processing each bio, and use the time when the main driver starts processing each bio as the second time values ​​corresponding to each bio.

[0035] It is worth noting that in this s...

Embodiment 3

[0057] The present invention provides a server IO diagnosis method, which can be used in the following examples. This example introduces the specific method flow by taking the acquisition of 5 bios as an example. In this example, the first time value may be expressed as sub-time, the second time value may be expressed as dis-time, the third time value may be expressed as com-time, and the fourth time value may be expressed as end-time. The scheduling time period is expressed as sub-dis-time, the storage device processing time period is expressed as dis--com-time, and the callback time period is expressed as com-end-time. It is worth noting that here only changes the expression method of the time value and the name of the time period, and has no other practical significance. In addition, the first time value, the second time value, the third time value, and the fourth time value are the same as the relevant descriptions of steps 201-204 in Embodiment 2; the scheduling time per...

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 a device for server IO (Input Output) diagnosis, and relates to the technical field of servers, which achieves tracking of each bio processing procedure and can directly determine an IO path with a problem without removing influence factors one by one so as to improve the efficiency of IO diagnosis. The embodiment of the invention comprises the steps as follows: obtaining variances of scheduling time ranges, storage equipment processing time ranges and callback time ranges, which correspond to multiple bios by calculating; and comparing the obtained variances and determining the IO path with the problem according to a comparison result. The method and the device are mainly applied to the server IO diagnosis process.

Description

technical field [0001] The present invention relates to the technical field of servers, in particular to a method and device for diagnosing a server IO (English full name: Input / Output Chinese full name: Input / Output). Background technique [0002] The IO subsystem in the server system includes: hardware and software related to IO in the server device, and storage devices such as disk arrays connected to the server device. When there is a problem with the IO performance of the server, the technical solutions provided by the existing technology need to analyze factors such as the CPU, memory, business applications, storage devices connected to the server, and storage networking that may affect the IO performance of the server, and verify and eliminate them one by one. The influence of each factor until locating the IO path where the problem occurs. Since it takes a lot of time to verify and rule out each factor one by one, the IO diagnosis efficiency is reduced. Contents o...

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 Patents(China)
IPC IPC(8): G06F11/26
Inventor 钱天进晏臣
Owner HANGZHOU HUAWEI DIGITAL 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