CN102609351A - Method, equipment and system for analyzing system performance - Google Patents

Method, equipment and system for analyzing system performance Download PDF

Info

Publication number
CN102609351A
CN102609351A CN2012100085852A CN201210008585A CN102609351A CN 102609351 A CN102609351 A CN 102609351A CN 2012100085852 A CN2012100085852 A CN 2012100085852A CN 201210008585 A CN201210008585 A CN 201210008585A CN 102609351 A CN102609351 A CN 102609351A
Authority
CN
China
Prior art keywords
subobject
performance
attribute
data message
target object
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.)
Granted
Application number
CN2012100085852A
Other languages
Chinese (zh)
Other versions
CN102609351B (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210008585.2A priority Critical patent/CN102609351B/en
Publication of CN102609351A publication Critical patent/CN102609351A/en
Application granted granted Critical
Publication of CN102609351B publication Critical patent/CN102609351B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

An embodiment of the invention provides a method, equipment and a system for analyzing system performance. The method for analyzing system performance includes: acquiring data information, which indicates various system resources consumed by one or more sub-objects in an assigned target in a certain time when the assigned target is called, of the assigned target in a certain time; computing performance attribute of each sub-object in the multiple sub-objects according to the data information and indicating the performance attribute by statistical results of data information of the sub-object; and analyzing system resources occupied by each sub-object on the basis of the performance attribute. Accordingly, resource occupancy conditions of each sub-object in the assigned target can be provided microcosmically, more accurate data of system performance occupancy rate is provided, users can identify system hot spots quickly and accurately, and system performance can be optimized conveniently.

Description

The method, equipment and the system that are used for the performance of analytic system
Technical field
The embodiment of the invention relates to computer realm, and more specifically, relates to the method and apparatus of the performance that is used for analytic system.
Background technology
When program is moved in computer system, can't know generally speaking where cpu resource is depleted to, this brings very big difficulty for system is optimized.In order to address this problem, computer industry develops and performance analysis (profiling) technology, comes the analytic system resource consumption by this method wherein.
Modern performance analysis technology mainly comprises two types: plug-in mounting (instrumenting) and sampling (sampling).The former can all gather the behavior of system, and the latter is the part collection.
The plug-in mounting technology is in target program, to insert instruction, to obtain the performance of system.The Gprof software of industry for example; It obtains the information of each analysis object (referring generally to function) then to target program total system plug-in mounting; Like duration, number of times etc., total system carries out object merging (information of object of the same name merges, and is generally totally, average etc.) then; Calculate ratio separately, can find that the CPU of each object in goal systems consumes situation.Wherein, " object of the same name " can be the identical object of key element that wherein is used to identify object, key elements such as identifier (ID), function name for example, thus can merge according to each key element, also can wait in addition to merge according to duration, number of times.But; The plug-in mounting technology is analyzed business proportion based on the shared ratio of exclusive object under the business; Can't split and utilize public function, can only provide the result of system performance analysis, therefore will have a strong impact on analytical accuracy more after a little while at exclusive object proportion from macroscopic perspective.
Sampling techniques change based on the state-event of certain system comes acquisition system information, as based on time-sampling, based on 10,000 samplings of the every generation of Cachemiss (cache is miss), based on loading per 20,000 secondary data sampling or the like.What Sampling techniques were obtained is the partial information in system's whole service process.The information of being gathered can be come classification analysis according to function, thread or process, to obtain ratio separately, optimizes thereby instruct.But when SF was too much, like 100 samplings of the every generation of Cachemiss, thereby its parsing program itself can serious consume system resources cause data insincere.In addition, Sampling techniques can only provide the result of system performance analysis from macroscopic perspective equally, and can't obtain the information of institute's data carried by data stream, also just can't analyze from operational angle.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus that is used for the performance of analytic system, can analyze to each specified target object, so that the occupation condition of each sub-objects in each specified target object to be provided respectively from microcosmic angle.
An aspect according to the embodiment of the invention; A kind of method that is used for the performance of analytic system is provided; Comprise: in said system operational process; Gather the data message of specified target object in a period of time, said data message is illustrated in the sorts of systems resource that one or more subobjects of comprising in the said destination object in said a period of time are consumed when said destination object is called; Come to calculate respectively the attribute of performance of each subobject in said one or more subobject according to said data message, said attribute of performance is represented with the statistics of the data message of this subobject; And analyze the shared system resource of each subobject in said one or more subobject based on said attribute of performance.
Another aspect according to the embodiment of the invention; A kind of equipment that is used for the performance of analytic system is provided; Comprise: acquisition component; Be used for gathering the data message of specified target object in a period of time at said system operational process, said data message is illustrated in the sorts of systems resource that one or more subobjects of comprising in the said destination object in said a period of time are consumed when said destination object is called; Calculating unit is used for to calculate respectively according to said data message the attribute of performance of each subobject of said one or more subobjects, and said attribute of performance is represented with the statistics of the data message of this subobject; And analysis component, be used for analyzing the shared system resource of each subobject of said one or more subobjects based on said attribute of performance.
Another aspect according to the embodiment of the invention provides a kind of performance analysis system, comprises that goal systems to be analyzed and aforesaid is used to analyze the equipment of the performance of said goal systems.
According to the embodiment of the invention; Because only analyze and provide the occupation condition of each subobject in this specified target object to specified target object from microcosmic angle; So analysis result has more specific aim; And accurate more system performance occupancy data are provided, thereby have made user's recognition system focus rapidly and accurately, and then be convenient to optimization of system performance.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the exemplary flow chart that illustrates according to the method for the performance that is used for analytic system of the embodiment of the invention.
Fig. 2 illustrates the synoptic diagram according to a destination object of the embodiment of the invention.
Fig. 3 illustrate utilization come according to the method for the embodiment of the invention analytic system performance process and utilize classic method to come the synoptic diagram of process of the performance of analytic system.
Fig. 4 illustrates the occupancy synoptic diagram of the shared system resource of each module that the method according to the embodiment of the invention obtains.
Fig. 5 illustrates the exemplary block diagram according to an equipment of the performance that is used for analytic system of the embodiment of the invention.
Fig. 6 illustrates the block diagram according to the performance analysis system of the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention is provided for method, equipment and the system of the performance of analytic system; So that the operating position of resource for computer system (for example being that unit carries out CPU usage calculating with the module) is analyzed; The result of this process analysis procedure analysis helps to understand the resource consumption of system, so that the performance of optimization system targetedly.
Fig. 1 is the exemplary flow chart that illustrates according to the method 100 of the performance that is used for analytic system of the embodiment of the invention.
As shown in fig. 1; Method 100 101 in; In said system operational process; Gather the data message of specified target object in a period of time, said data message is illustrated in the sorts of systems resource that one or more subobjects of comprising in the said destination object in said a period of time are consumed when said destination object is called.Here, can come the intended target object by the user.
Concrete, said destination object is that continuous a series of instruction constitutes,, for example base block (littler), function, thread or process than function rank, and said subobject for example calls business module, thread or the process of this function.
Need to prove, gather the data message of specified target object in a period of time through dynamic pitching pile.The dynamic pitching pile here refers to and can when program run, carry out pitching pile, among the Fig. 3 in vide infra (a) and (b).Such as, receive the data message of crucial function (function f 3) triggering collection specified target object (function f 2, f3 and f6) in a period of time in (a) in Fig. 3; And receive the data message of this function of triggering collection in a period of time of each function in (b) in Fig. 3.
In 102, come to calculate respectively the attribute of performance of each subobject in said one or more subobject according to said data message, said attribute of performance is represented with the statistics of the data message of this subobject.
In 103, analyze the shared system resource of each subobject in said one or more subobject based on said attribute of performance.
Need to prove, when the value of the attribute of performance of subobject is high, confirm that the shared system resource of this subobject is many.
Wherein, in embodiments of the present invention, under a kind of implementation, step 101 can comprise:
Be captured in call stack information, thread information, global variable, the parameter information of each subobject in this a period of time that comprises in this specified target object, and said parameter information comprises identifier, operation duration, message size and the priority of each subobject.
Under a kind of implementation; Step 102 can comprise: through statistical method; Come to calculate respectively one or more in the appearance total degree, average length, maximum length, average priority, greatest priority of said each subobject according to said data message, as the attribute of performance of each subobject.
More excellent, if said each subobject has corresponding identifier, then:
Under a kind of implementation, step 102 can comprise: as class condition, the parameter information that will have the subobject of identical identifier converges with the identifier of subobject;
Based on the parameter information after converging, calculate one or more in the appearance total degree, average length, maximum length, average priority, greatest priority of each subobject respectively through statistical method, as the attribute of performance of each subobject.
It is thus clear that; According to the embodiment of the invention; Because only analyze and the occupation condition of each subobject in this specified target object is provided,, and accurate more system performance occupancy data are provided so analysis result has more specific aim from microcosmic angle to specified target object; Thereby make user's recognition system focus rapidly and accurately, and then be convenient to optimization of system performance.
Here; The user can specify one or more destination objects to keep watch on; And the method according to the embodiment of the invention can be analyzed to each specified target object, so that the occupation condition of each sub-objects in each specified target object to be provided respectively.
For example; For E2E (End to End; End-to-end) traffic packets, different service possibly passed through same flow process, for example TCP (Transmission Control Protocol; Transmission control protocol), SPX (Sequenced Packet Exchange Protocol, sequence of packets exchange agreement) etc.Utilize traditional method for analyzing performance, only can obtain such as following analysis result:
Tcp_send?50%
Spx_send?20%
Other 1_send 10%
......
But, utilize method 100 according to the embodiment of the invention, can provide for example handled each professional in detail occupancy of Tcp_send, that is: at the TCP level
Service?120%
Service2?10%
Service3?3.3%
Service4?10%
......
Fig. 2 illustrates the synoptic diagram according to a destination object 200 of the embodiment of the invention.
As shown in Figure 2; Exist in the destination object 200 a plurality of professional Service1, Service2, Service3, Service4 ..., Service (N-1) and ServiceN; Wherein N is the positive integer more than or equal to 1, and said a plurality of professional Service1, Service2, Service3, Service4 ..., Service (N-1) and ServiceN can have unified input.Though have unified output in a plurality of business shown in Fig. 2 here; But the invention is not restricted to this; A plurality of business also can not have unified output; For example, some in a plurality of business can have unified output but other do not have unified output, and perhaps all business does not have unified output.When not having unified output data, can carry out dynamic tracking respectively to obtain multiple business in multilayer.
Therefore, preferably, the user can specify the more object of interior business as the destination object that will be kept watch on.This destination object can have unified input, but need not have unified output.
In addition, destination object can be function, thread (thread) or process (process), and subobject can be business module, process or the thread that calls this function.Therefore, the embodiment of the invention can be from microcosmic angle, is unit with the business module, is unit with the process or waits the occupation condition that provides concrete with thread unit.
Below, will the process according to the performance that is used for analytic system of the embodiment of the invention be described in further detail with reference to accompanying drawing.
Fig. 3 illustrate utilization come according to the method for the embodiment of the invention analytic system performance process and utilize classic method to come the synoptic diagram of process of the performance of analytic system.Wherein, (a) utilization comes the performance of analytic system according to the method for the embodiment of the invention process is shown; (b) process that the plug-in mounting technology of utilizing in the classic method is come the performance of analytic system is shown, and (c) process that the Sampling techniques of utilizing in the classic method are come the performance of analytic system is shown.
Shown in (a) among Fig. 3, suppose to exist a plurality of object f1, f2, f3, f4, f5, f6 ... here, each object can be a function.A plurality of object f1, f2, f3, f4, f5, f6 ... in, object f2, f3 and f6 are specified target object, and they are identified with mark (mark) (also can be referred to as probe (probe)).Though 3 specified target object are shown at Fig. 3 (a), the invention is not restricted to this, the object that those skilled in the art can specify arbitrary number flexibly according to demand is as destination object.
Can specify this destination object by the user.In addition, preferably, when needs, for example when system's generation problem, the destination object that the user can specify hope to be kept watch on immediately is so that catch system's focus so that understanding problem place.That is to say, the user can be as required intended target object at any time, utilize therefore that to come the process of the performance of analytic system according to the method for the embodiment of the invention be a kind of dynamic real-time follow-up process.This has saved the user promptly need carry out the trouble of plug-in mounting in compile time, and makes analysis result have more specific aim.
Continuation is with reference to (a) among Fig. 3, when triggering specified target object, for example function f 3, begins to gather the data message of this destination object, for example comprises the call stack information, thread information, global variable, parameter information of function f 3 etc.
Data message that can the continuous collecting destination object reaches a period of time, and for example, a few minutes are so that make that the data message of in this a period of time, gathering is abundant, be enough to cover the performance of the destination object that will be kept watch on.Alternatively, can work as Installed System Memory when exhausting automatic or manual stop to gather.The concrete length of this a period of time perhaps, can be set by the user in advance.Again perhaps, can when gathering, transmit the data message of being gathered, when the user thinks that data message is abundant, stop to gather to the user.
Equally, when triggering other specified target object (for example function f 2 and function f 6), can gather the data message of this destination object equally.
(b) among Fig. 3 illustrates the process that the plug-in mounting technology of utilizing in the classic method is come the performance of analytic system; Obviously; When triggering each function, all to gather the time, call stack information, thread information of this function etc.; Not only can't gather function inner global variable and parameter information, and can influence system performance.
In addition, (c) among Fig. 3 illustrates the process that the Sampling techniques of utilizing in the classic method are come the performance of analytic system.Obviously, this process also can't be gathered function inner global variable and parameter information.
Advantageously; According to the embodiment of the invention; The process of gathering the data message of specified target object in a period of time can be captured in call stack information, thread information, global variable, the parameter information of each subobject in this a period of time that comprises in this specified target object, and said parameter information can comprise identifier, operation duration, message size and the priority of each subobject.
Below table 1 object lesson of the data message of gathering according to the embodiment of the invention is shown, be example wherein with the message distribution bag, different service (subobject) is called same function will have different identifiers, different message size and different priority.For example, gather for unit with the module in the thread (with module No. PID sign, the i.e. identifier of this module), and each module can be corresponding to a message.Here, the unit of parameter 1 (length) can be byte (Byte).
Table 1
Figure BDA0000130225340000071
According to above-mentioned data message; Can calculate the attribute of performance of each subobject in said one or more subobject respectively; Promptly can pass through statistical method; Come to calculate respectively one or more in the appearance total degree, average length, maximum length, average priority, greatest priority of said each subobject according to said data message, as the attribute of performance of each subobject.
Particularly, at first, PID classifies based on module No., and the data message that is about to equal modules PID is gathered together, and obtains following table 2.
Table 2
Then, can utilize statistical method to obtain the attribute of performance of each module based on table 2, for example; PID133 message has occurred 350 times altogether, its average length=(120+30+280+180+320+......)/and 350=186, its maximum length is 320; Average priority is 3, and greatest priority also is 3.Similarly, can obtain the attribute of performance of PID10, PID100 and PID15 equally, shown in following table 3.
Table 3
PID133 PID10 PID100 PID15 Amount to
Total degree 350 210 60 13 633
Average length 186 70 230 42 528
Maximum length 320 80 330 60 790
Average priority 3 2 1 1 7
Greatest priority 3 2 1 1 7
At this moment, can according to the height of the value of the attribute of performance of each subobject confirm the shared system resource of this subobject what.For example, can confirm total degree at most, average priority and greatest priority is all maximum and average length and the maximum length second long PID133 take resource be maximum.
Certainly, also can further calculate the shared ratio of each attribute of performance of each module, to find out the resources occupation rate of each module more intuitively, shown in following table 4.For example, the number percent=350/633=0.552922591 of the total degree of PID133.
Table 4
Number percent PID133 PID10 PID100 PID15 Amount to
Total degree 0.552922591 0.331753555 0.09478673 0.020537 633
Average length 0.352272727 0.132575758 0.435606061 0.079545 528
Maximum length 0.405063291 0.101265823 0.417721519 0.075949367 790
Average priority 0.428571429 0.285714286 0.142857143 0.142857 7
Greatest priority 0.428571429 0.285714286 0.142857143 0.142857 7
Fig. 4 illustrates the occupancy synoptic diagram of the shared system resource of each module PID133, PID10, PID100 and PID15 that the method according to the embodiment of the invention obtains.
As can be seen from Figure 4, it is all very outstanding that the PID133 total degree accounts for over half and its professional each item ratio that amounts to number of times, is the system bottleneck place.In view of the above, whether the user can also further analyze PID133 from operational angle like this, so that the user catches the system focus one-step optimization system performance of going forward side by side fast.It is thus clear that; The method of the performance that is used for analytic system of the embodiment of the invention can be carried out performance evaluation as the analysis index to system with class of service, and the business which kind of type the user that results of performance analysis can guidance system reduces reduces the execution pressure of system.And, calculate the emphasis business of discerning through realizing professional relevant resources occupation rate.
Though here be to utilize the shared ratio of each attribute of performance to analyze occupation condition,, also can draw identical result through table 3, and need not always to calculate the result of table 4.
Fig. 5 illustrates the exemplary block diagram according to an equipment 500 of the performance that is used for analytic system of the embodiment of the invention.
As shown in Figure 5, equipment 500 can comprise acquisition component 501, calculating unit 502 and analysis component 503.
Acquisition component 501 is used for the operational process in said system; Gather the data message of specified target object in a period of time, said data message is illustrated in the sorts of systems resource that one or more subobjects of comprising in the said destination object in said a period of time are consumed when said destination object is called.
Calculating unit 502 is used for to calculate respectively according to said data message the attribute of performance of each subobject of said one or more subobjects, and said attribute of performance is represented with the statistics of the data message of this subobject.
Analysis component 503 is used for analyzing based on said attribute of performance the shared system resource of each subobject of said one or more subobjects.
According to the embodiment of the invention; Because only analyze and provide the occupation condition of each subobject in this specified target object to specified target object from microcosmic angle; So analysis result has more specific aim; And accurate more system performance occupancy data are provided, thereby have made user's recognition system focus rapidly and accurately, and then be convenient to optimization of system performance.
Under a kind of implementation; Acquisition component 501 specifically is used for: at said system operational process; Be captured in call stack information, thread information, global variable, the parameter information of each subobject in this a period of time that comprises in this specified target object, and said parameter information comprises identifier, operation duration, message size and the priority of each subobject.
Accordingly; Under a kind of implementation; Calculating unit 502 specifically is used for: through statistical method; Come to calculate respectively one or more in the appearance total degree, average length, maximum length, average priority, greatest priority of said each subobject according to said data message, as the attribute of performance of each subobject; And analysis component 503 can be worked as the value of attribute of performance of subobject and confirm that the shared system resource of this subobject is many when high.
Different subobject (like the different service program) calls same destination object (like function) will be to having different subobject identifiers, different message sizes and different priority.
Accordingly; Under another kind of implementation; Calculating unit specifically is used for: the identifier with subobject converges as the parameter information that class condition will have the subobject of identical identifier; And, calculate one or more in the appearance total degree, average length, maximum length, average priority, greatest priority of each subobject respectively through statistical method, as the attribute of performance of each subobject based on the parameter information after converging; Wherein, each subobject has corresponding identifier.
In addition, equipment 500 can also comprise the specified parts (not shown), is used for before said acquisition component is gathered the data message of specified target object in a period of time the destination object that appointment in real time when needed will be kept watch on.The number of said specified target object can be one or more.
Need to prove that the product form of an equipment 500 of the performance that is used for analytic system of the embodiment of the invention can be the performance profiler.
It is thus clear that; According to the embodiment of the invention; Because only analyze and the occupation condition of each subobject in this specified target object is provided,, and accurate more system performance occupancy data are provided so analysis result has more specific aim from microcosmic angle to specified target object; Thereby make user's recognition system focus rapidly and accurately, and then be convenient to optimization of system performance.
Fig. 6 illustrates the block diagram according to the performance analysis system 600 of the embodiment of the invention.
Shown in Figure 60 0, performance analysis system 600 can comprise goal systems to be analyzed 601 and the above-mentioned equipment 500 that is used to analyze the performance of said goal systems, and wherein, said goal systems 601 can be the application that any needs are managed concentratedly.
Need to prove that the goal systems is here analyzed object exactly, in other words, promptly by the system of performance analysis or the part of system.
Therefore, the embodiment of the invention can be applied to the field that various needs carry out performance evaluation, for example computer realm, memory area, field of telecommunications or the like.But, the invention is not restricted to this, those skilled in the art can be applied to other suitable fields with the embodiment of the invention as required.
It is thus clear that; According to the embodiment of the invention; Because only analyze and the occupation condition of each subobject in this specified target object is provided,, and accurate more system performance occupancy data are provided so analysis result has more specific aim from microcosmic angle to specified target object; Thereby make user's recognition system focus rapidly and accurately, and then be convenient to optimization of system performance.
Should be noted in the discussion above that for clear and simple and clear, in Fig. 5 and Fig. 6, only show the part relevant, still it will be appreciated by those skilled in the art that equipment shown in Fig. 5 and Fig. 6 or device can comprise the unit that other are necessary with the embodiment of the invention.
Those of ordinary skills can recognize; The unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
The those skilled in the art can be well understood to, for the convenience described with succinct, the concrete course of work of the system of foregoing description, device and unit can repeat no more at this with reference to the corresponding process among the preceding method embodiment.
In several embodiment that the application provided, should be understood that the system that is disclosed, apparatus and method can realize through other mode.For example, device embodiment described above only is schematically, for example; The division of said unit; Only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can combine or can be integrated into another system; Or some characteristics can ignore, or do not carry out.Another point, the coupling each other that shows or discuss or directly coupling or communication to connect can be through some interfaces, the indirect coupling of device or unit or communication connect, and can be electrically, machinery or other form.
Said unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, both can be positioned at a place, perhaps also can be distributed on a plurality of NEs.Can realize the purpose of present embodiment scheme according to the needs selection some or all of unit wherein of reality.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics in each unit exists, and also can be integrated in the unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, also can adopt the form of SFU software functional unit to realize.
If said integrated unit is realized with the form of SFU software functional unit and during as independently production marketing or use, can be stored in the computer read/write memory medium.Based on such understanding; Part or all or part of of this technical scheme that technical scheme of the present invention contributes to prior art in essence in other words can come out with the embodied of software product; This computer software product is stored in the storage medium; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the said method of each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), RAS (RAM, Random Access Memory), magnetic disc or CD.
It is pointed out that also that in apparatus and method of the present invention obviously, each parts or each step can decompose and/or reconfigure.These decomposition and/or reconfigure and to be regarded as equivalents of the present invention.And, carry out the step of above-mentioned series of processes and can order following the instructions naturally carry out in chronological order, but do not need necessarily to carry out according to time sequencing.Some step can walk abreast or carry out independently of one another.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by said protection domain with claim.

