US20020188716A1 - System and method for implementing a communication profiler - Google Patents

System and method for implementing a communication profiler Download PDF

Info

Publication number
US20020188716A1
US20020188716A1 US09/876,379 US87637901A US2002188716A1 US 20020188716 A1 US20020188716 A1 US 20020188716A1 US 87637901 A US87637901 A US 87637901A US 2002188716 A1 US2002188716 A1 US 2002188716A1
Authority
US
United States
Prior art keywords
data
profiler
coupled
interconnect
communication
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.)
Abandoned
Application number
US09/876,379
Inventor
Kraig Bottemiller
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.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to US09/876,379 priority Critical patent/US20020188716A1/en
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BOTTEMILLER, KRAIG A.
Publication of US20020188716A1 publication Critical patent/US20020188716A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Definitions

  • the present invention relates in general to the field of data processing systems, and in particular, to profiling data processing systems. Still more particularly, the present invention relates to a method and system for recording and transmitting data concerning system performance.
  • Profiling is a technique commonly used by software developers to gather information about the operation of their code. Such information can then be used for code improvement.
  • a profiler adds monitoring code to the executable file so that the monitoring code records various types of statistical data during the program execution. The type of data recorded depends on the profiler being used.
  • prof One traditional and widely used profiler for the UNIX operating system is known as prof.
  • Object code files are supplied to prof, which links the object code files and adds monitoring routines to the beginning and the end of a program.
  • the initial routines set up a program sampler triggered by timing interrupts.
  • the program sampler which is invoked at intervals of ⁇ fraction (1/100) ⁇ of a second, records the value of a program counter register.
  • the routines added to the end of the program take the recorded information and generate an output file showing the execution time consumed by the various routines.
  • the output file can be presented in the form of a histogram.
  • the aforementioned information can be useful to a programmer by indicating which routine consumes the most execution time and may therefore be a candidate for optimization.
  • the profiler prof suffers from a number of limitations: prof requires operating system (“OS”) support for its interrupts; prof also identifies where the execution is at the sampling times, but does not identify the call chain that led to the current function being called; and prof relies on timed interrupts with a ⁇ fraction (1/100) ⁇ second sampling interval. This lengthy interval causes sampling errors because with today's fast processing speeds, many instructions or even complete routines can be executed in ⁇ fraction (1/100) ⁇ of a second.
  • OS operating system
  • gprof Another commonly used profiler, known as gprof, relies on recompilation of source code to add more monitoring features than those present in prof. In addition to the interrupt sampling performed by prof, gprof adds code to the beginning of each function that performs a call to gprof. A significant problem arises, however, if the program employs library code for which source files are unavailable. The profiler gprof is then unable to process the functions defined in these files, and the function callers cannot then be recorded. When the execution sequence passes into one of these unmonitored functions, the call trace is severed. If the unmonitored function initiates calls that lead back into a monitored function, such calling of the monitored function will be disconnected from the remainder of the call trace. Such situations are termed “spontaneous function calls.”
  • the main disadvantage of the aforementioned profiling methods is that the system is perturbed during the analysis. By adding extra code to the program to be analyzed, software overhead is added, and the performance of the system is decreased. Also, conventional profiling methods only provide information on how much execution time 5 each routine consumes, but provides no information about actual bus transfer speeds or other hardware information. In addition, software implementations of profilers require extra operating system and compiler support options that are not typically available in embedded or system-on-a-chip systems. Hardware designers frequently require information regarding bus utilization, probability of contention, bottlenecks, and the use of resources. Such data cannot be accurately gathered using traditional software profiling methods due the performance decrease suffered from implementing the extra profiling code.
  • Still another method for system monitoring that is well-known to those skilled in the art involves connecting an analyzer to a processor bus. Because system monitoring with an analyzer adds no software overhead, a more accurate picture of system operation can be obtained. However, using an analyzer for system monitoring can be cost prohibitive because a conventional direct connection to a system bus can require forty or more wire connections. Also, the sheer amount of data collected can be difficult to sort to retrieve the relevant data. System monitoring with an analyzer is also limited generally to systems that utilize discrete components and would be extremely difficult to use to monitor a configuration such as a system-on-a-chip due to the numerous required wire connections.
  • a data processing element for use in a host system includes a processor, a system memory, multiple peripherals, and a communication profiler.
  • the communication profiler includes a control unit, a transaction timer, a local memory, a data serializer/transmitter, and an output port.
  • the output port is connected to an external analyzer.
  • the control unit directs the capture of a set of data deemed useful by a user of the present invention.
  • the data set is stored in the local memory until the data are serially transmitted via the output port to an external analyzer.
  • the communication profiler samples, summarizes, and transmits information taken from interactions between the system processor and other components of the host system.
  • FIG. 1 is a pictorial representation of a host data processing system, including a host interconnect, a host memory system, a host processor, and multiple peripherals, which may be utilized to implement the present invention
  • FIG. 2 depicts a data processing system that includes a system interconnect, a communication profiler, and multiple master and slave elements in accordance with a preferred embodiment of the present invention
  • FIG. 3 illustrates a detailed depiction of a communication profiler that includes a transaction timer, a profiler interconnect, a control unit, a local memory, a data serializer/transmitter, an input port, an output port, a control register, and external connections in accordance with a preferred embodiment of the present invention
  • FIG. 4 depicts a detailed illustration of a communication summary table in a local memory structure of the communication profiler in accordance to a preferred embodiment of the present invention.
  • FIG. 5 is a high-level logic flow chart of a method of gathering hardware performance data from a data processing system implemented as a system-on-a-chip element in accordance with a preferred embodiment of the present invention.
  • a host system 100 including a host processor 102 coupled to a memory controller 104 by a host interconnect 108 a . Further coupling memory controller 104 to host system memory 106 is a host interconnect 108 b .
  • a host interconnect 108 c couples a non-volatile memory 112 , a video card 114 , and a data processing system 116 .
  • data processing system 116 can be implemented as a small computer system interface (SCSI) controller and is coupled to multiple peripherals 120 a - 120 n through a secondary interconnect 118 . These peripherals 120 a - 120 n can be implemented as a magnetic storage device, or any other device is compatible with the SCSI standard.
  • An analyzer interconnect 110 couples data processing system 116 to external analyzer 122 .
  • Data processing system 116 includes a communication profiler 162 , multiple master elements 150 a - 150 n , and multiple slave elements 152 a - 152 n all coupled to system interconnect 154 .
  • Master elements 150 a - 150 n can be implemented as any type of controller device.
  • a processor 150 a can be considered a master element.
  • Slave elements 152 a - 152 n can be implemented as memory, or any other type of controlled device.
  • system interconnect 154 can be implemented using a bus, switch, or any other type of coupling means.
  • Communication profiler 162 monitors system interconnect 154 for tenures of interest initiated by either master elements 150 a - 150 n or slave elements 152 a - 152 n . As described below in detail, communication profiler 162 captures selected data from the tenures and communicates the captured data, via analyzer interconnect 110 , to external analyzer 122 .
  • data processing system 116 can be implemented on a single integrated circuit substrate.
  • This configuration is well-known in the art as a “system-on-a-chip” (SOC) implementation.
  • SOC typically includes several complex circuit blocks, or modules, within the bounds of a single integrated circuit substrate.
  • the basic concept behind SOC design involves placing logic cores or memory macros in an integrated circuit substrate much the same way shelf components are placed on printed circuit boards, then adding memory, logic, and data path or interconnect coupling in order to implement system level integration.
  • SOC's address the need for higher chip densities and permit more data processing system functionality such as audio, video, and graphics, which have typically been coupled to a processor at the card level, to be integrated into a single integrated circuit substrate.
  • a “tenure” is defined as a continuous transmission of data including instructions over an interconnect by an initiator.
  • Some examples of tenures are: requests, responses, and data transfers between master elements 150 a - 150 n and slave elements 152 a - 152 n .
  • An “operation” by contrast, is defined as one or more tenures including a request tenure and associated action(s) by master elements 150 a - 150 n or slave elements 150 a - 150 n utilized to service the request tenure. As shown in FIG.
  • communication profiler 162 has an input port 214 coupled to system interconnect 154 and an output port 200 coupled to analyzer interconnect 110 .
  • communication profiler contains a control unit 206 that monitors tenures on system interconnect 154 and filters the tenure data for selected data of interest in response to settings of a control register 204 .
  • Control unit 206 is coupled to transaction timer 202 that can be utilized to recode the duration of a pending operation monitored on system interconnect 154 .
  • a local memory 208 coupled to control unit 206 stores the filtered data obtained by control unit 206 .
  • Coupled to local memory 208 is data serializer/transmitter 210 , which translates filtered data from parallel to serial format and transmits the data via output port 200 and analyzer interconnect 110 to external analyzer 122 . Because of the serialization of the monitoring data by data serializer/transmitter 210 , communication profiler 162 can advantageously be coupled to external analyzer 122 through a single wire connection, thus providing a significant advantage over the prior art implementations, which often required over forty wire connections.
  • Master identification (ID) field 400 stores data that identify which one of master elements 150 a - 150 n is participating in the tenure.
  • Slave ID field 402 similarly contains data indicating which one of the multiple slave elements 152 a - 152 n in data processing system 116 is participating in the tenure.
  • a duration of an operation is stored in clock field 404 .
  • the size of the data transferred by the tenure is stored in transfer size field 408 .
  • Read field 406 stores an indication of whether or not the present tenure requests a read operation.
  • primary/secondary 410 field indicates whether the tenure is a blocked (secondary) or a non-blocked (primary) operation, as explained later in more detail.
  • Table entries 412 a - 412 n include filtered data from individual tenures.
  • FIG. 5 a logic flowchart illustrating a preferred method of communication profiling according to the present invention is depicted.
  • a preferred embodiment of the present invention can implement the communication profiling method utilizing logic circuitry within control unit 206 .
  • the process begins at block 500 and then continues to block 501 , which illustrates processor 150 a setting control register 204 to activate communication profiler 162 .
  • Communication profiler 162 then monitors system interconnect 154 for a selected set of tenures.
  • a determination is made whether or not a tenure of interest is valid. If the monitored tenure is not valid, the procedure iterates at block 502 , as illustrated. If the monitored tenure is valid, the process continues to block 504 , which illustrates control unit 206 storing information filtered from the tenure within master ID field 400 , slave ID field 402 , read field 406 , transfer size 408 , and s primary/secondary field 410 in local memory 206 .
  • the transaction timer is also reset and started, as depicted at block 506 .
  • a primary or non-blocked operation is an operation for which processor 150 a has direct access to a component via a system interconnect 154 .
  • a secondary or blocked operation is an operation blocked by another operation on the system interconnect 154 targeting the same slave component 152 .
  • the primary/secondary operation scheme introduces a two-tiered priority scheme in which operations that cannot be executed immediately are designated as secondary operations.
  • the process continues to block 516 , which depicts the processing of the secondary operation waiting on completion of the primary operation.
  • the secondary operation is then designated as a primary operation.
  • the process returns to block 508 , and then, since the snooped operation is no longer considered a secondary operation, the process continues to block 510 .
  • Block 510 depicts processor 150 a sending a signal to reset control register 204 upon completion of the operation, thus halting the monitoring performed by communication profiler 162 .
  • transaction timer 202 is stopped when the monitoring process of communication profiler 162 ends.
  • Control unit 206 then stores the duration measured by transaction timer 202 in clock field 404 .
  • the data stored in local memory 208 which summarizes the monitored tenure may then be serialized and transmitted by data serializer/transmitter 210 , as depicted in block 514 . The process thereafter returns from block 514 to block 502 , and processing continues.
  • communication profiler 162 when activated, monitors a system interconnect for a specific set of tenures and filters data received from the specific set of tenures for data requested by the user.
  • the data requested by the user is then saved in a local profiler memory in summary form and transmitted without perturbing the operation of the data operating system 116 . This is accomplished because there is no software overhead in this preferred embodiment of the present invention.
  • a communication profiler monitors a data processing system (e.g., a SOC) for specific valid tenures between a master element and a slave element. If a monitored tenure is deemed valid, a control unit is utilized to filter specific data from the monitored tenure. This specific data is stored in a local memory as a tenure summary and then transmitted to an external analyzer.
  • An advantage of the present invention is that specific data are filtered from a monitored tenure by the communication profiler. Thus, a user may gather only the needed hardware performance data from a predefined set of tenures. Also, the hardware performance data gathered is more representative of the actual performance of the data processing system because the communication profiler filters data without perturbing the operation of the data processing system during the monitoring process.

