CN109542704A - A kind of I/O request method for tracing, device and relevant device - Google Patents

A kind of I/O request method for tracing, device and relevant device Download PDF

Info

Publication number
CN109542704A
CN109542704A CN201811407426.3A CN201811407426A CN109542704A CN 109542704 A CN109542704 A CN 109542704A CN 201811407426 A CN201811407426 A CN 201811407426A CN 109542704 A CN109542704 A CN 109542704A
Authority
CN
China
Prior art keywords
request
ready
information
tracing
getting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201811407426.3A
Other languages
Chinese (zh)
Inventor
穆向东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811407426.3A priority Critical patent/CN109542704A/en
Publication of CN109542704A publication Critical patent/CN109542704A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application discloses a kind of I/O request method for tracing, including when receiving I/O request, position the location information of the I/O request in real time;Judge whether the I/O request reaches predeterminated position according to the positional information;If so, getting ready the I/O request, information is got in acquisition ready;By it is described get ready information be sent to display equipment show;The I/O request method for tracing realizes the tracking to I/O request in system, while guaranteeing I/O request failure problems precise positioning, improves location efficiency;Disclosed herein as well is a kind of I/O request follow-up mechanism, equipment, distributed memory system and computer readable storage mediums, it may have above-mentioned beneficial effect.

Description

