Method and system for selecting and distinguishing an event...

Error detection/correction and fault detection/recovery – Data processing system error or fault handling – Reliability and availability

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Reexamination Certificate

active

06708296

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates to the field of performance monitoring in processing systems, and more particularly, to monitoring during a selected event sequence in a processing system.
BACKGROUND OF THE INVENTION
In typical computer systems utilizing processors, system developers desire optimization of execution software for more effective system design. Usually, studies of a program's access patterns to memory and interaction with a system's memory hierarchy are performed to determine system efficiency. Understanding the memory hierarchy behavior aids in developing algorithms that schedule and/or partition tasks, as well as distribute and structure data for optimizing the system.
Performance monitoring is often used in optimizing the use of software in a system. A performance monitor is generally regarded as a facility incorporated into a processor to monitor selected characteristics to assist in the debugging and analyzing of systems by determining a machine's state at a particular point in time. Often, the performance monitor produces information relating to the utilization of a processor's instruction execution and storage control. For example, the performance monitor can be utilized to provide information regarding the amount of time that has passed between events in a processing system. The information produced usually guides system architects toward ways of enhancing performance of a given system or of developing improvements in the design of a new system.
Current approaches to performance monitoring include the use of test instruments. Unfortunately, this approach is not completely satisfactory. Test instruments can be attached to the external processor interface, but these can not determine the nature of internal operations of a processor. Test instruments attached to the external processor interface cannot distinguish between instructions executing in the processor. Test instruments designed to probe the internal components of a processor are typically considered prohibitively expensive because of the difficulty associated with monitoring the many busses and probe points of complex processor systems that employ pipelines, instruction prefetching, data buffering, and more than one level of memory hierarchy within the processors. A common approach for providing performance data is to change or instrument the software. This approach however, significantly affects the path of execution and may invalidate any results collected. Consequently, software-accessible counters are incorporated into processors. Most software-accessible counters, however, are limited in the amount of granularity of information they provide.
Further, a conventional performance monitor is usually unable to capture machine state data until an interrupt is signaled, so that results may be biased toward certain machine conditions that are present when the processor allows interrupts to be serviced. Also, interrupt handlers may cancel some instruction execution in a processing system where, typically, several instructions are in progress at one time. Further, many interdependencies exist in a processing system, so that in order to obtain any meaningful data and profile, the state of the processing system must be obtained at the same time across all system elements. Accordingly, control of the sample rate is important because this control allows the processing system to capture the appropriate state. It is also important that the effect that the previous sample has on the sample being monitored is negligible to ensure the performance monitor does not affect the performance of the processor. Accordingly, there exists a need for a system and method for effectively monitoring processing system performance that will efficiently and noninvasively identify potential areas for improvement.
More particularly, because monitoring of a user specified fragment of code is of interest, a need exists to allow the control of monitoring as a user selectable support using an effective address that is not unique to a process as an identifier of an event intended to be process dependent.
SUMMARY OF THE INVENTION
The present invention presents system and method aspects that meet these needs. With the present invention, improved performance in a processing system is obtainable. In accordance with one aspect, a method and system for providing a match on a selected event in performance monitoring of a processing system, the processing system including at least one performance monitor counter (PMC) is disclosed. The method and system comprises initializing the at least one PMC and controlling counting in the at least one PMC based upon the nth occurrence of a match to a specified process, where n is greater than or equal to one.


REFERENCES:
patent: 3702005 (1972-10-01), Ingalls, Jr.
patent: 3707725 (1972-12-01), Dellheim
patent: 3728692 (1973-04-01), Fennel, Jr.
patent: 3771144 (1973-11-01), Belady et al.
patent: 3818458 (1974-06-01), Deese
patent: 3828324 (1974-08-01), Vigil et al.
patent: 3905023 (1975-09-01), Perpiglia
patent: 4010448 (1977-03-01), Bennett et al.
patent: 4034353 (1977-07-01), Denny et al.
patent: 4068304 (1978-01-01), Beausoleil et al.
patent: 4821178 (1989-04-01), Levin et al.
patent: 5103394 (1992-04-01), Blasciak
patent: 5151981 (1992-09-01), Westcott et al.
patent: 5265255 (1993-11-01), Bonevento et al.
patent: 5394529 (1995-02-01), Brown, III et al.
patent: 5440750 (1995-08-01), Kitai et al.
patent: 5461722 (1995-10-01), Goto
patent: 5467473 (1995-11-01), Kahle et al.
patent: 5473754 (1995-12-01), Folwell et al.
patent: 5485574 (1996-01-01), Bolosky et al.
patent: 5491829 (1996-02-01), Kau et al.
patent: 5506955 (1996-04-01), Chen et al.
patent: 5506975 (1996-04-01), Onodera
patent: 5537541 (1996-07-01), Wibecan
patent: 5539907 (1996-07-01), Srivastava et al.
patent: 5557548 (1996-09-01), Gover et al.
patent: 5564015 (1996-10-01), Bunnell
patent: 5581482 (1996-12-01), Wiedenman et al.
patent: 5594864 (1997-01-01), Trauben
Brantley et al., “RP3 Performance Monitoring Hardware”, Instrumentation for Future Parallel Computing Systems, Ass. for computing Macinery, Inc., pp. 35-47, 1989.*
M. Becker, “The PowerPC 601 Microprocessor”, IEEE, pp. 54-68.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and system for selecting and distinguishing an event... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and system for selecting and distinguishing an event..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and system for selecting and distinguishing an event... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3227312

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.