Abstract

A system and method for recording and transmitting data concerning hardware performance in data processing systems. A host system includes a host processor, a data processing element and a host system memory coupled via a host interconnect. The data processing element includes multiple master elements, multiple slave elements, a system interconnect, and a communication profiler. A determination is made if the received address a valid primary or secondary address. Then, if a valid primary or secondary address is received, data are stored in a memory system and the transaction timer is set and started. If the present operation is considered secondary, the present operation is held until the primary operation is complete. When the primary operation is completed, the secondary operation is now designated a primary operation. Then, the transaction timer is turned off when the data transfer operation ends. The data are then serialized and transmitted. The operation then returns to its starting state.

Description

    BACKGROUND OF THE INVENTION
  • 1. Technical Field [0001]
  • The present invention relates in general to the field of data processing systems, and in particular, to profiling data processing systems. Still more particularly, the present invention relates to a method and system for recording and transmitting data concerning system performance. [0002]
  • 2. Description of the Related Art [0003]
  • Profiling is a technique commonly used by software developers to gather information about the operation of their code. Such information can then be used for code improvement. A profiler adds monitoring code to the executable file so that the monitoring code records various types of statistical data during the program execution. The type of data recorded depends on the profiler being used. [0004]
  • One traditional and widely used profiler for the UNIX operating system is known as prof. Object code files are supplied to prof, which links the object code files and adds monitoring routines to the beginning and the end of a program. The initial routines set up a program sampler triggered by timing interrupts. The program sampler, which is invoked at intervals of {fraction (1/100)} of a second, records the value of a program counter register. The routines added to the end of the program take the recorded information and generate an output file showing the execution time consumed by the various routines. The output file can be presented in the form of a histogram. [0005]
  • The aforementioned information can be useful to a programmer by indicating which routine consumes the most execution time and may therefore be a candidate for optimization. However, the profiler prof suffers from a number of limitations: prof requires operating system (“OS”) support for its interrupts; prof also identifies where the execution is at the sampling times, but does not identify the call chain that led to the current function being called; and prof relies on timed interrupts with a {fraction (1/100)} second sampling interval. This lengthy interval causes sampling errors because with today's fast processing speeds, many instructions or even complete routines can be executed in {fraction (1/100)} of a second. The execution of short routines can therefore go entirely undetected by prof, and sampling errors can cause significant inaccuracies in the measured execution times even for longer routines. The {fraction (1/100)} sampling interval could be theoretically shortened, but decreasing the sampling interval has been found to add excessive overhead. Prof implementations therefore generally do not allow “tuning” of the sampling rate. Furthermore, because the timing interrupts that trigger the sampling mechanism are not generated during OS function calls, OS function calls appear “free” under prof, whereas they actually might be responsible for a majority of the total execution time. [0006]
  • Another commonly used profiler, known as gprof, relies on recompilation of source code to add more monitoring features than those present in prof. In addition to the interrupt sampling performed by prof, gprof adds code to the beginning of each function that performs a call to gprof. A significant problem arises, however, if the program employs library code for which source files are unavailable. The profiler gprof is then unable to process the functions defined in these files, and the function callers cannot then be recorded. When the execution sequence passes into one of these unmonitored functions, the call trace is severed. If the unmonitored function initiates calls that lead back into a monitored function, such calling of the monitored function will be disconnected from the remainder of the call trace. Such situations are termed “spontaneous function calls.”[0007]
  • The main disadvantage of the aforementioned profiling methods is that the system is perturbed during the analysis. By adding extra code to the program to be analyzed, software overhead is added, and the performance of the system is decreased. Also, conventional profiling methods only provide information on how much execution time [0008] 5 each routine consumes, but provides no information about actual bus transfer speeds or other hardware information. In addition, software implementations of profilers require extra operating system and compiler support options that are not typically available in embedded or system-on-a-chip systems. Hardware designers frequently require information regarding bus utilization, probability of contention, bottlenecks, and the use of resources. Such data cannot be accurately gathered using traditional software profiling methods due the performance decrease suffered from implementing the extra profiling code.
  • Still another method for system monitoring that is well-known to those skilled in the art involves connecting an analyzer to a processor bus. Because system monitoring with an analyzer adds no software overhead, a more accurate picture of system operation can be obtained. However, using an analyzer for system monitoring can be cost prohibitive because a conventional direct connection to a system bus can require forty or more wire connections. Also, the sheer amount of data collected can be difficult to sort to retrieve the relevant data. System monitoring with an analyzer is also limited generally to systems that utilize discrete components and would be extremely difficult to use to monitor a configuration such as a system-on-a-chip due to the numerous required wire connections. [0009]
  • SUMMARY OF THE INVENTION
  • To overcome the foregoing and additional limitations in the prior art, a data processing element for use in a host system according to the present invention includes a processor, a system memory, multiple peripherals, and a communication profiler. The communication profiler includes a control unit, a transaction timer, a local memory, a data serializer/transmitter, and an output port. The output port is connected to an external analyzer. The control unit directs the capture of a set of data deemed useful by a user of the present invention. The data set is stored in the local memory until the data are serially transmitted via the output port to an external analyzer. When activated, the communication profiler samples, summarizes, and transmits information taken from interactions between the system processor and other components of the host system. [0010]
  • In a method of communication profiling according to the present invention, a determination is made if a valid address has been received. If a valid address is received, the control unit is activated, sampling relevant data and storing sampled data in a local memory. A transaction timer is set and started. If the present operation is considered secondary, the present operation is held until a higher priority primary operation completes. When the primary operation completes, the secondary operation is then designated a primary operation. The transaction timer is disabled when all relevant operations end. The sampled data are then serialized and transmitted. [0011]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself however, as well as a preferred mode of use, further objects and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein: [0012]
  • FIG. 1 is a pictorial representation of a host data processing system, including a host interconnect, a host memory system, a host processor, and multiple peripherals, which may be utilized to implement the present invention; [0013]
  • FIG. 2 depicts a data processing system that includes a system interconnect, a communication profiler, and multiple master and slave elements in accordance with a preferred embodiment of the present invention; [0014]
  • FIG. 3 illustrates a detailed depiction of a communication profiler that includes a transaction timer, a profiler interconnect, a control unit, a local memory, a data serializer/transmitter, an input port, an output port, a control register, and external connections in accordance with a preferred embodiment of the present invention; [0015]
  • FIG. 4 depicts a detailed illustration of a communication summary table in a local memory structure of the communication profiler in accordance to a preferred embodiment of the present invention; and [0016]
  • FIG. 5 is a high-level logic flow chart of a method of gathering hardware performance data from a data processing system implemented as a system-on-a-chip element in accordance with a preferred embodiment of the present invention. [0017]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
  • With reference now to the figures, and in particular with reference to FIG. 1, there is depicted a [0018] host system 100 including a host processor 102 coupled to a memory controller 104 by a host interconnect 108 a. Further coupling memory controller 104 to host system memory 106 is a host interconnect 108 b. A host interconnect 108 c couples a non-volatile memory 112, a video card 114, and a data processing system 116. According to a preferred embodiment of the present invention, data processing system 116 can be implemented as a small computer system interface (SCSI) controller and is coupled to multiple peripherals 120 a-120 n through a secondary interconnect 118. These peripherals 120 a-120 n can be implemented as a magnetic storage device, or any other device is compatible with the SCSI standard. An analyzer interconnect 110 couples data processing system 116 to external analyzer 122.
  • Referring now to FIG. 2, a more detailed view of data processing system [0019] 116 is illustrated. Data processing system 116 includes a communication profiler 162, multiple master elements 150 a-150 n, and multiple slave elements 152 a-152 n all coupled to system interconnect 154. Master elements 150 a-150 n can be implemented as any type of controller device. For example, a processor 150 a can be considered a master element. Slave elements 152 a-152 n can be implemented as memory, or any other type of controlled device. Those skilled in the art should appreciate that system interconnect 154 can be implemented using a bus, switch, or any other type of coupling means.
  • [0020] Communication profiler 162 monitors system interconnect 154 for tenures of interest initiated by either master elements 150 a-150 n or slave elements 152 a-152 n. As described below in detail, communication profiler 162 captures selected data from the tenures and communicates the captured data, via analyzer interconnect 110, to external analyzer 122.
  • According to a preferred embodiment of the present invention, data processing system [0021] 116 can be implemented on a single integrated circuit substrate. This configuration is well-known in the art as a “system-on-a-chip” (SOC) implementation. An SOC typically includes several complex circuit blocks, or modules, within the bounds of a single integrated circuit substrate. The basic concept behind SOC design involves placing logic cores or memory macros in an integrated circuit substrate much the same way shelf components are placed on printed circuit boards, then adding memory, logic, and data path or interconnect coupling in order to implement system level integration. SOC's address the need for higher chip densities and permit more data processing system functionality such as audio, video, and graphics, which have typically been coupled to a processor at the card level, to be integrated into a single integrated circuit substrate.
  • With reference now to FIG. 3, a more detailed illustration of [0022] communication profiler 162 is depicted. In the following description of a preferred embodiment of communication profiler 162, reference will be made to “tenures” and “operations.” As utilized herein, a “tenure” is defined as a continuous transmission of data including instructions over an interconnect by an initiator. Some examples of tenures are: requests, responses, and data transfers between master elements 150 a-150 n and slave elements 152 a-152 n. An “operation” by contrast, is defined as one or more tenures including a request tenure and associated action(s) by master elements 150 a-150 n or slave elements 150 a-150 n utilized to service the request tenure. As shown in FIG. 3, communication profiler 162 has an input port 214 coupled to system interconnect 154 and an output port 200 coupled to analyzer interconnect 110. In addition, communication profiler contains a control unit 206 that monitors tenures on system interconnect 154 and filters the tenure data for selected data of interest in response to settings of a control register 204. Control unit 206 is coupled to transaction timer 202 that can be utilized to recode the duration of a pending operation monitored on system interconnect 154. A local memory 208 coupled to control unit 206 stores the filtered data obtained by control unit 206. Coupled to local memory 208 is data serializer/transmitter 210, which translates filtered data from parallel to serial format and transmits the data via output port 200 and analyzer interconnect 110 to external analyzer 122. Because of the serialization of the monitoring data by data serializer/transmitter 210, communication profiler 162 can advantageously be coupled to external analyzer 122 through a single wire connection, thus providing a significant advantage over the prior art implementations, which often required over forty wire connections.
  • With reference to FIG. 4, there is depicted a more detailed illustration of a table within local memory [0023] 208 containing multiple entries 412 a-412 n that each contain data characterizing at least one tenure monitored by communication profiler 162 over system interconnect 154. Master identification (ID) field 400 stores data that identify which one of master elements 150 a-150 n is participating in the tenure. Slave ID field 402 similarly contains data indicating which one of the multiple slave elements 152 a-152 n in data processing system 116 is participating in the tenure. A duration of an operation is stored in clock field 404. The size of the data transferred by the tenure is stored in transfer size field 408. Read field 406 stores an indication of whether or not the present tenure requests a read operation. Finally, primary/secondary 410 field indicates whether the tenure is a blocked (secondary) or a non-blocked (primary) operation, as explained later in more detail. Table entries 412 a-412 n include filtered data from individual tenures.
  • With reference to FIG. 5, a logic flowchart illustrating a preferred method of communication profiling according to the present invention is depicted. A preferred embodiment of the present invention can implement the communication profiling method utilizing logic circuitry within [0024] control unit 206.
  • As illustrated, the process begins at [0025] block 500 and then continues to block 501, which illustrates processor 150 a setting control register 204 to activate communication profiler 162. Communication profiler 162 then monitors system interconnect 154 for a selected set of tenures. Next at block 502, a determination is made whether or not a tenure of interest is valid. If the monitored tenure is not valid, the procedure iterates at block 502, as illustrated. If the monitored tenure is valid, the process continues to block 504, which illustrates control unit 206 storing information filtered from the tenure within master ID field 400, slave ID field 402, read field 406, transfer size 408, and s primary/secondary field 410 in local memory 206. The transaction timer is also reset and started, as depicted at block 506.
  • Next, the process moves to block [0026] 508, which illustrates control unit 206 determining whether or not the operation specified by the tenure is a secondary operation. 10 A primary or non-blocked operation is an operation for which processor 150 a has direct access to a component via a system interconnect 154. A secondary or blocked operation is an operation blocked by another operation on the system interconnect 154 targeting the same slave component 152. The primary/secondary operation scheme introduces a two-tiered priority scheme in which operations that cannot be executed immediately are designated as secondary operations. In response to a determination that the tenure represents a secondary operation, the process continues to block 516, which depicts the processing of the secondary operation waiting on completion of the primary operation. As illustrated at block 518, following completion of the primary operation, the secondary operation is then designated as a primary operation. The process returns to block 508, and then, since the snooped operation is no longer considered a secondary operation, the process continues to block 510.
  • [0027] Block 510 depicts processor 150 a sending a signal to reset control register 204 upon completion of the operation, thus halting the monitoring performed by communication profiler 162. As illustrated in block 512, transaction timer 202 is stopped when the monitoring process of communication profiler 162 ends. Control unit 206 then stores the duration measured by transaction timer 202 in clock field 404. The data stored in local memory 208 which summarizes the monitored tenure may then be serialized and transmitted by data serializer/transmitter 210, as depicted in block 514. The process thereafter returns from block 514 to block 502, and processing continues. Thus, communication profiler 162, when activated, monitors a system interconnect for a specific set of tenures and filters data received from the specific set of tenures for data requested by the user. The data requested by the user is then saved in a local profiler memory in summary form and transmitted without perturbing the operation of the data operating system 116. This is accomplished because there is no software overhead in this preferred embodiment of the present invention.
  • As described above, an improved system and method of implementing a communication profiler is presented. A communication profiler, as implemented according to a preferred embodiment of the present invention, monitors a data processing system (e.g., a SOC) for specific valid tenures between a master element and a slave element. If a monitored tenure is deemed valid, a control unit is utilized to filter specific data from the monitored tenure. This specific data is stored in a local memory as a tenure summary and then transmitted to an external analyzer. An advantage of the present invention is that specific data are filtered from a monitored tenure by the communication profiler. Thus, a user may gather only the needed hardware performance data from a predefined set of tenures. Also, the hardware performance data gathered is more representative of the actual performance of the data processing system because the communication profiler filters data without perturbing the operation of the data processing system during the monitoring process. [0028]
  • While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention. [0029]

