Method and apparatus for reducing bus bridge thrashing by...

Electrical computers and digital data processing systems: input/ – Interrupt processing – Interrupt inhibiting or masking

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C710S120000, C710S120000, C710S200000

Reexamination Certificate

active

06292865

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention pertains to data transfers in a computer system. More particularly, this invention relates to transferring data between two buses in a computer system using a bus bridge.
2. Background
As technology has progressed, the number, types, and functional power of computer system components has steadily increased. Given the large number and different operating speeds of different components, modem computer systems typically include two, three, or more buses for coupling together the different components.
One device commonly used to couple together two buses is referred to as a bus bridge. Typically, requests transferred between buses via a bus bridge can be either posted or non-posted. A posted request refers to a request from a source agent on a source bus which has been accepted by the bridge, and the source agent knows that the request will be provided to the target agent on the target bus, regardless of whether the request has been actually delivered to the target agent yet or whether it is pending in a buffer in the bridge. A non-posted request refers to a request which is being transferred through the bus bridge and the source agent does not know whether the request can be delivered to the target agent until it is actually received by the target agent.
One important goal in designing a bus bridge is to provide an efficient communication path between the two buses. However, one problem that can arise when using a bus bridge is referred to as “thrashing”. Thrashing refers to a situation where both of the buses are fully utilized, but very few, if any, data transfers between the two buses can progress. This situation can arise, for example, in a system having a bus bridge coupling a system bus and a Peripheral Component Interconnect (PCI) bus, such as a bus in accordance with the PCI Local Bus Specification, Version 2.0, published Apr. 30, 1993, or Version 2.1, published Jun. 1, 1995. If an agent on the PCI bus is writing to main memory on the system bus and posting in the bus bridge is disabled, then if a processor on the system bus is repetitively issuing requests targeting the PCI bus, each of the requests outstanding on the buses can prevent the requests of the other from progressing. When thrashing occurs, data transfers between the two buses cannot be made. Furthermore, the requests which are causing the thrashing to occur may also lock up the two buses such that no other requests can be issued by other agents on those buses. It would be beneficial to provide a mechanism which reduces thrashing in a computer system.
An additional problem which can arise when using a bus bridge is referred to as “livelock”. A livelock condition refers to a thrashing condition that persists indefinitely. Given the indefinite duration, the livelock can lock up the computer system for an indefinite period of time. It would be beneficial to provide a mechanism which reduces livelock in a computer system.
Another problem which can arise when using a bus bridge is referred to as read starvation. Read starvation of a PCI bus master, for example, can occur if the PCI bus master is not able to get through to the system bus because of requests from system bus masters. Read starvation can result in poor system performance, due to the inability of the PCI bus master to perform its tasks. It would be beneficial to provide a mechanism which reduces read starvation in a computer system.
As will be described in more detail below, the present invention provides a method and apparatus for masking processor requests to achieve these and other desired results which will be apparent to those skilled in the art from the description that follows.
SUMMARY OF THE INVENTION
A method and apparatus for masking processor requests to improve bus efficiency is described herein. A bus bridge includes a detection logic to determine when a first processor on a first bus has been backed off the first bus a predetermined number of times. When the detection logic determines the first processor has been backed off the first bus the predetermined number of times, a timer is set to a first value sufficient to allow an agent on a second bus to access the first bus. A masking logic, coupled to the detection logic and the timer, masks requests from the first processor until the timer expires.
Additionally, in one embodiment of the present invention, a sensing logic monitors PCI master requests for the first bus. If the sensing logic senses that no PCI master requests for the first bus have occurred for a period of time, the processor is unmasked and the timer is cleared.


REFERENCES:
patent: 4070704 (1978-01-01), Calle et al.
patent: 4443663 (1984-04-01), Ellis et al.
patent: 4447673 (1984-05-01), Elliott et al.
patent: 4471169 (1984-09-01), Lenk et al.
patent: 4479034 (1984-10-01), Brightman et al.
patent: 4615005 (1986-09-01), Maejima et al.
patent: 5124981 (1992-06-01), Golding
patent: 5269005 (1993-12-01), Heil et al.
patent: 5327570 (1994-07-01), Foster et al.
patent: 5333276 (1994-07-01), Solari
patent: 5369748 (1994-11-01), McFarland et al.
patent: 5429740 (1995-07-01), Bennett
patent: 5535340 (1996-07-01), Bell et al.
patent: 5546546 (1996-08-01), Bell et al.
patent: 5588125 (1996-12-01), Bennett
patent: 5596729 (1997-01-01), Lester et al.
patent: 5634112 (1997-05-01), Thome, et al.
patent: 5862358 (1999-01-01), Ervin et al.
Dix, F.R., et al., “Access to a Public Switched Multi-Megabit Data Service Offering,” Bell Communications Research, Inc. Red Bank, NJ pp. 46-61.
Popescu, et al., “The Metaflow Architecture,” IEEE Micro, Jun. 1991, pp. 10-13 and 63-73.
Peripheral Components: Chip Set, PC I/O Peripherals, Memory Controllers, UPI: Keyboard Controllers, Support Peripherals, Intel Corporation, 1994, pp. 1-419 to 1-429, 1-472, 1-508, and 1-512.

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 apparatus for reducing bus bridge thrashing by... 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 apparatus for reducing bus bridge thrashing by..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for reducing bus bridge thrashing by... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2507097

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