Claims (12)

1. a method that is used for the performance of analytic system is characterized in that, comprising:
In said system operational process; Gather the data message of specified target object in a period of time, said data message is illustrated in the sorts of systems resource that one or more subobjects of comprising in the said destination object in said a period of time are consumed when said destination object is called;
Come to calculate respectively the attribute of performance of each subobject in said one or more subobject according to said data message, said attribute of performance is represented with the statistics of the data message of this subobject; And
Analyze the shared system resource of each subobject in said one or more subobject based on said attribute of performance.
2. method according to claim 1 is characterized in that, the data message of said collection specified target object in a period of time comprises:
Be captured in call stack information, thread information, global variable, the parameter information of each subobject in this a period of time that comprises in this specified target object, and said parameter information comprises identifier, operation duration, message size and the priority of each subobject.
3. method according to claim 2 is characterized in that, the said attribute of performance that calculates each subobject in said one or more subobject respectively according to said data message comprises:
Through statistical method, come to calculate respectively one or more in the appearance total degree, average length, maximum length, average priority, greatest priority of said each subobject according to said data message, as the attribute of performance of each subobject.
4. method according to claim 2 is characterized in that: if said each subobject has corresponding identifier,
The said attribute of performance that calculates each subobject in said one or more subobject respectively according to said data message comprises:
As class condition, the parameter information that will have the subobject of identical identifier converges with the identifier of subobject;
Based on the parameter information after converging, calculate one or more in the appearance total degree, average length, maximum length, average priority, greatest priority of each subobject respectively through statistical method, as the attribute of performance of each subobject.
5. method according to claim 4 is characterized in that, the said shared system resource of analyzing in said one or more subobject based on said attribute of performance of each subobject comprises:
When the value of the attribute of performance of subobject is high, confirm that the shared system resource of this subobject is many.
6. according to each the described method in the claim 1 to 5, it is characterized in that:
Before the data message of said collection specified target object in a period of time, also comprise: real-time when needed intended target object, and
The number of said specified target object is one or more.
7. method according to claim 6 is characterized in that: said destination object comprises function, thread or process, and said subobject comprises business module, thread or the process of calling this function.
8. an equipment that is used for the performance of analytic system is characterized in that, comprising:
Acquisition component; Be used for operational process in said system; Gather the data message of specified target object in a period of time, said data message is illustrated in the sorts of systems resource that one or more subobjects of comprising in the said destination object in said a period of time are consumed when said destination object is called;
Calculating unit is used for to calculate respectively according to said data message the attribute of performance of each subobject of said one or more subobjects, and said attribute of performance is represented with the statistics of the data message of this subobject; And
Analysis component is used for analyzing based on said attribute of performance the shared system resource of each subobject of said one or more subobjects.
9. equipment according to claim 8; It is characterized in that: said acquisition component specifically is used for: at said system operational process; Be captured in call stack information, thread information, global variable, the parameter information of each subobject in this a period of time that comprises in this specified target object, and said parameter information comprises identifier, operation duration, message size and the priority of each subobject.
10. equipment according to claim 9; It is characterized in that; Said calculating unit specifically is used for: through statistical method; Come to calculate respectively one or more in the appearance total degree, average length, maximum length, average priority, greatest priority of said each subobject according to said data message, as the attribute of performance of each subobject.
11. equipment according to claim 9; It is characterized in that: said calculating unit specifically is used for: the identifier with subobject converges as the parameter information that class condition will have the subobject of identical identifier; And based on the parameter information after converging; Calculate one or more in the appearance total degree, average length, maximum length, average priority, greatest priority of each subobject respectively through statistical method; As the attribute of performance of each subobject, wherein, each subobject has corresponding identifier.
12. a performance analysis system is characterized in that, comprises goal systems to be analyzed and like the described equipment that is used to analyze the performance of said goal systems of in the claim 8 to 11 each.
CN201210008585.2A 2012-01-11 2012-01-11 For the method, apparatus and system of the performance of analytic system Expired - Fee Related CN102609351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210008585.2A CN102609351B (en) 2012-01-11 2012-01-11 For the method, apparatus and system of the performance of analytic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210008585.2A CN102609351B (en) 2012-01-11 2012-01-11 For the method, apparatus and system of the performance of analytic system