Claims (14)

What is claimed is:
1. A communication profiler, for use with a data processing system including a processor and a memory coupled by a system interconnect, wherein said communication profiler comprises:
a control unit including an input port coupled to said system interconnect, wherein said control unit receives a collection of data via said input port as a result of a tenure on said system interconnect, wherein said control unit filters said collection of data from said tenure to obtain specific data requested by a user and organizes said specific data as a summary.
2. The communication profiler according to claim 1, further comprising:
a profiler interconnect; and
a profiler memory, coupled to said profiler interconnect, wherein said profiler memory stores said summary.
3. The communication profiler according to claim 1, further including:
an output port that can be coupled to an external analyzer to communicate said summary.
4. The communication profiler according to claim 1, further comprising:
a control register, coupled to said control unit, which activates filtering of said collection of data by said control unit.
5. The communication profiler according to claim 1, further including:
a transaction timer, coupled to said control unit, wherein said transaction timer is utilized to record a duration of a operation pending.
6. The communication profiler according to claim 1, further comprising:
a data serializing and transmitting device that serially outputs said summary from said communication profiler, wherein said summary is indicative of normal hardware performance.
7. A data processing system, comprising:
a system interconnect;
a plurality of master elements, coupled to said system interconnect;
a plurality of slave elements, coupled to said system interconnect; and
a communication profiler, coupled to said system interconnect, further including:
a control unit including an input port coupled to said system interconnect, wherein said control unit receives a collection of data via said input port as a result of a tenure between a master element and a slave element on said system interconnect, wherein said control unit filters said collection of data from said tenure and retrieves a set of specific data requested by a user and organizes said set of specific data as a summary.
8. The data processing system according to claim 7, wherein said data processing system is a small computer system interface (SCSI) controller.
9. The data processing system according to claim 7, wherein said data processing system is implemented on a single integrated circuit substrate.
10. A host data processing system comprising:
a host interconnect;
a host processor coupled to said host interconnect;
a host memory coupled to said host interconnect;
a data processing system including a processor and memory coupled by a system interconnect comprising:
a plurality of master elements, coupled to said system interconnect;
a plurality of slave elements, coupled to said system interconnect; and
a communication profiler, coupled to said system interconnect, further including:
a control unit including an input port coupled to said system interconnect, wherein said control unit receives a collection of data via said input port as a result of a tenure between a master element and a slave element on said system interconnect, wherein said control unit filters said collection of data from said tenure and retrieves a set of specific data requested by a user and organizes said set of specific data as a summary.
11. The host data processing system according to claim 10, further comprising:
a memory controller, coupled to said host interconnect, utilized to control said host memory.
12. A method for gathering hardware performance data, comprising the steps of:
activating a communication profiler coupled to a system interconnect by setting a control register, coupled to a control unit in said communication profiler;
monitoring a system interconnect for a tenure between a master element and a slave element of a data processing system; and
capturing a set of data resulting from said tenure and organizing said set of data into a summary, in response to detecting a tenure on said system interconnect.
13. The method for gathering hardware performance data according to claim 12, further comprising the step of:
deactivating said communication profiler, by resetting said control register.
14. The method for gathering hardware performance data according to claim 12, further comprising the step of:
transmitting said summary to an external analyzer.
US09/876,379 2001-06-07 2001-06-07 System and method for implementing a communication profiler Abandoned US20020188716A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US09/876,379 US20020188716A1 (en) 2001-06-07 2001-06-07 System and method for implementing a communication profiler

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US09/876,379 US20020188716A1 (en) 2001-06-07 2001-06-07 System and method for implementing a communication profiler