A kind of I/O request method for tracing, device and relevant device
Technical field
This application involves the information communications field, in particular to a kind of I/O request method for tracing further relates to a kind of I/O request and chases after Track device, equipment, distributed memory system and computer readable storage medium.
Background technique
In distributed memory system, a request of data of external computer system accesses storage system is known as one I/O request (input output, input/output request).
It is sent to the I/O request of storage system for user rs host, needs by a series of processing operation, it just can be by this I/O request is applied on disk, and further, acquisition corresponding data again passes by series of steps and is back to client master from disk Machine.In the operating path of the above I/O request, various exceptions may can occur in some module, so that I/O request is at certain Occurs the case where blocking or going around in a processing module, if there is no I/O request tracer technique in daily exploitation, it will be difficult to which positioning is deposited The problems in storage system exploitation, such as can not determine the stuck position of I/O request, failure cause.
In prior art, it will usually which the mode of usage log finds and determines in the development process of distributed cluster system Position problem, that is, a log is printed at certain line code, the problem in system is carried out finally by trace log Comprehensive analysis.However, entirety when log belongs to system operation records, storage information redundancy is complicated, and filtration difficulty is therein Content is recorded in addition to the information such as I/O request processing delay, also will record other indicative information, individual process modules it is important The information such as movement, some important I/O request paths.Therefore, the positioning that I/O request failure problems are realized by log approach, then need The information such as I/O request time delay is fished in a large amount of log informations, is blocked, cause it to analyze treatment effeciency low and be easy to malfunction.
Therefore, how to realize the tracking to I/O request, to further realize the precise positioning to its failure problems, and improve Location efficiency is those skilled in the art's urgent problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of I/O request method for tracing, which realizes to IO in system The tracking of request improves location efficiency while guaranteeing I/O request failure problems precise positioning;The another object of the application It is to provide a kind of I/O request follow-up mechanism, equipment, distributed memory system and computer readable storage medium, it may have above-mentioned Beneficial effect.
In order to solve the above technical problems, this application provides a kind of I/O request method for tracing, the I/O request method for tracing Include:
When receiving I/O request, the location information of the I/O request is positioned in real time;
Judge whether the I/O request reaches predeterminated position according to the positional information;
If so, getting ready the I/O request, information is got in acquisition ready;
By it is described get ready information be sent to display equipment show.
Preferably, described to get ready the I/O request, acquisition is got ready after information, further includes:
Determine that the I/O request reaches the time of the predeterminated position according to the information of getting ready;
Judge whether the time exceeds preset time;
If so, execution is described to be sent to the step of display equipment is shown for the information of getting ready.
Preferably, it is described get ready information be it is multiple, then it is described that the I/O request is got ready, acquisition get ready information it Afterwards, further includes:
Each information of getting ready is counted, I/O request overall delay is obtained;
Judge whether the overall delay exceeds default time delay;
If so, execution is described to be sent to the step of display equipment is shown for the information of getting ready.
Preferably, the I/O request method for tracing further include:
By the information preservation of getting ready to journal file.
Preferably, described to include: by information preservation to the journal file of getting ready
Recorded in the form of chained list it is all it is described get information ready, and the chained list is saved to the journal file.
In order to solve the above technical problems, this application provides a kind of I/O request follow-up mechanism, the I/O request follow-up mechanism Include:
Locating module, for positioning the location information of the I/O request in real time when receiving I/O request;
Judgment module, for judging whether the I/O request reaches predeterminated position according to the positional information;
It gets module ready, if reaching the predeterminated position for the I/O request, the I/O request is got ready, obtain Get information ready;
Output module, for by it is described get ready information be sent to display equipment show.
Preferably, the I/O request follow-up mechanism further include:
Preserving module, for by the information preservation of getting ready to journal file.
In order to solve the above technical problems, this application provides a kind of I/O request tracing equipment, the I/O request tracing equipment Include:
Memory, for storing computer program;
Processor, the step of any one of the above I/O request method for tracing is realized when for executing the computer program.
In order to solve the above technical problems, this application provides a kind of distributed memory system, the distributed memory system Include:
User rs host, for sending I/O request;
I/O request tracing equipment as described above, for receiving the I/O request, and it is above-mentioned according to I/O request realization The step of any one I/O request method for tracing.
In order to solve the above technical problems, this application provides a kind of computer readable storage medium, it is described computer-readable Computer program is stored on storage medium, the computer program realizes any one of the above I/O request when being executed by processor The step of method for tracing.
A kind of I/O request method for tracing provided herein, including when receiving I/O request, the IO is positioned in real time The location information of request;Judge whether the I/O request reaches predeterminated position according to the positional information;If so, to the IO Request is got ready, and information is got in acquisition ready;By it is described get ready information be sent to display equipment show.
As it can be seen that I/O request method for tracing provided herein, it can be according to actual needs in advance on the transmission road of I/O request Position is got in setting ready in diameter, real-time location tracking is carried out to it when receiving I/O request, when I/O request is run to preset It is got ready when getting position ready, acquisition is got information ready and exported accordingly.It can be understood intuitively by getting information ready as a result, Understanding I/O request which module run how long, when I/O request occur when be delayed, can hold very much according to information is got ready Easily accurately determine that the position of time delay occurs for I/O request, to orient I/O request abort situation, without in journal file into Row is searched, and is effectively raised the analysis efficiency of I/O request delay data, is further improved the diagnosis efficiency of system problem;This Outside, this kind of IO method for tracing is dynamically adapted time delay record point, that is, gets position ready, effectively improves algorithm and realizes efficiency, improves The exploitation performance and O&M efficiency of distributed system, improves the ease for use of distributed memory system.
It a kind of I/O request follow-up mechanism provided herein, equipment, distributed memory system and computer-readable deposits Storage media, it may have above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of I/O request method for tracing provided herein;
Fig. 2 is a kind of flow diagram for getting information saving method ready provided herein;
Fig. 3 is the flow diagram of another I/O request method for tracing provided herein;
Fig. 4 is the flow diagram of another I/O request method for tracing provided herein;
Fig. 5 is that a kind of I/O request provided herein tracks path profile;
Fig. 6 is a kind of structural schematic diagram of I/O request follow-up mechanism provided herein;
Fig. 7 is a kind of structural schematic diagram of I/O request tracing equipment provided herein;
Fig. 8 is a kind of structural schematic diagram of distributed memory system provided herein.
Specific embodiment
The core of the application is to provide a kind of I/O request method for tracing, which realizes to IO in system The tracking of request improves location efficiency while guaranteeing I/O request failure problems precise positioning;Another core of the application It is to provide a kind of I/O request follow-up mechanism, equipment, distributed memory system and computer readable storage medium, it may have above-mentioned Beneficial effect.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
In prior art, the positioning of I/O request failure problems is realized by log approach, needs to believe in a large amount of log The information such as I/O request time delay is fished in breath, is blocked, cause it to analyze treatment effeciency low and be easy to malfunction.Therefore, on to solve Problem is stated, this application provides a kind of I/O request method for tracing, and the method achieve the trackings to I/O request in system, are guaranteeing While I/O request failure problems precise positioning, location efficiency is improved.
Referring to FIG. 1, Fig. 1 is a kind of flow diagram of I/O request method for tracing provided herein, the I/O request Method for tracing may include:
S101: when receiving I/O request, the location information of I/O request is positioned in real time;
Specifically, some memory node in system receives I/O request, it, can be right when realizing corresponding data processing The location information of the I/O request is positioned in real time, i.e., storage system once receives I/O request, then immediately to its location information It is positioned.
Wherein, for above-mentioned I/O request, client (user rs host) can be based on by client and is issued based on actual demand, It can also be automated toed respond under certain trigger conditions, such as clocked flip, the application do not limit this.
Wherein, for above-mentioned location information, to the entire of return client since storage system receives the I/O request In each data processing module passed through in transmission process is included in.
S102: judge whether I/O request reaches predeterminated position according to location information;If so, executing S103;If it is not, then returning Return S101;
Specifically, it is default can to judge whether I/O request reaches according to acquired location information on the basis of S101 Position then returns to S101 and continues to position it in real time when I/O request does not reach predeterminated position, until reaching predeterminated position Until, when reaching predeterminated position, step can be got ready into subsequent.
Wherein, above-mentioned predeterminated position is the preset position for needing to get ready, and quantity is not unique, can be more It is a, to correspond to each data processing module inside the storage system passed through needed for it.It, can be by technology for its specific location Personnel carry out customized setting according to actual demand, for example, in the transmission process of an I/O request, need by receiving, Enqueue, dequeue initially enter disk, enter that disk finishes, data processing, data processing finish, initially go out disk, to go out disk complete Therefore these positions can be set to above-mentioned predeterminated position by the processes such as finishing and return, subsequent get operation ready to realize. Certainly, the above predeterminated position is only a kind of implementation provided herein, not uniquely.
S103: getting I/O request ready, and information is got in acquisition ready;
Specifically, this step is intended to carry out it in the predeterminated position when determining that I/O request reaches predeterminated position It gets ready, acquisition is corresponding to get information ready.Wherein, it is when corresponding I/O request reaches above-mentioned each predeterminated position that this, which gets information ready, Temporal information.Certainly, it is checked for the later period convenient for technical staff and analysis processing, specific included content is not limited to This, can also include the relevant information of the I/O request, such as concrete type.
In addition, the I/O request relatively simple for data processing, required transmission time may be shorter, therefore, it is The accuracy for guaranteeing dotting time, can be accurate to Millisecond for dotting time.
S104: will get ready information be sent to display equipment show.
Specifically, this step aims at the display to information is got ready, in order to which checking for technical staff is analyzed with data, Therefore, it will directly get information ready and be sent to corresponding display equipment, such as the display screen of user rs host is shown.When So, concrete type selected by above-mentioned display equipment, has no effect on the implementation of the technical program.
In addition, being particularly shown content for display equipment, this application provides a kind of more specific display modes, i.e., Corresponding display is carried out in the form of I/O request-request type-predeterminated position-dotting time, easily facilitates technical staff's progress Later period checks and analyzes.
As a kind of preferred embodiment, which can also include that will get information preservation ready to log text Part.
Each information of getting ready of I/O request is saved specifically, this step aims at, can specifically pass through log text The form of part is saved, and is easily facilitated later period technical staff and is compared and analyzed.
Preferably, above-mentioned information preservation to the journal file that will get ready may include recording all to get letter ready in the form of chained list Breath, and chained list is saved to journal file.
Specifically, this application provides a kind of store methods for more specifically getting information ready, i.e., in the form of chained list into Row record saves, which is saved to journal file.For example, can refer to Fig. 2, Fig. 2 is that one kind provided herein is got ready The flow diagram of information saving method, specifically, gauge outfit is set as I/O request, get ready information include preset position information and Its corresponding dotting time information, wherein dotting time information is the time got ready acquired in system, preset position information As the character string that is passed in advance of user or function name, the I/O request get information ready with it and can keep being associated in memory.
I/O request method for tracing provided herein can be set in the transmission path of I/O request in advance according to actual needs It sets and gets position ready, real-time location tracking is carried out to it when receiving I/O request, get position ready when I/O request is run to preset It is got ready when setting, acquisition is got information ready and exported accordingly.It can clearly be got information about by getting information ready as a result, I/O request which module run how long, when I/O request occur when be delayed, can be easy to accurately according to information is got ready Determination I/O request the position of time delay occurs, to orient I/O request abort situation, without being searched in journal file, The analysis efficiency for effectively raising I/O request delay data further improves the diagnosis efficiency of system problem;In addition, this kind IO method for tracing is dynamically adapted time delay record point, that is, gets position ready, effectively improves algorithm and realizes efficiency, improves distribution The exploitation performance and O&M efficiency of system, improve the ease for use of distributed memory system.
On the basis of the above embodiments, referring to FIG. 3, Fig. 3 is another I/O request tracking side provided herein The flow diagram of method.
It is above-mentioned that I/O request is got ready as a kind of preferred embodiment, after information is got in acquisition ready, can also include:
S204: determine that I/O request reaches the time of predeterminated position according to information is got ready;
S205: judge whether the time exceeds preset time;If so, executing S206;If it is not, then returning to S201;
S206: will get ready information be sent to display equipment show;
S201: the location information of positioning I/O request in real time.
Specifically, every I/O request is in each data processing module of internal system in the normal course of operation of system Required transmission time has its corresponding normal time, i.e., in trouble-proof situation, within normal time, Its corresponding I/O request can handle in some data processing module to be finished, if within normal time, certain I/O request is not disposed in a certain data processing module, namely and got ready within normal time, then illustrate this I/O request such as is gone around or is blocked in the data processing module at the failure problems, and therefore, this step aims at will be at certain The I/O request to break down in a data processing module carries out output and shows, the I/O request of normal operation is ignored, by This, technical staff can find out at a glance where some failure I/O request there is a problem based on display content, further increase Fault location efficiency.
Specifically, corresponding preset time can be arranged to each predeterminated position, correspond to above-mentioned normal time, when IO is asked Ask and reach after the completion of a certain predeterminated position gets ready, can be got ready according to it information determine the I/O request reach the predeterminated position when Between, i.e. the I/O request is from the time required for a upper predeterminated position to current preset position;Further, judge whether the time surpasses The corresponding preset time of the predeterminated position out, if illustrating this I/O request in the data processing module without departing from preset time It does not break down, continues to position it in real time at this time, judgement is continued to subsequent predeterminated position;If super Preset time is gone out, has then illustrated that failure has occurred in the I/O request in the data processing module, has carried out output at this time and show.
It wherein, can be poor according to the different progress of predeterminated position by technical staff for the specific value of above-mentioned preset time Opposite sex setting, the application do not do unique restriction to this.
For other realization steps of the embodiment of the present application, referring to a upper embodiment, details are not described herein by the application.
I/O request method for tracing provided by the embodiment of the present application exports the I/O request to break down, and can show Failure I/O request is shown specifically to break down in which data processing module, the realization of fault location is easily facilitated, further mentions The high breakdown maintenance efficiency of fault location efficiency and later period.
On the basis of the various embodiments described above, referring to FIG. 4, Fig. 4 is that another I/O request provided herein is tracked The flow diagram of method.
As a kind of preferred embodiment, it is above-mentioned get ready information be it is multiple, then it is above-mentioned that I/O request is got ready, got ready After information, can also include:
S304: counting each information of getting ready, obtains I/O request overall delay;
S305: judge whether overall delay exceeds default time delay;If so, executing S306;If it is not, then returning to S301;
S306: will get ready information be sent to display equipment show;
S301: the location information of positioning I/O request in real time.
Specifically, every I/O request has from the time required for return is received in the normal course of operation of system Its corresponding normal time delay, i.e., in trouble-proof situation, in normal time delay range, corresponding I/O request is can be with It is disposed, if certain I/O request is not disposed, namely does not return in normal time delay range, then explanation should I/O request such as is gone around or is blocked at the failure problems, and therefore, this step, which aims at, carries out the I/O request to break down Output display, ignores the I/O request of normal operation, effectively prevents technical staff's picking event from numerous I/O requests The time that barrier I/O request is wasted, further improve fault location efficiency.
Specifically, include the temporal information that I/O request reaches each predeterminated position due to getting information ready, it can basis It is each get ready information carry out time statistics, with obtain the I/O request it is required in the entire transmission process of internal system when Between, i.e., above-mentioned overall delay, for example, system can determine the overall delay according to the receiving time and time of return of the I/O request;Into one Step, judges whether the overall delay exceeds default time delay, corresponds to above-mentioned default time delay.If illustrating this beyond default time delay Failure has occurred in I/O request, executes S306 at this time and is shown;If illustrating this I/O request simultaneously without departing from default time delay It does not break down, restarts to position in real time at this point, receiving next I/O request.
It wherein, can be by technical staff according to I/O request type, the difference of content for the specific value of above-mentioned default time delay Otherness setting is carried out, the application does not do unique restriction to this.
For other realization steps of the embodiment of the present application, referring to a upper embodiment, details are not described herein by the application.
I/O request method for tracing provided by the embodiment of the present application only can carry out positioning to the I/O request to break down and chase after Track further improves the location efficiency of failure I/O request, easily facilitates checking and analyzing for technical staff, to improve and be System breakdown maintenance efficiency, ensure that the normal operation of system.
On the basis of above-mentioned each embodiment, this application provides a kind of more specifically I/O request method for tracing, ask With reference to Fig. 5, Fig. 5 is that a kind of I/O request provided herein tracks path profile.
Firstly, user rs host issues I/O request to storage system, storage system starts to get ready after receiving I/O request, It is preset to get position ready, i.e., above-mentioned predeterminated position can include: receive I/O request and get ready, got ready into queue, at dequeue Reason is got ready, is sent to that rear end disk is got ready, data processing is finished and got ready, returns to I/O request and gets ready;Further, this is counted The overall delay of I/O request, to judge whether the overall delay exceeds preset threshold, i.e., above-mentioned default time delay, to determine this I/O request Whether it is abnormal, if carry out output display and log preservation etc.;Finally, the I/O request is back to by storage system User rs host completes the tracking for this I/O request transmission path.
I/O request method for tracing provided by the embodiment of the present application, can be according to actual needs in advance on the transmission road of I/O request Position is got in setting ready in diameter, real-time location tracking is carried out to it when receiving I/O request, when I/O request is run to preset It is got ready when getting position ready, acquisition is got information ready and exported accordingly.It can be understood intuitively by getting information ready as a result, Understanding I/O request which module run how long, when I/O request occur when be delayed, can hold very much according to information is got ready Easily accurately determine that the position of time delay occurs for I/O request, to orient I/O request abort situation, without in journal file into Row is searched, and is effectively raised the analysis efficiency of I/O request delay data, is further improved the diagnosis efficiency of system problem;This Outside, this kind of IO method for tracing is dynamically adapted time delay record point, that is, gets position ready, effectively improves algorithm and realizes efficiency, improves The exploitation performance and O&M efficiency of distributed system, improves the ease for use of distributed memory system.
To solve the above problems, referring to FIG. 6, Fig. 6 is a kind of structure of I/O request follow-up mechanism provided herein Schematic diagram, the I/O request follow-up mechanism can include:
Locating module 1, for positioning the location information of I/O request in real time when receiving I/O request;
Judgment module 2, for judging whether I/O request reaches predeterminated position according to location information;
It gets module 3 ready, if reaching predeterminated position for I/O request, I/O request is got ready, information is got in acquisition ready;
Output module 4, for will get ready information be sent to display equipment show.
As a kind of preferred embodiment, which may also include that
Time judgment module gets information ready for basis and determines that I/O request reaches the time of predeterminated position;Judging the time is It is no to exceed preset time;If so, into above-mentioned output module 4.
As a kind of preferred embodiment, which may also include that
Time delay judgment module obtains I/O request overall delay for counting to each information of getting ready;Judging overall delay is It is no to exceed default time delay;If so, into above-mentioned output module 4.
As a kind of preferred embodiment, which may also include that
Preserving module, for information preservation will to be got ready to journal file.
As a kind of preferred embodiment, above-mentioned preserving module be specifically used for recorded in the form of chained list it is all get information ready, And chained list is saved to journal file.
Above method embodiment is please referred to for the introduction of device provided by the present application, this will not be repeated here by the application.
To solve the above problems, referring to FIG. 7, Fig. 7 is a kind of structure of I/O request tracing equipment provided herein Schematic diagram, the I/O request tracing equipment can include:
Memory 11, for storing computer program;
Processor 12 can realize following steps when for executing computer program:
When receiving I/O request, the location information of I/O request is positioned in real time;Whether I/O request is judged according to location information Reach predeterminated position;If so, getting ready I/O request, information is got in acquisition ready;To get ready information be sent to display equipment into Row display.
Above method embodiment is please referred to for the introduction of equipment provided by the present application, this will not be repeated here by the application.
To solve the above problems, referring to FIG. 8, Fig. 8 is a kind of structure of distributed memory system provided herein Schematic diagram, the distributed memory system can include:
User rs host 20, for sending I/O request;
I/O request tracing equipment 10 as described above, can realize following steps for receiving I/O request, and according to I/O request:
When receiving I/O request, the location information of I/O request is positioned in real time;Whether I/O request is judged according to location information Reach predeterminated position;If so, getting ready I/O request, information is got in acquisition ready;To get ready information be sent to display equipment into Row display.
Above method embodiment is please referred to for the introduction of system provided by the present application, this will not be repeated here by the application.
To solve the above problems, present invention also provides a kind of computer readable storage medium, the computer-readable storage It is stored with computer program on medium, can be realized when computer program is executed by processor following rapid:
When receiving I/O request, the location information of I/O request is positioned in real time;Whether I/O request is judged according to location information Reach predeterminated position;If so, getting ready I/O request, information is got in acquisition ready;To get ready information be sent to display equipment into Row display.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the present application, the application exists This is not repeated them here.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Above to I/O request method for tracing, device, equipment, distributed memory system and computer provided herein Readable storage medium storing program for executing is described in detail.Specific case used herein carries out the principle and embodiment of the application It illustrates, the description of the example is only used to help understand the method for the present application and its core ideas.It should be pointed out that for this For the those of ordinary skill of technical field, under the premise of not departing from the application principle, the application can also be carried out several Improvement and modification, these improvement and modification also fall into the protection scope element of the claim of this application.