Publications (2)

Publication Number Publication Date
CN102609351A true CN102609351A (en) 2012-07-25
CN102609351B CN102609351B (en) 2015-12-02

Family

ID=46526741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210008585.2A Expired - Fee Related CN102609351B (en) 2012-01-11 2012-01-11 For the method, apparatus and system of the performance of analytic system

Country Status (1)

Country Link
CN (1) CN102609351B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103198008A (en) * 2013-04-27 2013-07-10 清华大学 System testing statistical method and device
CN103455412A (en) * 2013-09-23 2013-12-18 扬州大学 Cocurrent system performance simulation method based on random process algebra
CN103793265A (en) * 2012-10-30 2014-05-14 腾讯科技(深圳)有限公司 Processing method and device for process optimization
CN104932970A (en) * 2015-05-29 2015-09-23 小米科技有限责任公司 Monitoring method and device of memory leakage
CN105637480A (en) * 2013-04-02 2016-06-01 谷歌公司 A framework for user-directed profile-driven optimizations
CN107491392A (en) * 2017-08-22 2017-12-19 中国联合网络通信集团有限公司 Application program capacity acquisition method and device
CN107580215A (en) * 2017-09-25 2018-01-12 深圳市九洲电器有限公司 Set top box component quality feedback method and system
CN113934475A (en) * 2021-08-10 2022-01-14 荣耀终端有限公司 Application call analysis method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004264914A (en) * 2003-02-24 2004-09-24 Intellaset:Kk Apparatus for measuring and analyzing system performance
WO2008006027A2 (en) * 2006-07-06 2008-01-10 Akorri Networks, Inc. Managing application system load
CN101162437A (en) * 2006-10-10 2008-04-16 国际商业机器公司 Method for analyzing system performance sampled data based on relational model, equipment and system
CN102063330A (en) * 2011-01-05 2011-05-18 北京航空航天大学 Performance data acquisition method for large-scale parallel program
CN102073580A (en) * 2011-02-01 2011-05-25 华为技术有限公司 Performance analyzing method and tool and computer system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004264914A (en) * 2003-02-24 2004-09-24 Intellaset:Kk Apparatus for measuring and analyzing system performance
WO2008006027A2 (en) * 2006-07-06 2008-01-10 Akorri Networks, Inc. Managing application system load
CN101162437A (en) * 2006-10-10 2008-04-16 国际商业机器公司 Method for analyzing system performance sampled data based on relational model, equipment and system
CN102063330A (en) * 2011-01-05 2011-05-18 北京航空航天大学 Performance data acquisition method for large-scale parallel program
CN102073580A (en) * 2011-02-01 2011-05-25 华为技术有限公司 Performance analyzing method and tool and computer system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793265A (en) * 2012-10-30 2014-05-14 腾讯科技(深圳)有限公司 Processing method and device for process optimization
CN103793265B (en) * 2012-10-30 2016-05-11 腾讯科技(深圳)有限公司 The processing method of Optimization Progress and device
US9606830B2 (en) 2012-10-30 2017-03-28 Tencent Technology (Shenzhen) Company Limited Method and device for handling optimization processes based on Euclidean distance
CN105637480B (en) * 2013-04-02 2020-03-03 谷歌有限责任公司 Architecture for user-directed profile-driven optimization
CN105637480A (en) * 2013-04-02 2016-06-01 谷歌公司 A framework for user-directed profile-driven optimizations
US11675574B2 (en) 2013-04-02 2023-06-13 Google Llc Framework for user-directed profile-driven optimizations
US11321061B2 (en) 2013-04-02 2022-05-03 Google Llc Framework for user-directed profile-driven optimizations
CN103198008A (en) * 2013-04-27 2013-07-10 清华大学 System testing statistical method and device
CN103455412A (en) * 2013-09-23 2013-12-18 扬州大学 Cocurrent system performance simulation method based on random process algebra
CN103455412B (en) * 2013-09-23 2016-10-19 扬州大学 A kind of concurrent system performance simulation method based on stochastic process algebra
CN104932970A (en) * 2015-05-29 2015-09-23 小米科技有限责任公司 Monitoring method and device of memory leakage
CN107491392A (en) * 2017-08-22 2017-12-19 中国联合网络通信集团有限公司 Application program capacity acquisition method and device
CN107580215A (en) * 2017-09-25 2018-01-12 深圳市九洲电器有限公司 Set top box component quality feedback method and system
CN113934475A (en) * 2021-08-10 2022-01-14 荣耀终端有限公司 Application call analysis method and electronic equipment