Publications (1)

Publication Number Publication Date
US20020188716A1 true US20020188716A1 (en) 2002-12-12

Family

ID=25367561

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/876,379 Abandoned US20020188716A1 (en) 2001-06-07 2001-06-07 System and method for implementing a communication profiler

Country Status (1)

Country Link
US (1) US20020188716A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5689642A (en) * 1993-10-04 1997-11-18 Xerox Corporation Recipient prioritized communication channel profiles
US6282562B1 (en) * 1999-01-14 2001-08-28 Net Reality Method for economically sub-optimizing interactions in data-communications network environments, and a device according to the method
US20020032754A1 (en) * 2000-04-05 2002-03-14 Gary Logston Method and apparatus for profiling in a distributed application environment
US6381628B1 (en) * 1998-10-02 2002-04-30 Microsoft Corporation Summarized application profiling and quick network profiling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5689642A (en) * 1993-10-04 1997-11-18 Xerox Corporation Recipient prioritized communication channel profiles
US6381628B1 (en) * 1998-10-02 2002-04-30 Microsoft Corporation Summarized application profiling and quick network profiling
US6282562B1 (en) * 1999-01-14 2001-08-28 Net Reality Method for economically sub-optimizing interactions in data-communications network environments, and a device according to the method
US20020032754A1 (en) * 2000-04-05 2002-03-14 Gary Logston Method and apparatus for profiling in a distributed application environment