Claims (10)

1. a kind of I/O request method for tracing characterized by comprising
When receiving I/O request, the location information of the I/O request is positioned in real time;
Judge whether the I/O request reaches predeterminated position according to the positional information;
If so, getting ready the I/O request, information is got in acquisition ready;
By it is described get ready information be sent to display equipment show.
2. I/O request method for tracing as described in claim 1, which is characterized in that it is described that the I/O request is got ready, it obtains After must getting information ready, further includes:
Determine that the I/O request reaches the time of the predeterminated position according to the information of getting ready;
Judge whether the time exceeds preset time;
If so, execution is described to be sent to the step of display equipment is shown for the information of getting ready.
3. I/O request method for tracing as described in claim 1, which is characterized in that it is described get ready information be it is multiple, then it is described right The I/O request is got ready, and acquisition is got ready after information, further includes:
Each information of getting ready is counted, I/O request overall delay is obtained;
Judge whether the overall delay exceeds default time delay;
If so, execution is described to be sent to the step of display equipment is shown for the information of getting ready.
4. I/O request method for tracing as described in claim 1, which is characterized in that further include:
By the information preservation of getting ready to journal file.
5. I/O request method for tracing as claimed in claim 4, which is characterized in that it is described by the information preservation of getting ready to log File includes:
Recorded in the form of chained list it is all it is described get information ready, and the chained list is saved to the journal file.
6. a kind of I/O request follow-up mechanism characterized by comprising
Locating module, for positioning the location information of the I/O request in real time when receiving I/O request;
Judgment module, for judging whether the I/O request reaches predeterminated position according to the positional information;
It gets module ready, if reaching the predeterminated position for the I/O request, the I/O request is got ready, is got ready Information;
Output module, for by it is described get ready information be sent to display equipment show.
7. I/O request follow-up mechanism as claimed in claim 6, which is characterized in that further include:
Preserving module, for by the information preservation of getting ready to journal file.
8. a kind of I/O request tracing equipment characterized by comprising
Memory, for storing computer program;
Processor realizes the I/O request tracking as described in claim 1 to 5 any one when for executing the computer program The step of method.
9. a kind of distributed memory system characterized by comprising
User rs host, for sending I/O request;
I/O request tracing equipment as claimed in claim 8 is realized such as receiving the I/O request, and according to the I/O request Described in claim 1 to 5 any one the step of I/O request method for tracing.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the I/O request tracking side as described in claim 1 to 5 any one when the computer program is executed by processor The step of method.
CN201811407426.3A 2018-11-23 2018-11-23 A kind of I/O request method for tracing, device and relevant device Withdrawn CN109542704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811407426.3A CN109542704A (en) 2018-11-23 2018-11-23 A kind of I/O request method for tracing, device and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811407426.3A CN109542704A (en) 2018-11-23 2018-11-23 A kind of I/O request method for tracing, device and relevant device