Also Published As

Publication number Publication date
CN102609351B (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN102609351A (en) Method, equipment and system for analyzing system performance
CN104391749B (en) Resource allocation method and device
CN107577588B (en) Intelligent operation and maintenance system for mass log data
US10318366B2 (en) System and method for relationship based root cause recommendation
US10061858B2 (en) Method and apparatus for processing exploding data stream
CN108900374B (en) Data processing method and device applied to DPI equipment
US20060277295A1 (en) Monitoring system and monitoring method
CN101989283A (en) Monitoring method and device of performance of database
CN103763343A (en) Method and device for processing service access
CN102012936B (en) Massive data aggregation method and system based on cloud computing platform
CN108228322B (en) Distributed link tracking and analyzing method, server and global scheduler
CN104796300A (en) Method and device for data packet feature extraction
CN103747049A (en) CDN file distribution method, control center and system
CN109582548B (en) Page element circle selection method and device based on non-buried points
CN102750184A (en) Cloud resource classification and identification system and cloud resource classification and identification method
CN112069049A (en) Data monitoring management method and device, server and readable storage medium
CN111800292A (en) Early warning method and device based on historical flow, computer equipment and storage medium
KR102028342B1 (en) System and method for supporting real-time financial business provision and decision making using data process solution
KR102094933B1 (en) Edge-based Load-Shedding System for Fast-Data Analysis and the operating method thereof
CN111078646B (en) Method and system for grouping software based on operation data of Internet equipment
CN104349339A (en) Collection device of mobile intelligent terminal Wi-Fi signal data package, method thereof and system thereof
CN105187490B (en) A kind of transfer processing method of internet of things data
CN103823743A (en) Monitoring method and monitoring device of software system
CN110825943B (en) Method, system and equipment for generating user access path tree data
JP2009545043A (en) System, method, and computer program for reducing message flow between bus-connected consumers and producers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151202

Termination date: 20180111

CF01 Termination of patent right due to non-payment of annual fee