Similar Documents

Publication Publication Date Title
US5440722A (en) System bus monitor for compiling data regarding use of a system bus
US8978017B2 (en) Profiling operating context
US6167358A (en) System and method for remotely monitoring a plurality of computer-based systems
US8141053B2 (en) Call stack sampling using a virtual machine
US6944796B2 (en) Method and system to implement a system event log for system manageability
US5768152A (en) Performance monitoring through JTAG 1149.1 interface
EP0130469B1 (en) Internally distributed monitoring system
US6539500B1 (en) System and method for tracing
US5067107A (en) Continuous computer performance measurement tool that reduces operating system produced performance data for logging into global, process, and workload files
US20030028701A1 (en) Integrated real-time performance monitoring facility
US6161200A (en) Method and apparatus for analyzing software executed in embedded systems
US6018809A (en) Apparatus and method for capturing information off a plurality of bi-directional communication buses
US20020120815A1 (en) Methods and apparatus for accessing trace data
EP0067324A2 (en) Software correlating hardware monitor system
EP0076921B1 (en) Method and system for time measurements of data processing channels
JPS63228844A (en) Method of data coupling between asynchronous interface, data module and asynchronous peripherals
CN100409199C (en) Diagnostic data capture within an integrated circuit
US6092219A (en) Method for use of bus parking states to communicate diagnostic information
US9916220B2 (en) Smart logging of trace data for storage systems
US7373557B1 (en) Performance monitor for data processing systems
CN103077080A (en) Method and device for acquiring parallel program performance data based on high performance platform
US6088421A (en) Method and apparatus for providing scaled ratio counters to obtain agent profiles
CN110175146B (en) Hard disk information acquisition method and device for acquiring hard disk information
US20020188716A1 (en) System and method for implementing a communication profiler
WO1998007090A1 (en) A microcontroller configured to indicate internal memory accesses externally

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:BOTTEMILLER, KRAIG A.;REEL/FRAME:011892/0903

Effective date: 20010606

STCB Information on status: application discontinuation

Free format text: ABANDONED -- AFTER EXAMINER'S ANSWER OR BOARD OF APPEALS DECISION