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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com