WO2015012885A1 - Event chain visualization of performance data - Google Patents

Event chain visualization of performance data Download PDF

Info

Publication number
WO2015012885A1
WO2015012885A1 PCT/US2014/011798 US2014011798W WO2015012885A1 WO 2015012885 A1 WO2015012885 A1 WO 2015012885A1 US 2014011798 W US2014011798 W US 2014011798W WO 2015012885 A1 WO2015012885 A1 WO 2015012885A1
Authority
WO
WIPO (PCT)
Prior art keywords
representing
data
shape
observations
dimension
Prior art date
Application number
PCT/US2014/011798
Other languages
French (fr)
Inventor
Russell KRAJEC
Original Assignee
Concurix Corporation
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
Priority claimed from US13/949,994 external-priority patent/US20150033172A1/en
Priority claimed from US13/949,978 external-priority patent/US9280841B2/en
Application filed by Concurix Corporation filed Critical Concurix Corporation
Priority to EP14829908.4A priority Critical patent/EP3025251A4/en
Priority to CN201480052771.3A priority patent/CN105683942A/en
Publication of WO2015012885A1 publication Critical patent/WO2015012885A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations

Definitions

  • Event chain visualizations such as Gantt charts, are mechanisms that can illustrate connected items in a sequence.
  • work items are illustrated as bars in a timeline, with each bar illustrating a length of time that a work item may take.
  • An event chain visualization of performance related data may show monitored elements as bars or other shapes on a timeline, with connections or other relationships connecting the various bars into a sequential view of an application.
  • the visualization may include color, shading, sparklines, sub-graphs, or other indicators to show resource utilization, performance metrics, or other data relating to the monitored elements.
  • the visualization may be generated by monitoring many events, and each bar on a timeline may reflect multiple instances of a monitored element and, in some case, the aggregated performance of the multiple instances.
  • a timeline chart may represent multiple data sets gathered from multiple sequences of a process by placing sub-graphs within timeline bars.
  • the sub-graphs may represent summarized data related to each event represented by a timeline bar.
  • the timeline chart may present an overall view of a sequence of process steps with insights to the shape or distribution of the underlying observations.
  • the timeline chart may be an instance of an event chain diagram, where the elements within the event chains are displayed with respect to time.
  • the timeline chart may be presented as representing the aggregated dataset of multiple runs, as well as a representation of a single observed sequence. In both cases, sub-graphs may be included in a timeline bar to represent different views of the aggregated dataset.
  • FIGURE 1 A is a diagram illustration of an example embodiment showing an event chain diagram showing aggregated data.
  • FIGURE IB is a diagram illustration of an example embodiment showing an event chain diagram showing a selected data set, as well as aggregated data.
  • FIGURE 2 is a diagram illustration of an embodiment showing a network environment with devices that may create and view tracer data.
  • FIGURE 3 is a diagram illustration of several example embodiments showing sub-graphs that may be applied to different shapes.
  • FIGURE 4 is a flowchart illustration of an embodiment showing a method for creating an event chain diagram for an aggregated view of multiple data sets.
  • FIGURE 5 is a flowchart illustration of an embodiment showing a method for creating an event chain diagram for a detailed view of a specific data set along with aggregated information in sub-graphs.
  • An event chain visualization of monitored data may render shapes representing monitored data for individual monitored elements.
  • the shapes may be arranged in an event chain, with each shape having at least one dimension representing a measured or observed performance metric.
  • the shapes may be connected with connectors, such as arrow lines, to visually illustrate relationships between the monitored elements.
  • the dimension may represent a maximum, minimum, average, median, or some other observation of the data.
  • the parameter being measured may be time or some other resource.
  • the performance data may be observations of monitored elements that may be gathered when an application or other code has been executed.
  • the observations may include multiple observations of the same monitored element, which may be represented in summary form in a shape representing the element.
  • the dimension of the shape representing a monitored element may give an instant, graphical representation of a single observed parameter.
  • the relative dimension of one monitored element representation with another monitored element representation may show a user the relative proportion of the parameter at a glance.
  • the relationships between monitored elements may be arranged in a sequential manner.
  • the relationships may show dependencies, shared memory objects, or other relationships in a manner that can be quickly grasped.
  • a timeline chart or Gantt chart representation of an event chain may arrange shapes representing the time to process each monitored element, and arranged in sequential order as time progresses. Because each bar in a timeline chart may represent the maximum, minimum, or other observation, the horizontal length of the overall timeline chart may not represent any actual observed runs.
  • Additional data may be shown within the shape representing a monitored element.
  • the additional data may include observation distributions in the form of line graphs, bar graphs, sparklines, variable shading, variable widths, or some other form. Such additional data may be useful to identify outliers or trends in the data, where the trends may be otherwise masked summarized statistics or single representative observations.
  • the event chain visualization may have a generalized view which may represent many sets of performance data, and a detailed view which may represent a single set of performance data along with a generalized view.
  • the detailed view may include representations of the generalized data set through the use of sparklines, sub-graphs, or other indicators, which may be presented to show both the detailed data of a single data set was well as the context of the single data set with respect to the larger, aggregated and summarized data set.
  • timeline graph and “timeline diagram” are used interchangeably. These terms are also used to denote a special case of an event chain diagram where the events are arranged with respect to time.
  • the horizontal axis of a graph may represent time.
  • Other timeline diagrams may be oriented such that time may be represented on a vertical axis or some other direction.
  • instrumentation may refer to stubs, hooks, or other data collection mechanisms that may be inserted into executable code and thereby change the executable code
  • profiler or “tracer” may classically refer to data collection mechanisms that may not change the executable code.
  • the use of any of these terms and their derivatives may implicate or imply the other.
  • data collection using a “tracer” may be performed using non-contact data collection in the classic sense of a “tracer” as well as data collection using the classic definition of "instrumentation” where the executable code may be changed.
  • data collected through “instrumentation” may include data collection using non-contact data collection mechanisms.
  • instrumentation may include any type of data that may be collected, including performance related data such as processing times, throughput, performance counters, and the like.
  • the collected data may include function names, parameters passed, memory object names and contents, messages passed, message contents, registry settings, register contents, error flags, interrupts, or any other parameter or other collectable data regarding an application being traced.
  • execution environment may be used to refer to any type of supporting software used to execute an application.
  • An example of an execution environment is an operating system.
  • an "execution environment” may be shown separately from an operating system. This may be to illustrate a virtual machine, such as a process virtual machine, that provides various support functions for an application.
  • a virtual machine may be a system virtual machine that may include its own internal operating system and may simulate an entire computer system.
  • execution environment includes operating systems and other systems that may or may not have readily identifiable "virtual machines” or other supporting software.
  • an application is used to refer to any combination of software and hardware products that may perform a desired function.
  • an application may be a single software program that operates with a hardware platform.
  • Some applications may use multiple software components, each of which may be written in a different language or may execute within different hardware or software execution environments. In some cases, such applications may be dispersed across multiple devices and may use software and hardware components that may be connected by a network or other communications system.
  • references to "a processor” include multiple processors. In some cases, a process that may be performed by “a processor” may be actually performed by multiple processors on the same device or on different devices. For the purposes of this specification and claims, any reference to “a processor” shall include multiple processors which may be on the same device or different devices, unless expressly specified otherwise.
  • any reference to “a processor” shall include multiple processors which may be on the same device or different devices, unless expressly specified otherwise.
  • the subject matter may be embodied as devices, systems, methods, and/or computer program products. Accordingly, some or all of the subject matter may be embodied in hardware and/or in software (including firmware, resident software, microcode, state machines, gate arrays, etc.) Furthermore, the subject matter may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system.
  • a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
  • the computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium.
  • computer readable media may comprise computer storage media and communication media.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by an instruction execution system.
  • the computer-usable or computer-readable medium could be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, of otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
  • the embodiment may comprise program modules, executed by one or more systems, computers, or other devices.
  • program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • functionality of the program modules may be combined or distributed as desired in various embodiments.
  • Figure 1 A is an illustration of an example embodiment 100 showing an event chain diagram.
  • Figure IB is an illustration of an example embodiment 102 showing a detailed view of a single data set from embodiment 100.
  • Embodiment 100 illustrates an event chain diagram that may represent multiple sets of performance data.
  • tracer data from a fictitious application is shown.
  • the application may contain four distinct code elements, named MAIN, FOO, BAR, and BAZ.
  • the tracer data may include performance data gathered from multiple runs of the application, with the data comprising processing time, CPU loading, memory consumption, and other data elements in our example.
  • the event chain diagram may show summarized data from multiple data sets in at least two manners.
  • the size of the shapes in the event chain diagram may reflect a summarized statistic for each of the code elements that were observed.
  • the summarized statistic may be, for example, maximum time taken to process the code element represented by the shape as may be represented in the example of embodiment 100.
  • the event chain diagram of embodiment 100 may show the worst case timeline from the performance data.
  • the shapes may be sized to represent the longest time observed for each code element, then placed together in sequential relationships such that the overall length of the diagram may or may not reflect the length of the worst case data set.
  • the summarized statistic represented by the horizontal length of the various shapes may be any summarization or representation of the underlying data.
  • the representation may be the maximum value of any observation.
  • Other examples may use a maximum, minimum, median, mean, standard deviation, multiples of the standard deviation, or some other summarization or observation to represent an element in an event chain diagram.
  • a sub-graph may be included.
  • the sub-graphs may give additional information about the underlying data, and may give the user a sense of the profile of the data distribution.
  • the distribution profile may show the user if many of the observations were tightly clustered, identify outliers, or other indicators about the data.
  • Shapes 106 and 108 may represent the observations of a function named MAIN, when MAIN was invoked two times. Shape 106 may represent the first instances MAIN was invoked, and shape 108 may represent the second instance.
  • a sub-graph 110 may illustrate a distribution of the observations collected for the first instance of MAIN.
  • the sub-graph 110 may be show the cumulative number of observations that had a given length of time, as represented by the horizontal axis.
  • the shape of sub-graph 110 illustrates that all the observations were at least as long as about 1/3 of the total length of time, and that there is a wide variation in data points as time increases.
  • the sub-graph may be a sparkline or other small graphical representation of the underlying data.
  • the sub-graph may take on many forms, examples of which may be found in embodiment 300 presented later in this specification.
  • the sequence of items in the event chain diagram may start with shape 106, then proceed to shape 114 representing the function FOO, shape 118 representing the function BAR, shape 122 representing the function BAZ, and back to shape 116 representing BAR, shape 116 representing the function FOO, and finally at function MAIN with shape 108.
  • the sequence of items may represent the flow of control, data items, or other connections between the various items.
  • a sub-graph may illustrate some aspect of the underlying data. From examination of the example, shape 122 may illustrate an example of a sub-graph that may represent a dataset that contains a very wide distribution of data elements, with the possibility that there may be outliers on the high end of the scale.
  • a detail window 124 may be an interactive element by which a user may browse the underlying data in more detail.
  • the detail window 124 may be moved back and forth using handles 126 and 128, which may be moved by clicking and dragging the handles.
  • the detail window 124 may be expanded, contracted, and moved to different locations across the event chain diagram, and the underlying data may be presented in a detail view 130.
  • the detail view 130 may illustrate some of the underlying data that may be represented by the detail window 124.
  • the selected observations may be displayed by RU _ID, time, input values, and return values.
  • a user may be able to scroll through the various data elements and select an element for a detailed view.
  • the selected element 132 is shown.
  • Figure IB may illustrate an event chain diagram 102 that shows the detail of the selected element 132.
  • the event chain diagram 102 may include some elements from the event chain diagram 100, but arranged in a manner to show the details of the selected element 132.
  • the various shapes in diagram 102 may be arranged to reflect the selected element 132.
  • the sequence of events may be shown by shape 136 connected to shape 142, which is connected in succession to shapes 145, 146, 148, 150, and finally shape 152.
  • the size of the shapes and the positioning of the subsequent shape may indicate the actual length of time observed for the selected dataset.
  • the shapes may be shaded, greyed out, differently colored, or have some other visual effect that may show the larger dataset.
  • shape 136 may have a section 138 that may be greyed out, but may still contain a sub-graph 140.
  • the left hand side of the shape 136 that may not be greyed out may represent the value of the underlying data in the selected element 132, while the remaining section 138 may give the user a visual hint as to where the selected element 132 fell in the distribution represented by the sub-graph 140.
  • Shape 142 may be illustrated with section 144 greyed out, as shape 146 may also be illustrated with section 156 greyed out and shape 152 may be illustrated with section 154 greyed out. With each of the shapes that have greyed out portions, a user may be able to determine where the selected data set fell within the distribution of each observation. Such an illustration may communicate contextual data while also communicating detailed data about a specific set of observations.
  • Graphs representing CPU loading 158 and memory usage 160 may also be included in the diagram 102.
  • the CPU loading 158 and memory usage 160 may be additional sets of data may match the timeline of the event chain diagram 102 and may relate to the selected element 132.
  • the each shape has a dimension that may be scaled to represent a certain data element.
  • a dimension may be related to time.
  • Other examples may relate the dimension to any other measured or observed parameter.
  • Figure 2 is a diagram of an embodiment 200 showing components that may generate performance data and display the performance data using an event chain diagram.
  • the example of embodiment 200 is merely one example of a multi-device system that may generate performance data and display the data in an event chain diagram.
  • Other architectures may include single device and multiple device
  • a single device architecture may gather performance data, analyze the data, and graphically display the data or perform bottleneck detection.
  • a multiple device architecture may divide different components of the data gathering and analysis functions over different devices.
  • the multiple device architecture may be one way to deliver complex tracing services without having to install and maintain all of the various tracing components on a single system.
  • the example of embodiment 200 gathers tracer data from several systems under test, then generates and renders an event chain diagram as a visualization.
  • the tracer data may be a large amount of historical data, which may be summarized in an event chain diagram, as well as viewed using a detailed event chain diagram that may include summarized data from multiple data sets while viewing one data set.
  • the diagram of Figure 2 illustrates functional components of a system.
  • the component may be a hardware component, a software component, or a combination of hardware and software. Some of the components may be application level software, while other components may be execution environment level components.
  • the connection of one component to another may be a close connection where two or more components are operating on a single hardware platform. In other cases, the connections may be made over network connections spanning long distances.
  • Each embodiment may use different hardware, software, and interconnection
  • Embodiment 200 illustrates a device 202 that may have a hardware platform 204 and various software components.
  • the device 202 as illustrated represents a conventional computing device, although other embodiments may have different configurations, architectures, or components.
  • the device 202 may be a server computer. In some embodiments, the device 202 may still also be a desktop computer, laptop computer, netbook computer, tablet or slate computer, wireless handset, cellular telephone, game console or any other type of computing device.
  • the hardware platform 204 may include a processor 208, random access memory 210, and nonvolatile storage 212.
  • the hardware platform 204 may also include a user interface 214 and network interface 216.
  • the random access memory 210 may be storage that contains data objects and executable code that can be quickly accessed by the processors 208.
  • the random access memory 210 may have a high-speed bus connecting the memory 210 to the processors 208.
  • the nonvolatile storage 212 may be storage that persists after the device 202 is shut down.
  • the nonvolatile storage 212 may be any type of storage device, including hard disk, solid state memory devices, magnetic tape, optical storage, or other type of storage.
  • the nonvolatile storage 212 may be read only or read/write capable.
  • the nonvolatile storage 212 may be cloud based, network storage, or other storage that may be accessed over a network connection.
  • the user interface 214 may be any type of hardware capable of displaying output and receiving input from a user.
  • the output display may be a graphical display monitor, although output devices may include lights and other visual output, audio output, kinetic actuator output, as well as other output devices.
  • Conventional input devices may include keyboards and pointing devices such as a mouse, stylus, trackball, or other pointing device.
  • Other input devices may include various sensors, including biometric input devices, audio and video input devices, and other sensors.
  • the network interface 216 may be any type of connection to another computer.
  • the network interface 216 may be a wired Ethernet connection.
  • Other embodiments may include wired or wireless connections over various communication protocols.
  • the software components 206 may include an operating system 218 on which various software components and services may operate.
  • An operating system may provide an abstraction layer between executing routines and the hardware components 204, and may include various routines and functions that communicate directly with various hardware components.
  • a data analyzer 220 may analyze raw data 221 and generate summarized data 223 that may be consumed by a Tenderer 222 to generate a visualization 224.
  • the raw data 221 may be any type of data that contains elements that may be related to each other so as to be displayed on an event chain diagram.
  • event chain diagram several elements may be displayed with relationships to each other.
  • a common example may be a Gantt chart that may show work items of a project, where various work items may be connected by dependencies.
  • the elements may be presented with contextual data in the form of sparklines or subgraphs.
  • Such event chain diagram may present summarized data or data from a single run of a measured process.
  • the summarized data may aggregate multiple runs of a measured process, where each run may be a separate data set representing a single run through the process.
  • a data set may be tracer data, which may be gathered by monitoring an application over time. While a tracer gathers data, an application may be subjected to multiple inputs, each of which may cause the application to execute code elements in a process that may be displayed in an event chain diagram.
  • invention 200 illustrates a system where tracer data may be collected, processed, and visualized.
  • Other systems may gather, process, and visualize data for other types of processes or sequences.
  • the device 202 may create visualizations 224 which may be viewed on the device 202 or on another device.
  • the visualizations may be static visualizations, while in other cases, the visualizations may be interactive such that a user may be able to explore, browse, and otherwise interact with the data.
  • a network 226 may connect a group of systems under test 228 from which observations and measurements may be taken.
  • Each of the systems under test 228 may have a hardware platform 230, which may be similar to the hardware platform 204 of the device 202.
  • the systems under test 228 may have an operating system 232 on which an execution environment 234 may run.
  • an application 236 may be executed with a tracer 238.
  • the tracer 238 may monitor, measure, probe, instrument, or otherwise gather data while the application 236 executes.
  • the tracer 238 may transmit the collected data to a data gathering system 240.
  • the data gathering system 240 may have hardware platform 242 which may be similar to the hardware platform 204 of the device 202.
  • a tracer gatherer 244 may collect and store tracer data 246 from the various tracers 238.
  • a distribution engine 248 may be a communications portal through which other systems may access the tracer data 246, such as the data analyzer 220 of the device 202.
  • a client device 250 may be an example of a device that may render and visualize the data. In such an example, some or all of the summarization or processing of the tracer data may be performed on another device, such as the device 202.
  • the client device 250 may have a hardware platform 252 which may be similar to the hardware platform 204 of device 202.
  • a browser 254 may execute code that operates as a renderer 256 to show a user the visualization 258.
  • the visualization 258 may be presented in a browser, where the renderer may execute on the device 202.
  • Such a case may create a visualization 224 on the device 202, and an image from the renderer 222 may be transmitted and displayed by the browser 254.
  • Figure 3 is a diagram illustration of an embodiment 300 showing several examples of shapes that may be used to represent an element in an event chain diagram, such as the event chain diagrams illustrated in Figures 1A and IB.
  • shapes 302, 304, 306, and 308 are examples where the underlying shape may be a rectangle or line. In each of the examples, the shapes may be illustrated with the horizontal axis as the dimension sized to represent a data value.
  • Shape 302 is an example of a shape that may be broken such that the length of the shape may not represent the full value of the data element it may represent.
  • the shape 302 may have a sub-graph 310 that may contain an outlier data point 314. Because the outlier data point 314 may cause the shape 302 to be very large, a break 312 may be inserted and the length of the shape 302 may be condensed. The break 312 may indicate that the length of the shape 302 may have been shortened.
  • the shape 302 may have a scale 313 on the horizontal axis.
  • the scale may help a user understand the actual values of the underlying data. Because of the break 312, the scale 313 may be a visual indicator of how much the shape 302 may have been shortened by the break 312.
  • Shape 304 is an example of a shape that may have a different type of subgraph 318.
  • the shape 304 may be a line to which a sub-graph 318 may be attached.
  • the sub-graph 318 may have an axis 316.
  • the axis 316 may be perpendicular to the horizontal length of the shape 304.
  • the axis 316 may have a scale 319. In some cases, a vertical axis may not have a scale.
  • the sub-graph 318 may show a distribution of the underlying data.
  • the sub-graph 310 of shape 302 may be an example of a cumulative distribution, whereas the sub-graph 318 of shape 318 may be a conventional distribution illustration.
  • a cumulative distribution may be useful in some cases where outliers may exist on one end of the distribution, while a conventional distribution may be useful when outliers may exist on both ends of the distribution.
  • Shape 306 is an example with a sub-graph that may be a bar chart 320.
  • the bar chart 320 may include one bar for each data set or may represent groups of data sets.
  • Shape 308 is an example of a shape with two sub-graphs. Sub-graph 322 may be shown on the top with axis 324, while sub-graph 326 may be shown with axis 328. The axes may be illustrated with values or without values.
  • Figure 4 is a flowchart illustration of an embodiment 400 showing a method for generating data, processing the data, and rendering a graph illustrating the data.
  • the operations of embodiment 400 may illustrate the operations that may be performed with the components of embodiment 200.
  • Embodiment 400 may illustrate a method by which data may be generated by tracing an application. Once the tracer data has been stored, the tracer data may be summarized and rendered in a visualization, such as an event chain diagram. Examples of such diagrams may be found in Figures 1 A and IB.
  • An application may be received in block 402 for tracing. Execution may begin in block 404. A code element may be identified in block 406 and the code element may be traced in block 408 to collect tracer data, which may be stored in block 410. When another code element is encountered in block 412, the process may loop back to block 406. When all the code elements have been executed in block 412, the data collection process may end in block 414.
  • the tracer data may be any data gathered while the application executes. Such data may include observations about start time and end time, as well as resource consumption data, data regarding the performance of the code element, or any other data.
  • the tracer data may be received in block 416.
  • Each code element in the tracer data may be identified in block 418 and processed in block 420.
  • summary statistics may be generated in block 422 and relationships to other code elements may be identified in block 424.
  • rendering may begin in block 426.
  • a data element may be selected in block 428 for scaling.
  • the data element may be the dimension for which the overall graph may be scaled. In the examples of Figures 1A and IB, the dimension may be time.
  • a size of a representative shape may be determined in block 432.
  • the size may be determined from the summary statistic, which may be the maximum value of an observation of the code element. In other embodiments the minimum, average, mean, or some other representative observation may be used.
  • a sub-graph may be created for the element in block 434.
  • the sub-graph may be any representation of the underlying data for the code element represented by the shape.
  • the sub-graph may be a distribution of the underlying data or some other representation of the underlying data, which may be aggregated from multiple observations of the code element.
  • the shape may be rendered in block 436.
  • a connector may be rendered in block 438 to graphically connect the block to any other blocks to which a relationship may be found.
  • the entire image may be rendered in block 440.
  • Figure 5 is a flowchart illustration of an embodiment 500 showing a method for changing from an aggregated view of the data to viewing a data set for a specific sequence.
  • Embodiment 500 is an example method that may be performed in response to a user selection to change from an aggregated view to a specific view, such as may be illustrated in the change from the diagrams illustrated in Figure 1 A and Figure IB.
  • the full graph may be rendered in block 502.
  • the full graph may be a representation of a data set aggregated from multiple tracer runs. An example of creating such a graph may be found in embodiment 400.
  • the graph may be an interactive graph, which may have various mechanisms to browse and select individual data sets. In the example of Figure 1A, such a selection mechanism may include the detail window 124 and detail view 130. The selection of an individual data set to view may be received in block 504.
  • the rendering of a detail view may begin in block 506.
  • the value from the selected data set corresponding to the current code element may be determined.
  • the code element shape may be rendered to show the determined value.
  • the shape may be greyed out, dashed, or otherwise have a visual modifier applied. Examples of such an operation may be found in shape 136 in Figure IB, where the shape 136 may be rendered with section 138 greyed out.
  • a connector may be rendered in block 514.
  • Additional data may be rendered in block 16.
  • the additional data may be data specific to the selected individual data set. Examples of such additional data may be the CPU loading 158 and memory usage 160 in Figure IB.
  • the full image may be rendered in block 518 and presented to a user.

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Debugging And Monitoring (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An event chain visualization of performance data may show the execution of monitored elements as bars on a timeline, with connections or other relationships connecting the various bars into a sequential view of an application. The visualization may include color, shading, or other highlighting to show resource utilization or performance metrics. The visualization may be generated by monitoring many events processed by an application, where each bar on a timeline may reflect multiple instances of a monitored element and, in some case, the aggregated performance.

Description

Event Visualization of Performance Data
Cross Reference to Related Applications
[0001] This patent application claims benefit of and priority to United States Patent Application Serial Number 13/949,978 entitled "Event Chain Visualization of Performance Data" filed 24 July 2013 and United States Patent Application Serial Number 13/949,994 entitled "Timeline Charts with Subgraphs" filed 24 July 2013, both of which are hereby expressly incorporated by reference for all they disclose and teach.
Background
[0002] Event chain visualizations, such as Gantt charts, are mechanisms that can illustrate connected items in a sequence. In the case of a Gantt chart, work items are illustrated as bars in a timeline, with each bar illustrating a length of time that a work item may take.
Summary
[0003] An event chain visualization of performance related data may show monitored elements as bars or other shapes on a timeline, with connections or other relationships connecting the various bars into a sequential view of an application. The visualization may include color, shading, sparklines, sub-graphs, or other indicators to show resource utilization, performance metrics, or other data relating to the monitored elements. The visualization may be generated by monitoring many events, and each bar on a timeline may reflect multiple instances of a monitored element and, in some case, the aggregated performance of the multiple instances.
[0004] A timeline chart may represent multiple data sets gathered from multiple sequences of a process by placing sub-graphs within timeline bars. The sub-graphs may represent summarized data related to each event represented by a timeline bar. The timeline chart may present an overall view of a sequence of process steps with insights to the shape or distribution of the underlying observations. The timeline chart may be an instance of an event chain diagram, where the elements within the event chains are displayed with respect to time. The timeline chart may be presented as representing the aggregated dataset of multiple runs, as well as a representation of a single observed sequence. In both cases, sub-graphs may be included in a timeline bar to represent different views of the aggregated dataset.
[0005] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Brief Description of the Drawings [0006] In the drawings,
[0007] FIGURE 1 A is a diagram illustration of an example embodiment showing an event chain diagram showing aggregated data.
[0008] FIGURE IB is a diagram illustration of an example embodiment showing an event chain diagram showing a selected data set, as well as aggregated data.
[0009] FIGURE 2 is a diagram illustration of an embodiment showing a network environment with devices that may create and view tracer data.
[0010] FIGURE 3 is a diagram illustration of several example embodiments showing sub-graphs that may be applied to different shapes.
[0011] FIGURE 4 is a flowchart illustration of an embodiment showing a method for creating an event chain diagram for an aggregated view of multiple data sets.
[0012] FIGURE 5 is a flowchart illustration of an embodiment showing a method for creating an event chain diagram for a detailed view of a specific data set along with aggregated information in sub-graphs. Detailed Description
Event Chain Visualization of Performance Data
[0013] An event chain visualization of monitored data may render shapes representing monitored data for individual monitored elements. The shapes may be arranged in an event chain, with each shape having at least one dimension representing a measured or observed performance metric. The shapes may be connected with connectors, such as arrow lines, to visually illustrate relationships between the monitored elements.
[0014] The dimension may represent a maximum, minimum, average, median, or some other observation of the data. The parameter being measured may be time or some other resource.
[0015] The performance data may be observations of monitored elements that may be gathered when an application or other code has been executed. The observations may include multiple observations of the same monitored element, which may be represented in summary form in a shape representing the element.
[0016] The dimension of the shape representing a monitored element may give an instant, graphical representation of a single observed parameter. The relative dimension of one monitored element representation with another monitored element representation may show a user the relative proportion of the parameter at a glance.
[0017] Further, the relationships between monitored elements may be arranged in a sequential manner. The relationships may show dependencies, shared memory objects, or other relationships in a manner that can be quickly grasped.
[0018] In one use, a timeline chart or Gantt chart representation of an event chain may arrange shapes representing the time to process each monitored element, and arranged in sequential order as time progresses. Because each bar in a timeline chart may represent the maximum, minimum, or other observation, the horizontal length of the overall timeline chart may not represent any actual observed runs.
[0019] Additional data may be shown within the shape representing a monitored element. The additional data may include observation distributions in the form of line graphs, bar graphs, sparklines, variable shading, variable widths, or some other form. Such additional data may be useful to identify outliers or trends in the data, where the trends may be otherwise masked summarized statistics or single representative observations.
[0020] The event chain visualization may have a generalized view which may represent many sets of performance data, and a detailed view which may represent a single set of performance data along with a generalized view.
[0021] The detailed view may include representations of the generalized data set through the use of sparklines, sub-graphs, or other indicators, which may be presented to show both the detailed data of a single data set was well as the context of the single data set with respect to the larger, aggregated and summarized data set.
[0022] Throughout this specification and claims the term "timeline graph" and "timeline diagram" are used interchangeably. These terms are also used to denote a special case of an event chain diagram where the events are arranged with respect to time. In a typical timeline diagram, the horizontal axis of a graph may represent time. Other timeline diagrams may be oriented such that time may be represented on a vertical axis or some other direction.
[0023] Throughout this specification and claims, the terms "profiler", "tracer", and "instrumentation" are used interchangeably. These terms refer to any mechanism that may collect data when an application is executed. In a classic definition,
"instrumentation" may refer to stubs, hooks, or other data collection mechanisms that may be inserted into executable code and thereby change the executable code, whereas "profiler" or "tracer" may classically refer to data collection mechanisms that may not change the executable code. The use of any of these terms and their derivatives may implicate or imply the other. For example, data collection using a "tracer" may be performed using non-contact data collection in the classic sense of a "tracer" as well as data collection using the classic definition of "instrumentation" where the executable code may be changed. Similarly, data collected through "instrumentation" may include data collection using non-contact data collection mechanisms.
[0024] Further, data collected through "profiling", "tracing", and
"instrumentation" may include any type of data that may be collected, including performance related data such as processing times, throughput, performance counters, and the like. The collected data may include function names, parameters passed, memory object names and contents, messages passed, message contents, registry settings, register contents, error flags, interrupts, or any other parameter or other collectable data regarding an application being traced.
[0025] Throughout this specification and claims, the term "execution environment" may be used to refer to any type of supporting software used to execute an application. An example of an execution environment is an operating system. In some illustrations, an "execution environment" may be shown separately from an operating system. This may be to illustrate a virtual machine, such as a process virtual machine, that provides various support functions for an application. In other embodiments, a virtual machine may be a system virtual machine that may include its own internal operating system and may simulate an entire computer system. Throughout this specification and claims, the term "execution environment" includes operating systems and other systems that may or may not have readily identifiable "virtual machines" or other supporting software.
[0026] Throughout this specification and claims, the term "application" is used to refer to any combination of software and hardware products that may perform a desired function. In some cases, an application may be a single software program that operates with a hardware platform. Some applications may use multiple software components, each of which may be written in a different language or may execute within different hardware or software execution environments. In some cases, such applications may be dispersed across multiple devices and may use software and hardware components that may be connected by a network or other communications system.
[0027] Throughout this specification, like reference numbers signify the same elements throughout the description of the figures.
[0028] In the specification and claims, references to "a processor" include multiple processors. In some cases, a process that may be performed by "a processor" may be actually performed by multiple processors on the same device or on different devices. For the purposes of this specification and claims, any reference to "a processor" shall include multiple processors which may be on the same device or different devices, unless expressly specified otherwise. [0029] When elements are referred to as being "connected" or "coupled," the elements can be directly connected or coupled together or one or more intervening elements may also be present. In contrast, when elements are referred to as being "directly connected" or "directly coupled," there are no intervening elements present.
[0030] The subject matter may be embodied as devices, systems, methods, and/or computer program products. Accordingly, some or all of the subject matter may be embodied in hardware and/or in software (including firmware, resident software, microcode, state machines, gate arrays, etc.) Furthermore, the subject matter may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this document, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
[0031] The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media.
[0032] Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by an instruction execution system. Note that the computer-usable or computer-readable medium could be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, of otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
[0033] When the subject matter is embodied in the general context of computer- executable instructions, the embodiment may comprise program modules, executed by one or more systems, computers, or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
[0034] Figure 1 A is an illustration of an example embodiment 100 showing an event chain diagram. Figure IB is an illustration of an example embodiment 102 showing a detailed view of a single data set from embodiment 100.
[0035] Embodiment 100 illustrates an event chain diagram that may represent multiple sets of performance data. In the example of embodiment 100, tracer data from a fictitious application is shown. The application may contain four distinct code elements, named MAIN, FOO, BAR, and BAZ. The tracer data may include performance data gathered from multiple runs of the application, with the data comprising processing time, CPU loading, memory consumption, and other data elements in our example.
[0036] The event chain diagram may show summarized data from multiple data sets in at least two manners. In the first manner, the size of the shapes in the event chain diagram may reflect a summarized statistic for each of the code elements that were observed. The summarized statistic may be, for example, maximum time taken to process the code element represented by the shape as may be represented in the example of embodiment 100.
[0037] In the examples of Figures 1A and IB, the horizontal axis of the various shapes and diagrams may represent time.
[0038] The event chain diagram of embodiment 100 may show the worst case timeline from the performance data. In other words, the shapes may be sized to represent the longest time observed for each code element, then placed together in sequential relationships such that the overall length of the diagram may or may not reflect the length of the worst case data set. [0039] The summarized statistic represented by the horizontal length of the various shapes may be any summarization or representation of the underlying data. In the example of embodiment 100, the representation may be the maximum value of any observation. Other examples may use a maximum, minimum, median, mean, standard deviation, multiples of the standard deviation, or some other summarization or observation to represent an element in an event chain diagram.
[0040] Within each shape representing a code element, a sub-graph may be included. The sub-graphs may give additional information about the underlying data, and may give the user a sense of the profile of the data distribution. In many cases, the distribution profile may show the user if many of the observations were tightly clustered, identify outliers, or other indicators about the data.
[0041] Shapes 106 and 108 may represent the observations of a function named MAIN, when MAIN was invoked two times. Shape 106 may represent the first instances MAIN was invoked, and shape 108 may represent the second instance.
[0042] A sub-graph 110 may illustrate a distribution of the observations collected for the first instance of MAIN. The sub-graph 110 may be show the cumulative number of observations that had a given length of time, as represented by the horizontal axis. The shape of sub-graph 110 illustrates that all the observations were at least as long as about 1/3 of the total length of time, and that there is a wide variation in data points as time increases.
[0043] The sub-graph may be a sparkline or other small graphical representation of the underlying data. The sub-graph may take on many forms, examples of which may be found in embodiment 300 presented later in this specification.
[0044] The sequence of items in the event chain diagram may start with shape 106, then proceed to shape 114 representing the function FOO, shape 118 representing the function BAR, shape 122 representing the function BAZ, and back to shape 116 representing BAR, shape 116 representing the function FOO, and finally at function MAIN with shape 108. The sequence of items may represent the flow of control, data items, or other connections between the various items.
[0045] Within each shape, a sub-graph may illustrate some aspect of the underlying data. From examination of the example, shape 122 may illustrate an example of a sub-graph that may represent a dataset that contains a very wide distribution of data elements, with the possibility that there may be outliers on the high end of the scale.
[0046] A detail window 124 may be an interactive element by which a user may browse the underlying data in more detail. The detail window 124 may be moved back and forth using handles 126 and 128, which may be moved by clicking and dragging the handles. The detail window 124 may be expanded, contracted, and moved to different locations across the event chain diagram, and the underlying data may be presented in a detail view 130.
[0047] The detail view 130 may illustrate some of the underlying data that may be represented by the detail window 124. In the example, the selected observations may be displayed by RU _ID, time, input values, and return values. Through the user interface 104, a user may be able to scroll through the various data elements and select an element for a detailed view. In the example, the selected element 132 is shown.
[0048] Figure IB may illustrate an event chain diagram 102 that shows the detail of the selected element 132. The event chain diagram 102 may include some elements from the event chain diagram 100, but arranged in a manner to show the details of the selected element 132.
[0049] The various shapes in diagram 102 may be arranged to reflect the selected element 132. The sequence of events may be shown by shape 136 connected to shape 142, which is connected in succession to shapes 145, 146, 148, 150, and finally shape 152.
[0050] The size of the shapes and the positioning of the subsequent shape may indicate the actual length of time observed for the selected dataset. In order to illustrate the entire dataset, the shapes may be shaded, greyed out, differently colored, or have some other visual effect that may show the larger dataset.
[0051] For example, shape 136 may have a section 138 that may be greyed out, but may still contain a sub-graph 140. The left hand side of the shape 136 that may not be greyed out may represent the value of the underlying data in the selected element 132, while the remaining section 138 may give the user a visual hint as to where the selected element 132 fell in the distribution represented by the sub-graph 140. [0052] Shape 142 may be illustrated with section 144 greyed out, as shape 146 may also be illustrated with section 156 greyed out and shape 152 may be illustrated with section 154 greyed out. With each of the shapes that have greyed out portions, a user may be able to determine where the selected data set fell within the distribution of each observation. Such an illustration may communicate contextual data while also communicating detailed data about a specific set of observations.
[0053] Graphs representing CPU loading 158 and memory usage 160 may also be included in the diagram 102. The CPU loading 158 and memory usage 160 may be additional sets of data may match the timeline of the event chain diagram 102 and may relate to the selected element 132.
[0054] In the example of embodiments 100 and 102, the each shape has a dimension that may be scaled to represent a certain data element. In the case of the examples, such a dimension may be related to time. Other examples may relate the dimension to any other measured or observed parameter.
[0055] Figure 2 is a diagram of an embodiment 200 showing components that may generate performance data and display the performance data using an event chain diagram. The example of embodiment 200 is merely one example of a multi-device system that may generate performance data and display the data in an event chain diagram. Other architectures may include single device and multiple device
architectures.
[0056] A single device architecture may gather performance data, analyze the data, and graphically display the data or perform bottleneck detection.
[0057] A multiple device architecture may divide different components of the data gathering and analysis functions over different devices. The multiple device architecture may be one way to deliver complex tracing services without having to install and maintain all of the various tracing components on a single system.
[0058] The example of embodiment 200 gathers tracer data from several systems under test, then generates and renders an event chain diagram as a visualization. The tracer data may be a large amount of historical data, which may be summarized in an event chain diagram, as well as viewed using a detailed event chain diagram that may include summarized data from multiple data sets while viewing one data set. [0059] The diagram of Figure 2 illustrates functional components of a system. In some cases, the component may be a hardware component, a software component, or a combination of hardware and software. Some of the components may be application level software, while other components may be execution environment level components. In some cases, the connection of one component to another may be a close connection where two or more components are operating on a single hardware platform. In other cases, the connections may be made over network connections spanning long distances. Each embodiment may use different hardware, software, and interconnection
architectures to achieve the functions described.
[0060] Embodiment 200 illustrates a device 202 that may have a hardware platform 204 and various software components. The device 202 as illustrated represents a conventional computing device, although other embodiments may have different configurations, architectures, or components.
[0061] In many embodiments, the device 202 may be a server computer. In some embodiments, the device 202 may still also be a desktop computer, laptop computer, netbook computer, tablet or slate computer, wireless handset, cellular telephone, game console or any other type of computing device.
[0062] The hardware platform 204 may include a processor 208, random access memory 210, and nonvolatile storage 212. The hardware platform 204 may also include a user interface 214 and network interface 216.
[0063] The random access memory 210 may be storage that contains data objects and executable code that can be quickly accessed by the processors 208. In many embodiments, the random access memory 210 may have a high-speed bus connecting the memory 210 to the processors 208.
[0064] The nonvolatile storage 212 may be storage that persists after the device 202 is shut down. The nonvolatile storage 212 may be any type of storage device, including hard disk, solid state memory devices, magnetic tape, optical storage, or other type of storage. The nonvolatile storage 212 may be read only or read/write capable. In some embodiments, the nonvolatile storage 212 may be cloud based, network storage, or other storage that may be accessed over a network connection. [0065] The user interface 214 may be any type of hardware capable of displaying output and receiving input from a user. In many cases, the output display may be a graphical display monitor, although output devices may include lights and other visual output, audio output, kinetic actuator output, as well as other output devices.
Conventional input devices may include keyboards and pointing devices such as a mouse, stylus, trackball, or other pointing device. Other input devices may include various sensors, including biometric input devices, audio and video input devices, and other sensors.
[0066] The network interface 216 may be any type of connection to another computer. In many embodiments, the network interface 216 may be a wired Ethernet connection. Other embodiments may include wired or wireless connections over various communication protocols.
[0067] The software components 206 may include an operating system 218 on which various software components and services may operate. An operating system may provide an abstraction layer between executing routines and the hardware components 204, and may include various routines and functions that communicate directly with various hardware components.
[0068] A data analyzer 220 may analyze raw data 221 and generate summarized data 223 that may be consumed by a Tenderer 222 to generate a visualization 224. The raw data 221 may be any type of data that contains elements that may be related to each other so as to be displayed on an event chain diagram.
[0069] In an event chain diagram, several elements may be displayed with relationships to each other. A common example may be a Gantt chart that may show work items of a project, where various work items may be connected by dependencies. The elements may be presented with contextual data in the form of sparklines or subgraphs. Such event chain diagram may present summarized data or data from a single run of a measured process.
[0070] The summarized data may aggregate multiple runs of a measured process, where each run may be a separate data set representing a single run through the process. One example of such a data set may be tracer data, which may be gathered by monitoring an application over time. While a tracer gathers data, an application may be subjected to multiple inputs, each of which may cause the application to execute code elements in a process that may be displayed in an event chain diagram.
[0071] The example of embodiment 200 illustrates a system where tracer data may be collected, processed, and visualized. Other systems may gather, process, and visualize data for other types of processes or sequences.
[0072] The device 202 may create visualizations 224 which may be viewed on the device 202 or on another device. In some cases, the visualizations may be static visualizations, while in other cases, the visualizations may be interactive such that a user may be able to explore, browse, and otherwise interact with the data.
[0073] A network 226 may connect a group of systems under test 228 from which observations and measurements may be taken. Each of the systems under test 228 may have a hardware platform 230, which may be similar to the hardware platform 204 of the device 202. The systems under test 228 may have an operating system 232 on which an execution environment 234 may run. Within the execution environment 234, an application 236 may be executed with a tracer 238. The tracer 238 may monitor, measure, probe, instrument, or otherwise gather data while the application 236 executes.
[0074] The tracer 238 may transmit the collected data to a data gathering system 240. The data gathering system 240 may have hardware platform 242 which may be similar to the hardware platform 204 of the device 202. A tracer gatherer 244 may collect and store tracer data 246 from the various tracers 238. A distribution engine 248 may be a communications portal through which other systems may access the tracer data 246, such as the data analyzer 220 of the device 202.
[0075] A client device 250 may be an example of a device that may render and visualize the data. In such an example, some or all of the summarization or processing of the tracer data may be performed on another device, such as the device 202.
[0076] The client device 250 may have a hardware platform 252 which may be similar to the hardware platform 204 of device 202. A browser 254 may execute code that operates as a renderer 256 to show a user the visualization 258. In some cases, the visualization 258 may be presented in a browser, where the renderer may execute on the device 202. Such a case may create a visualization 224 on the device 202, and an image from the renderer 222 may be transmitted and displayed by the browser 254. [0077] Figure 3 is a diagram illustration of an embodiment 300 showing several examples of shapes that may be used to represent an element in an event chain diagram, such as the event chain diagrams illustrated in Figures 1A and IB.
[0078] The examples of shapes 302, 304, 306, and 308 are examples where the underlying shape may be a rectangle or line. In each of the examples, the shapes may be illustrated with the horizontal axis as the dimension sized to represent a data value.
[0079] Shape 302 is an example of a shape that may be broken such that the length of the shape may not represent the full value of the data element it may represent. The shape 302 may have a sub-graph 310 that may contain an outlier data point 314. Because the outlier data point 314 may cause the shape 302 to be very large, a break 312 may be inserted and the length of the shape 302 may be condensed. The break 312 may indicate that the length of the shape 302 may have been shortened.
[0080] The shape 302 may have a scale 313 on the horizontal axis. The scale may help a user understand the actual values of the underlying data. Because of the break 312, the scale 313 may be a visual indicator of how much the shape 302 may have been shortened by the break 312.
[0081] Shape 304 is an example of a shape that may have a different type of subgraph 318. The shape 304 may be a line to which a sub-graph 318 may be attached. The sub-graph 318 may have an axis 316. The axis 316 may be perpendicular to the horizontal length of the shape 304. The axis 316 may have a scale 319. In some cases, a vertical axis may not have a scale.
[0082] The sub-graph 318 may show a distribution of the underlying data. The sub-graph 310 of shape 302 may be an example of a cumulative distribution, whereas the sub-graph 318 of shape 318 may be a conventional distribution illustration. A cumulative distribution may be useful in some cases where outliers may exist on one end of the distribution, while a conventional distribution may be useful when outliers may exist on both ends of the distribution.
[0083] Shape 306 is an example with a sub-graph that may be a bar chart 320. The bar chart 320 may include one bar for each data set or may represent groups of data sets. [0084] Shape 308 is an example of a shape with two sub-graphs. Sub-graph 322 may be shown on the top with axis 324, while sub-graph 326 may be shown with axis 328. The axes may be illustrated with values or without values.
[0085] Figure 4 is a flowchart illustration of an embodiment 400 showing a method for generating data, processing the data, and rendering a graph illustrating the data. The operations of embodiment 400 may illustrate the operations that may be performed with the components of embodiment 200.
[0086] Other embodiments may use different sequencing, additional or fewer steps, and different nomenclature or terminology to accomplish similar functions. In some embodiments, various operations or set of operations may be performed in parallel with other operations, either in a synchronous or asynchronous manner. The steps selected here were chosen to illustrate some principles of operations in a simplified form.
[0087] Embodiment 400 may illustrate a method by which data may be generated by tracing an application. Once the tracer data has been stored, the tracer data may be summarized and rendered in a visualization, such as an event chain diagram. Examples of such diagrams may be found in Figures 1 A and IB.
[0088] An application may be received in block 402 for tracing. Execution may begin in block 404. A code element may be identified in block 406 and the code element may be traced in block 408 to collect tracer data, which may be stored in block 410. When another code element is encountered in block 412, the process may loop back to block 406. When all the code elements have been executed in block 412, the data collection process may end in block 414.
[0089] The tracer data may be any data gathered while the application executes. Such data may include observations about start time and end time, as well as resource consumption data, data regarding the performance of the code element, or any other data.
[0090] The tracer data may be received in block 416. Each code element in the tracer data may be identified in block 418 and processed in block 420.
[0091] For each code element in block 420, summary statistics may be generated in block 422 and relationships to other code elements may be identified in block 424.
[0092] After generating summary statistics, rendering may begin in block 426. [0093] A data element may be selected in block 428 for scaling. The data element may be the dimension for which the overall graph may be scaled. In the examples of Figures 1A and IB, the dimension may be time.
[0094] For each code element in block 430, a size of a representative shape may be determined in block 432. The size may be determined from the summary statistic, which may be the maximum value of an observation of the code element. In other embodiments the minimum, average, mean, or some other representative observation may be used.
[0095] A sub-graph may be created for the element in block 434. The sub-graph may be any representation of the underlying data for the code element represented by the shape. The sub-graph may be a distribution of the underlying data or some other representation of the underlying data, which may be aggregated from multiple observations of the code element.
[0096] The shape may be rendered in block 436. A connector may be rendered in block 438 to graphically connect the block to any other blocks to which a relationship may be found.
[0097] The entire image may be rendered in block 440.
[0098] Figure 5 is a flowchart illustration of an embodiment 500 showing a method for changing from an aggregated view of the data to viewing a data set for a specific sequence. Embodiment 500 is an example method that may be performed in response to a user selection to change from an aggregated view to a specific view, such as may be illustrated in the change from the diagrams illustrated in Figure 1 A and Figure IB.
[0099] Other embodiments may use different sequencing, additional or fewer steps, and different nomenclature or terminology to accomplish similar functions. In some embodiments, various operations or set of operations may be performed in parallel with other operations, either in a synchronous or asynchronous manner. The steps selected here were chosen to illustrate some principles of operations in a simplified form.
[00100] The full graph may be rendered in block 502. The full graph may be a representation of a data set aggregated from multiple tracer runs. An example of creating such a graph may be found in embodiment 400. [00101] The graph may be an interactive graph, which may have various mechanisms to browse and select individual data sets. In the example of Figure 1A, such a selection mechanism may include the detail window 124 and detail view 130. The selection of an individual data set to view may be received in block 504.
[00102] The rendering of a detail view may begin in block 506. For each code element in block 508, the value from the selected data set corresponding to the current code element may be determined. In block 510, the code element shape may be rendered to show the determined value. In many embodiments, the shape may be greyed out, dashed, or otherwise have a visual modifier applied. Examples of such an operation may be found in shape 136 in Figure IB, where the shape 136 may be rendered with section 138 greyed out. A connector may be rendered in block 514.
[00103] Additional data may be rendered in block 16. The additional data may be data specific to the selected individual data set. Examples of such additional data may be the CPU loading 158 and memory usage 160 in Figure IB.
[00104] The full image may be rendered in block 518 and presented to a user.
[00105] The foregoing description of the subject matter has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the subject matter to the precise form disclosed, and other modifications and variations may be possible in light of the above teachings. The embodiment was chosen and described in order to best explain the principles of the invention and its practical application to thereby enable others skilled in the art to best utilize the invention in various embodiments and various modifications as are suited to the particular use contemplated. It is intended that the appended claims be construed to include other alternative embodiments except insofar as limited by the prior art.

Claims

CLAIMS What is claimed is: Event Chain Visualization of Performance Data
1. A method performed by at least one computer processor, said method comprising:
receiving trace data gathered from an application, said application comprising monitored elements, said trace data comprising performance observations from said monitored elements;
identifying a first monitored element and a second monitored element within said trace data, said first monitored element having a relationship with said second monitored element;
creating a first geometric shape representing a first monitored element, said first geometric shape having a first dimension;
determining a first value for said first dimension from an aggregation of a plurality of said performance observations, said first value representing a first observation of said plurality of said performance observations;
creating a second geometric shape representing a second monitored element, said second geometric shape having said first dimension;
determining a second value for said first dimension from an aggregation of a second plurality of said performance observations, said second value representing a second of said second plurality of said performance observations;
creating a graphical connector connecting said first geometric shape and said second geometric shape; and
rendering said first geometric shape, said second geometric shape, and said graphical connector.
2. The method of claim 1 further comprising:
determining a curve representing said first plurality of performance observations in said first dimension; and
rendering said curve within said first geometric shape.
3. The method of claim 2, said curve being a line graph.
4. The method of claim 2, said curve being variable shading within said first geometric shape.
5. The method of claim 1, said first dimension representing time.
6. The method of claim 1, said first dimension representing resource utilization.
7. The method of claim 6, said resource utilization being one of a group composed of:
memory resource utilization;
processor resource utilization; and
network resource utilization.
8. The method of claim 1, said first geometric shape being a rectangle.
9. The method of claim 8, said first dimension being a horizontal length of said rectangle.
10. The method of claim 8, said first dimension being a vertical length of said rectangle.
11. The method of claim 1 , said first observation being a maximum observation of said plurality of said performance observations.
12. The method of claim 1, said first observation being one of a group composed of:
minimum observation;
average observation; and
median observation.
13. The method of claim 1, said relationship being a sequential relationship between said first monitored element and said second monitored element.
14. The method of claim 1, said relationship being a dependency relationship between said first monitored element and said second monitored element.
15. The method of claim 1, said relationship being a shared memory object relationship between said first monitored element and said second monitored element.
16. A system comprising:
a processor; a rendering engine executing on said processor, said rendering engine that:
receives trace data gathered from an application, said application comprising monitored elements, said trace data comprising performance observations from said monitored elements;
identifies a first monitored element and a second monitored element within said trace data, said first monitored element having a relationship with said second monitored element;
creates a first geometric shape representing a first monitored element, said first geometric shape having a first dimension;
determines a first value for said first dimension from an aggregation of a plurality of said performance observations, said first value representing a first observation of said plurality of said performance observations;
creates a second geometric shape representing a second monitored element, said second geometric shape having said first dimension;
determines a second value for said first dimension from an aggregation of a second plurality of said performance observations, said second value representing a second of said second plurality of said performance observations;
creates a graphical connector connecting said first geometric shape and said second geometric shape; and
renders said first geometric shape, said second geometric shape, and said graphical connector.
17. The system of claim 16, said rendering engine that further:
determines a curve representing said first plurality of performance observations in said first dimension; and
displays said curve within said first geometric shape.
18. The system of claim 17, said curve being a line graph.
19. The system of claim 17, said curve being variable shading within said first geometric shape.
20. The system of claim 16, said first dimension representing time.
21. The system of claim 16, said first dimension representing resource utilization.
22. The system of claim 21, said resource utilization being one of a group composed of:
memory resource utilization;
processor resource utilization; and
network resource utilization.
23. The system of claim 16, said first geometric shape being a rectangle.
24. The system of claim 23, said first dimension being a horizontal length of said rectangle.
25. The system of claim 23, said first dimension being a vertical length of said rectangle.
26. The system of claim 16, said first observation being a maximum observation of said plurality of said performance observations.
27. The system of claim 16, said first observation being one of a group composed of:
minimum observation;
average observation; and
median observation.
28. The system of claim 16, said relationship being a sequential relationship between said first monitored element and said second monitored element.
29. The system of claim 16, said relationship being a dependency relationship between said first monitored element and said second monitored element.
30. The system of claim 16, said relationship being a shared memory object relationship between said first monitored element and said second monitored element.
Timeline Charts with Subgraphs
31. A timeline chart comprising: a first shape representing a first activity on a timeline, said first activity comprising a first amount of time and said shape having a first length representing said first amount of time;
a second shape representing a second activity on said timeline, said second activity comprising a second amount of time and said second shape having a second length representing said second amount of time;
a relationship connection representing a relationship between said first activity and said second activity;
a first sub-graph rendered in said first shape, said first sub-graph representing a first set of data related to said first activity;
a second sub-graph rendered in said second shape, said second sub-graph representing a second set of data related to said second activity;
said first shape and said second shape being arranged chronologically with respect to said relationship.
32. The timeline chart of claim 31 , said first amount of time representing a maximum amount of time for a plurality of observations about said first activity.
33. The timeline chart of claim 32, said first sub-graph representing said plurality of observations.
34. The timeline chart of claim 33, said first sub-graph representing time values of said plurality of observations.
35. The timeline chart of claim 34, said first sub-graph representing cumulative observations of said time values.
36. The timeline chart of claim 34, said first sub-graph representing a distribution of said plurality of observations over said maximum amount of time first said plurality of observations.
37. The timeline chart of claim 36, said first shape being rendered with a break indicator, such that said first length being shorter than said first amount of time.
38. The timeline chart of claim 37, said first sub-graph comprising a first scale parallel to said first length.
39. The timeline chart of claim 37, said first sub-graph comprising a first scale perpendicular to said first length.
40. The timeline chart of claim 31 being an interactive graph.
41. The timeline chart of claim 40 further comprising a selection mechanism, said selection mechanism identifying at least a first set of observations relating to a first sequence of said activities.
42. The timeline chart of claim 41, said selection mechanism comprising a movable window.
43. The timeline chart of claim 41 further comprising a detailed view window, said detailed view window comprising at least one data point related to said first set of observations.
44. The timeline chart of claim 43 further comprising a selection mechanism within said detailed view window, said selection mechanism being capable of selecting said first set of observations.
45. The timeline chart of claim 31 being arranged to represent a first data set, said first data set comprising data points related to a first sequence of said activities, said timeline chart further comprising:
a first masking applied to said first shape, said first masking being a visual differentiator applied to create a first section and a second section of said first shape, said first section having a length representing a first data point from said first data set representing said first sequence, said second section having a length that, when combined with said first section, represents said first amount of time.
46. The timeline chart of claim 40, said visual differentiator comprising greying out said second section.
PCT/US2014/011798 2013-07-24 2014-01-16 Event chain visualization of performance data WO2015012885A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14829908.4A EP3025251A4 (en) 2013-07-24 2014-01-16 Event chain visualization of performance data
CN201480052771.3A CN105683942A (en) 2013-07-24 2014-01-16 Event chain visualization of performance data

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US13/949,994 2013-07-24
US13/949,994 US20150033172A1 (en) 2013-07-24 2013-07-24 Timeline Charts with Subgraphs
US13/949,978 2013-07-24
US13/949,978 US9280841B2 (en) 2013-07-24 2013-07-24 Event chain visualization of performance data

Publications (1)

Publication Number Publication Date
WO2015012885A1 true WO2015012885A1 (en) 2015-01-29

Family

ID=52393730

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2014/011798 WO2015012885A1 (en) 2013-07-24 2014-01-16 Event chain visualization of performance data

Country Status (3)

Country Link
EP (1) EP3025251A4 (en)
CN (1) CN105683942A (en)
WO (1) WO2015012885A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190034066A1 (en) * 2017-07-27 2019-01-31 Johnson Controls Technology Company Building management system with central plantroom dashboards
CN110619135A (en) * 2018-06-18 2019-12-27 富士施乐株式会社 Information processing apparatus and non-transitory computer readable medium
CN111382037B (en) 2018-12-28 2023-06-20 阿里巴巴集团控股有限公司 Application performance management information display method and device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040117768A1 (en) * 2002-12-12 2004-06-17 International Business Machines Corporation System and method on generating multi-dimensional trace files and visualizing them using multiple Gantt charts
US20080092121A1 (en) * 2006-10-17 2008-04-17 Cray Inc. Performance visualization including hierarchical display of performance data
US20080126003A1 (en) * 2006-07-28 2008-05-29 Apple Computer, Inc. Event-based setting of process tracing scope
US20100295856A1 (en) * 2009-05-21 2010-11-25 Microsoft Corporation Data analysis and visualization system and techniques
US20130060372A1 (en) * 2011-09-07 2013-03-07 Sap Ag User interface including scheduling hint and material sufficiency indicator for production planning

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6467052B1 (en) * 1999-06-03 2002-10-15 Microsoft Corporation Method and apparatus for analyzing performance of data processing system
US7266773B2 (en) * 2002-10-24 2007-09-04 Efficient Analytics, Inc. System and method for creating a graphical presentation
US8499287B2 (en) * 2008-06-23 2013-07-30 Microsoft Corporation Analysis of thread synchronization events
WO2011161303A1 (en) * 2010-06-24 2011-12-29 Zokem Oy Network server arrangement for processing non-parametric, multi-dimensional, spatial and temporal human behavior or technical observations measured pervasively, and related method for the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040117768A1 (en) * 2002-12-12 2004-06-17 International Business Machines Corporation System and method on generating multi-dimensional trace files and visualizing them using multiple Gantt charts
US20080126003A1 (en) * 2006-07-28 2008-05-29 Apple Computer, Inc. Event-based setting of process tracing scope
US20080092121A1 (en) * 2006-10-17 2008-04-17 Cray Inc. Performance visualization including hierarchical display of performance data
US20100295856A1 (en) * 2009-05-21 2010-11-25 Microsoft Corporation Data analysis and visualization system and techniques
US20130060372A1 (en) * 2011-09-07 2013-03-07 Sap Ag User interface including scheduling hint and material sufficiency indicator for production planning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3025251A4 *

Also Published As

Publication number Publication date
EP3025251A1 (en) 2016-06-01
EP3025251A4 (en) 2017-05-10
CN105683942A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
US9754396B2 (en) Event chain visualization of performance data
US20150033172A1 (en) Timeline Charts with Subgraphs
US9864676B2 (en) Bottleneck detector application programming interface
US9772927B2 (en) User interface for selecting tracing origins for aggregating classes of trace data
US9256969B2 (en) Transformation function insertion for dynamically displayed tracer data
US9824470B2 (en) Use of dynamic numeric axis to indicate and highlight data ranges
EP2438576B1 (en) Displaying a visual representation of performance metrics for rendered graphics elements
US20130283242A1 (en) Tracing Closures in a Callback Environment
US20120311537A1 (en) Performance visualization including hierarchical display of performance data
US20130232174A1 (en) Highlighting of Time Series Data on Force Directed Graph
US20050097536A1 (en) Method of graphically displaying and manipulating multiple workflow run instances of a software application
US20150205693A1 (en) Visualization of behavior clustering of computer applications
US10496658B2 (en) Method and system of visually depicting hierarchical data through selective colorization
Reiss et al. JOVE: Java as it happens
EP3000041A1 (en) Graph for navigating application code
EP3097494A1 (en) Computer performance prediction using search technologies
US20080184150A1 (en) Electronic circuit design analysis tool for multi-processor environments
WO2015012885A1 (en) Event chain visualization of performance data
Schnorr et al. A hierarchical aggregation model to achieve visualization scalability in the analysis of parallel applications
US8850404B2 (en) Relational modeling for performance analysis of multi-core processors using virtual tasks
CN109389278B (en) System and method for plant efficiency assessment
US20140282416A1 (en) Method and system of visually combining profiling data from instrumentation and sampling
GB2476544A (en) Relational modeling for performance analysis of multi-core processors
US20120232880A1 (en) Performance assessment of a program model
CN110737704B (en) Data display method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14829908

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2014829908

Country of ref document: EP