Bus bandwidth consumption profiler

Electrical computers and digital data processing systems: input/ – Intrasystem connection – Protocol

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C710S117000, C710S116000, C710S107000, C710S110000, C377S115000

Reexamination Certificate

active

06735653

ABSTRACT:

FIELD OF THE INVENTION
The present invention generally relates to devices for measuring the bandwidth consumption of bus masters in a CPU-based system, and more particularly to a bus bandwidth consumption profiler which counts bus cycles owned by the bus masters over a period of time and simultaneously stores the number of owned bus cycles for output to the system to permit calculation of bus bandwidth consumption.
BACKGROUND OF THE INVENTION
In a variety of CPU-based systems, a microprocessor communicates with memory devices over a communications bus. The microprocessor and other such bus masters, including the system UART, ethernet controller, etc., may function as data producers by placing data on the bus for storage in the memory devices (bus slaves), or as data consumers by removing data placed on the bus by the bus slaves. Either way, access to the bus by the bus masters is typically controlled by a bus arbiter which ensures that only one bus master drives the bus at any given time to avoid short circuits and damage to the system components.
More specifically, bus masters communicate over the bus by setting up a data transaction with the bus arbiter, executing the transaction, and acknowledging its conclusion. The amount of time (or number of clock cycles) a bus master has ownership of the bus during a given time period is proportional to the bus bandwidth consumption of that bus master. Between data transactions, dead time is provided to prevent two bus masters from simultaneously owning the bus. Accordingly, at least one dead cycle is typically required for every data transaction. As is well known in the art, the efficiency of the bus in terms of data transferred per unit time is decreased by each dead cycle. Since various bus masters are designed to transfer data at various data rates, a theoretical maximum efficiency exists for a given system of bus masters. If the clock speed (or frequency) of the bus is faster than the speed corresponding to maximum efficiency for the system, then the clock speed should be reduced to reduce power consumption. Accordingly, the more precisely the bandwidth consumption of the bus masters can be determined, the lower the system clock speed can be while maintaining the same throughput.
Conventional systems employ hard-wired logic circuits to measure bus bandwidth consumption. These circuits may also be incorporated in a system feedback loop to adjust the system clock speed in response to dynamic changes in bandwidth consumption. Such hardware-based systems, however, are undesirable for a variety of reasons. Clock frequency in hardware systems without bandwidth consumption feedback is based solely on estimates of the bandwidth consumption of the various bus masters. If the estimates are overly conservative (i.e., the clock frequency is higher than necessary to accommodate the desired throughput), then the entire chip design is undesirable because it consumes excessive power. Even hardware systems which incorporate bandwidth consumption feedback and clock speed adjustment are deficient because the intelligence used to adjust the clock speed is hard-wired and incapable of being adapted to different applications.
SUMMARY OF THE INVENTION
The present invention provides a bus bandwidth consumption profiler for measuring and reporting bus cycle utilization in a computer system having multiple bus masters and a bus arbiter for granting the masters ownership of the bus. In one embodiment, the profiler includes multiple master counters and a realtime counter. The master counters are individually paired with the bus masters to count cycles of bus ownership by their corresponding bus master. The realtime counter counts all bus cycles that occur during a time period ending with a profile event. Depending upon the profiler architecture, the profile event may occur when the realtime counter reaches its maximum count value (roll-over), or when the computer system provides a read signal to the profiler. When either profile event occurs, the current cycle counts of the master counters are simultaneously stored for output to the system. The realtime counter count is either known when the profile event is a realtime counter roll-over, or is stored at the time the cycle counts of the master counters are stored. A system designer may access these snap-shots of bus utilization to determine bus bandwidth consumption of the bus masters and tailor the system clock frequency to the desired system throughput, thereby minimizing system power consumption. The profiler may also be used in a system feedback loop to permit dynamic adjustment to the system clock frequency according to algorithms stored in the system CPU.
In another embodiment, the profiler uses fewer master counters than the number of bus masters in the system. Each master counter is configurable to count bus cycles owned by a selected master. A total counter may also be provided to count the combined bus cycles owned by all bus masters. Upon the occurrence of a profile event, the count data of the master counters, the total counter, and the realtime counter is simultaneously determined. Accordingly, the bus bandwidth consumption of the selected masters, as well as of the combined, non-selected masters, can be calculated using a reduced number of counters. This embodiment may likewise be employed as a design tool or as a bandwidth consumption monitoring device in a clock frequency correction feedback loop.


REFERENCES:
patent: 4789926 (1988-12-01), Clarke
patent: 5499345 (1996-03-01), Watanabe
patent: 5506969 (1996-04-01), Wall et al.
patent: 5560016 (1996-09-01), Fiebrich et al.
patent: 5564025 (1996-10-01), De Freese et al.
patent: 5623672 (1997-04-01), Popat
patent: 5740380 (1998-04-01), LaBerge et al.
patent: 5771358 (1998-06-01), LaBerge
patent: 5778194 (1998-07-01), McCombs
patent: 5778200 (1998-07-01), Gulick
patent: 5845097 (1998-12-01), Kang et al.
patent: 5956493 (1999-09-01), Hewitt et al.
patent: 6018560 (2000-01-01), Kim
patent: 6018803 (2000-01-01), Kardach
patent: 6058450 (2000-05-01), LaBerge
patent: 6122693 (2000-09-01), Gutta et al.
patent: 6145040 (2000-11-01), LaBerge et al.
patent: 6178475 (2001-01-01), O'Brien
patent: 6222900 (2001-04-01), Hara
patent: 6226702 (2001-05-01), Yakashiro
patent: 63128461 (1988-06-01), None
patent: 11238035 (1999-08-01), None
“Concurrent/Real Time Arbitration Utilization Circuit,” IBM Technical Disclosure Bulletin, Dec. 1994, pp. 111-114.

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

Bus bandwidth consumption profiler does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Bus bandwidth consumption profiler, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Bus bandwidth consumption profiler will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3243732

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