Publications (1)

Publication Number Publication Date
CN109542704A true CN109542704A (en) 2019-03-29

Family

ID=65849427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811407426.3A Withdrawn CN109542704A (en) 2018-11-23 2018-11-23 A kind of I/O request method for tracing, device and relevant device

Country Status (1)

Country Link
CN (1) CN109542704A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116860858A (en) * 2023-09-01 2023-10-10 北京四维纵横数据技术有限公司 IO tracking method, device, equipment and medium for database operation level
WO2024169539A1 (en) * 2023-02-16 2024-08-22 中兴通讯股份有限公司 Statistical method and apparatus for io delay, and storage medium and electronic apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024169539A1 (en) * 2023-02-16 2024-08-22 中兴通讯股份有限公司 Statistical method and apparatus for io delay, and storage medium and electronic apparatus
CN116860858A (en) * 2023-09-01 2023-10-10 北京四维纵横数据技术有限公司 IO tracking method, device, equipment and medium for database operation level
CN116860858B (en) * 2023-09-01 2023-11-17 北京四维纵横数据技术有限公司 IO tracking method, device, equipment and medium for database operation level

Similar Documents

Publication Publication Date Title
CN107992398A (en) The monitoring method and monitoring system of a kind of operation system
CN102981944B (en) A kind of log storing method based on file system
CN103578568A (en) Method and apparatus for testing performances of solid state disks
CN106528372B (en) Program operation monitoring system and method
WO2004003748A1 (en) Method and system to implement a system event log for improved system anageability
CN111078515B (en) SSD layered log recording method, SSD layered log recording device, SSD layered log recording computer device and storage medium
CN109240917A (en) A kind of blog management method and relevant apparatus
CN109542704A (en) A kind of I/O request method for tracing, device and relevant device
CN109213659A (en) A kind of monitoring method, device and the storage medium of device memory state
CN107153453A (en) A kind of linux system reset processing method and device
CN103729239A (en) Distributed type lock algorithm of mirror-image metadata
CN107423110A (en) A kind of virtual machine method of real-time and its device based on libvirt
CN110008104A (en) A kind of management method of log information, system, equipment and storage medium
CN109241037A (en) A kind of method, apparatus that realizing database processing, equipment and storage medium
CN110636116B (en) Multidimensional data acquisition system and method
CN110033242B (en) Working time determining method, device, equipment and medium
CN103236938A (en) Method and system for user action collection based on cache memory and asynchronous processing technology
CN110569238B (en) Data management method, system, storage medium and server based on big data
CN111784176A (en) Data processing method, device, server and medium
CN102436535A (en) Identification method and system for creative inflection point in computer aided design process
CN110347572A (en) A kind of performance logs output method, device, system, equipment and medium
EP3166027B1 (en) Method and apparatus for determining hot page in database
CN113392079B (en) Distributed storage cluster log storage optimization method, system and terminal
CN105718357B (en) A kind of method of internal memory monitoring
EP3866021A1 (en) Method for performance optimization of object grouping schema in a network key-value storage device using adaptive regression, and non-transitory computer readable medium and system using the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190329