Senior Fitness - Exercise and Nutrition for Aging Men and Women
FREE Article Feed for your website.
Home Ownership Magazine
Party Planning Information
Article Marketing Resources
Bio-Medical Research Article Database
Informative Articles on Life, Love and Happiness
Tutorials on Business to Writing
Famous Quotes from Famous People
Song Lyric Information
New US Patent Information
Comprehensive List of Content by Category
Online Auctions and Shopping Related Articles
Article Search
Most Recent Articles
Title: Safety lock with adjustable-length bolt
Patent Number: 7,415,854 Issued on 08/26/2008 to Comunello

Title: Dual locking device
Patent Number: 7,415,853 Issued on 08/26/2008 to Yu

Title: Tubular lock with theft deterrent
Patent Number: 7,415,852 Issued on 08/26/2008 to Merrem

Title: Apparatus and methods for locking and unlocking containers
Patent Number: 7,415,851 Issued on 08/26/2008 to Lax,   et al.

Title: Lock
Patent Number: 7,415,850 Issued on 08/26/2008 to Smyczek,   et al.

Title: Pulley of washing machine
Patent Number: 7,415,849 Issued on 08/26/2008 to Kim

Title: Pulsator type washing machine with drying function
Patent Number: 7,415,848 Issued on 08/26/2008 to Jeong,   et al.

Title: Washing machine
Patent Number: 7,415,847 Issued on 08/26/2008 to Ho

Title: Button assembly and washing machine having the same
Patent Number: 7,415,846 Issued on 08/26/2008 to Park

Title: Window shade
Patent Number: 7,415,845 Issued on 08/26/2008 to Graichen

Title: Device for manufacturing a preform for optical fibres through chemical deposition
Patent Number: 7,415,844 Issued on 08/26/2008 to Roba,   et al.

Title: Apparatus and method for producing a glass optical element and glass optical element produced thereby
Patent Number: 7,415,843 Issued on 08/26/2008 to Yoneda

Title: Optical glass element and manufacturing method thereof
Patent Number: 7,415,842 Issued on 08/26/2008 to Sakata,   et al.

Title: Method for producing chemically strengthened glass substrate for information recording medium
Patent Number: 7,415,841 Issued on 08/26/2008 to Kudoh,   et al.

Title: Optimized LNG system with liquid expander
Patent Number: 7,415,840 Issued on 08/26/2008 to Eaton,   et al.

Title: Cooler receptacle
Patent Number: 7,415,839 Issued on 08/26/2008 to Robertson,   et al.

Title: Second-refrigerant pump driving type air conditioner
Patent Number: 7,415,838 Issued on 08/26/2008 to Park,   et al.

Title: Dewpoint cooler
Patent Number: 7,415,837 Issued on 08/26/2008 to Reinders

Title: Cooling apparatus and a thermostat with the apparatus installed therein
Patent Number: 7,415,836 Issued on 08/26/2008 to Enomoto

Title: Thermal control system and method
Patent Number: 7,415,835 Issued on 08/26/2008 to Cowans,   et al.

Title: In-door water dispenser with door reversibility
Patent Number: 7,415,834 Issued on 08/26/2008 to Marret,   et al.

Title: Control system for icemaker for ice and beverage dispenser
Patent Number: 7,415,833 Issued on 08/26/2008 to Leaver,   et al.

Title: Method of freezing with brine
Patent Number: 7,415,832 Issued on 08/26/2008 to Liberman,   et al.

Title: Integration of automated cryopump safety purge
Patent Number: 7,415,831 Issued on 08/26/2008 to Amundsen,   et al.

Title: Method and system for cryogenic cooling
Patent Number: 7,415,830 Issued on 08/26/2008 to Wyatt,   et al.

Title: Piston compressor
Patent Number: 7,415,829 Issued on 08/26/2008 to Rolff

Title: Fuel nozzle sheath retention ring
Patent Number: 7,415,828 Issued on 08/26/2008 to Brown

Title: Arrangement for controlling fluid jets injected into a fluid stream
Patent Number: 7,415,827 Issued on 08/26/2008 to Bertolotti,   et al.

Title: Free floating mixer assembly for combustor of a gas turbine engine
Patent Number: 7,415,826 Issued on 08/26/2008 to McMasters,   et al.

Title: Variable geometry turbocharger control method and apparatus
Patent Number: 7,415,825 Issued on 08/26/2008 to Lyons

Title: Steam engine
Patent Number: 7,415,824 Issued on 08/26/2008 to Komaki,   et al.

Title: Hydraulically driven working vehicle and hydraulic transaxle
Patent Number: 7,415,823 Issued on 08/26/2008 to Iwaki,   et al.

Title: Load sense boost device
Patent Number: 7,415,822 Issued on 08/26/2008 to Harber,   et al.

Title: Hydraulic motor unit
Patent Number: 7,415,821 Issued on 08/26/2008 to Heinz, legal representative,   et al.

Title: Hybrid powertrain with valve assembly for dual pumps
Patent Number: 7,415,820 Issued on 08/26/2008 to Moorman

Title: Method and system to automatically drain and dispose of accumulated water from water/fuel separators in diesel
Patent Number: 7,415,819 Issued on 08/26/2008 to Ruona

Title: Control device of internal combustion engine
Patent Number: 7,415,818 Issued on 08/26/2008 to Kawakami,   et al.

Title: Gathering and picking device
Patent Number: 7,415,817 Issued on 08/26/2008 to Kappelhoff

Title: Beverage bottling plant having a beverage bottle closing machine with a bearing system to guide a reciprocating shaft in the beverage bottle closing machine
Patent Number: 7,415,816 Issued on 08/26/2008 to Bernhard

Title: Tube dispensing magazine device and method
Patent Number: 7,415,815 Issued on 08/26/2008 to Vodonos

Title: Method of packaging rolls, particularly paper web rolls, apparatus for implementing the method and roll package
Patent Number: 7,415,814 Issued on 08/26/2008 to Itkonen,   et al.

Title: Pattern former for wrapped bakery products
Patent Number: 7,415,813 Issued on 08/26/2008 to Kilby,   et al.

Title: Apparatus and method for packing smoking articles
Patent Number: 7,415,812 Issued on 08/26/2008 to Bray,   et al.

Title: Packaging system
Patent Number: 7,415,811 Issued on 08/26/2008 to Gottlieb,   et al.

Title: Methods of manufacturing hooded slider-operated zippered bags
Patent Number: 7,415,810 Issued on 08/26/2008 to Plourde,   et al.

Title: Packaging machine former support
Patent Number: 7,415,809 Issued on 08/26/2008 to Taylor

Title: Pole reinforcement truss
Patent Number: 7,415,808 Issued on 08/26/2008 to Bingel, III,   et al.

Title: Structured adhesive system
Patent Number: 7,415,807 Issued on 08/26/2008 to O'Leary,   et al.

Title: Ballistic abatement barrier method and system
Patent Number: 7,415,806 Issued on 08/26/2008 to Davidson

Title: Wall system with masonry external surface and associated method
Patent Number: 7,415,805 Issued on 08/26/2008 to Nickerson

Title: Bi-functional roof drain having integrated vent
Patent Number: 7,415,802 Issued on 08/26/2008 to Froeter,   et al.

Title: Watertight decking
Patent Number: 7,415,801 Issued on 08/26/2008 to Zeng,   et al.

Title: Columbarium with improved security
Patent Number: 7,415,800 Issued on 08/26/2008 to Stienwand

Title: Building component
Patent Number: 7,415,799 Issued on 08/26/2008 to Morris

Title: Method and apparatus for gauging body size
Patent Number: 7,415,773 Issued on 08/26/2008 to Abdilla,   et al.

Title: Vegetable peeler with pivoting head
Patent Number: 7,415,769 Issued on 08/26/2008 to Hughes

Title: Flange coupling and manufacturing method for the same
Patent Number: 7,415,765 Issued on 08/26/2008 to Ozawa

Title: Recuperator assembly and procedures
Patent Number: 7,415,764 Issued on 08/26/2008 to Kang,   et al.

Title: Bending device and method for bending a plate
Patent Number: 7,415,763 Issued on 08/26/2008 to Miosga,   et al.

Title: Method of manufacturing multilayered circuit board
Patent Number: 7,415,761 Issued on 08/26/2008 to Hirose,   et al.

Title: Method and apparatus for mounting semiconductor chips
Patent Number: 7,415,759 Issued on 08/26/2008 to Vischer

Title: Method for manufacturing inductor having coil embedded dust core
Patent Number: 7,415,757 Issued on 08/26/2008 to Satoh,   et al.

Title: Magnetizing method using a magnetizing jig and method of assembling an electric compressor by using the jig and the magnetizing method
Patent Number: 7,415,756 Issued on 08/26/2008 to Ishida,   et al.

Title: Tool and a method for removing a bearing from a differential assembly
Patent Number: 7,415,754 Issued on 08/26/2008 to Cargill,   et al.

Title: Tightening structure for assist grip
Patent Number: 7,415,751 Issued on 08/26/2008 to Kato,   et al.

Title: Method for constructing a self anchored suspension bridge
Patent Number: 7,415,746 Issued on 08/26/2008 to Tao

Title: Multipurpose foldable candle tool
Patent Number: 7,415,744 Issued on 08/26/2008 to Williams

Title: Automatic flusher for tank-type toilet
Patent Number: 7,415,737 Issued on 08/26/2008 to Hung,   et al.

Title: Grip enhancing glove and method for maintaining a grip that enables a user to maintain a prolonged grip without incurring undesirable effects
Patent Number: 7,415,735 Issued on 08/26/2008 to Erickson,   et al.

Title: Thermally-insulative, breast-supportive undergarment
Patent Number: 7,415,734 Issued on 08/26/2008 to Donnelly

Title: Mechanism to prevent counterfeiting in a hardware device
Patent Number: 7,415,732 Issued on 08/19/2008 to Montecalvo,   et al.

Title: Microcomputer and test method therefore
Patent Number: 7,415,730 Issued on 08/19/2008 to Watanabe

Title: Information security policy evaluation system and method of controlling the same
Patent Number: 7,415,728 Issued on 08/19/2008 to Morohashi,   et al.

Title: System, method, and computer program product for tailoring security responses for local and remote file open requests
Patent Number: 7,415,727 Issued on 08/19/2008 to Lowe,   et al.

Title: Controlling access to suspicious files
Patent Number: 7,415,726 Issued on 08/19/2008 to Kelly,   et al.

Method and apparatus for filtering snoop requests in a point-to-point interconnect architecture Number:7,386,683 from the United States Patent and Trademark Office (PTO) owispatent

Home    Author Login    Submit Article    Article Search    Add Your Link    Edit Your Link    Contact Us    Advertising    Disclaimer

   

 
Web LinkGrinder.com

Top Breaking News
     US Ready for Better Relations With Belarus by David Gollust
     McCain VP Choice Likely to Please Conservatives by Dan Robinson
     UNICEF Sends Urgent Aids to Flood Victims in India's Bihar State by Lisa Schlein

Title: Method and apparatus for filtering snoop requests in a point-to-point interconnect architecture

Abstract: A method and apparatus for supporting cache coherency in a multiprocessor computing environment having multiple processing units, each processing unit having one or more local cache memories associated and operatively connected therewith. The method comprises providing a snoop filter device associated with each processing unit, each snoop filter device having a plurality of dedicated input ports for receiving snoop requests from dedicated memory writing sources in the multiprocessor computing environment. Each of the memory writing sources is directly connected to the dedicated input ports of all other snoop filter devices associated with all other processing units in a point-to-point interconnect fashion. Each snoop filter device includes a plurality of parallel operating port snoop filters in correspondence with the plurality of dedicated input ports that are adapted to concurrently filter snoop requests received from respective dedicated memory writing sources and forward a subset of those requests to its associated processing unit.

Patent Number: 7,386,683 Issued on 06/10/2008 to Blumrich,   et al.


Inventors: Blumrich; Matthias A. (Ridgefield, CT), Chen; Dong (Croton on Hudson, NY), Gara; Alan G. (Mount Kisco, NY), Giampapa; Mark E. (Irvington, NY), Heidelberger; Philip (Cortlandt Manor, NY), Hoenicke; Dirk I. (Ossining, NY), Ohmacht; Martin (Yorktown Heights, NY), Salapura; Valentina (Chappaqua, NY), Vranas; Pavlos M. (Bedford Hills, NY)
Assignee: International Business Machines Corporation (Armonk, NY)
Appl. No.: 11/093,131
Filed: March 29, 2005


Current U.S. Class: 711/146 ; 711/118; 711/154
Field of Search: 711/100,117,118,131,144,146,154


References Cited [Referenced By]

U.S. Patent Documents
5410723 April 1995 Schmidt et al.
5572701 November 1996 Ishida et al.
5615343 March 1997 Sarangdhar et al.
5659710 August 1997 Sherman et al.
5905998 May 1999 Ebrahim et al.
5966729 October 1999 Phelps
6389517 May 2002 Moudgal et al.
6704845 March 2004 Anderson et al.
6823409 November 2004 Jones et al.
7117312 October 2006 Cypher
2003/0065843 April 2003 Jones et al.
2003/0070016 April 2003 Jones et al.
2003/0126376 July 2003 Blankenship et al.
2003/0131201 July 2003 Khare et al.
2003/0135696 July 2003 Rankin et al.
2004/0003184 January 2004 Safranek et al.
2006/0095684 May 2006 Shen

Other References

Moshovos, et al., "JETTY: Filtering Snoops for Reduced Energy Consumption in SMP Servers", The Proceedings of the 7th International Symposium on High-Performance Computer Architecture. cited by other.

Primary Examiner: Thai; Tuan V.
Attorney, Agent or Firm: Scully, Scott, Murphy & Presser, P.C. Morris, Esq; Daniel P.

Claims



Having thus described our invention, what we claim as new, and desire to secure by Letters Patent is:

1. A method for supporting cache coherency in a multiprocessor computing environment having multiple processing units, each processing unit having one or more local cache memories associated therewith and operatively connected via a first communications means, said method comprising: providing a snoop filter device associated with each processing unit, each snoop filter device having a plurality of dedicated input ports for receiving snoop requests from dedicated memory writing sources in said multiprocessor computing environment; directly connecting each said memory writing source to the dedicated input ports of all other snoop filter devices associated with all other processing units of said multiprocessor computing environment in a point-to-point interconnect fashion; providing, for each said snoop filter device, a plurality of parallel operating port snoop filters in correspondence with said plurality of dedicated input ports, each said plurality of plurality operating port snoop filters concurrently tracking snoop requests from a corresponding one of said plurality of memory writing sources and recording an address of each snoop request received in a corresponding snoop cache from its corresponding memory writing source, and, comparing each received snoop request address against all addresses recorded in said corresponding snoop cache, wherein each said snoop filter device concurrently filters snoop requests received from respective said dedicated memory writing sources and forwards a subset of those requests to its associated processing unit, whereby a number of snoop requests forwarded to a processing unit is reduced thereby increasing performance of said computing environment.

2. The method for supporting cache coherency as claimed in claim 1, wherein a dedicated memory writing source of said snoop request comprises one of said multiple processing units.

3. The method for supporting cache coherency as claimed in claim 1, wherein a dedicated memory writing source of said snoop request comprises a Direct Memory Access (DMA) engine.

4. The method for supporting cache coherency as claimed in claim 1, further comprising the step of: providing a plurality of processor snoop filter queue means in correspondence with said plurality of port snoop filters, each respective processor snoop filter queue means for receiving, enqueing, and forwarding said subset of snoop requests to the associated processor unit of said snoop filter device.

5. The method for supporting cache coherency as claimed in claim 4, further comprising the steps of: arbitrating between all of the snoop filter queue means and serializing all snoop requests forwarded from each of said plurality of processor snoop filter queue means for forwarding to said associated processor unit.

6. The method for supporting cache coherency as claimed in claim 4, further comprising the step of: preventing a queue overflow condition in each said processor snoop filter queue means, said preventing step comprising: for each snoop filter device: issuing a token to each memory writing source via its dedicated point-to-point communication link indicating availability to receive a snoop request at that port; collecting tokens at said memory writing source; and, transmitting a snoop request corresponding to a memory write from said memory writing source to each said snoop filter device when at least one token is available for each snoop filter device for which it is directly point-to-point connected.

7. The method for supporting cache coherency as claimed in claim 1, wherein each port snoop filter of said plurality of port snoop filters comprises one or more sub-filter elements for filtering out received snoop requests.

8. The method for supporting cache coherency as claimed in claim 1, wherein said one or more local cache memories associated with a processing unit comprises first and second cache memory levels, said associated snoop filter device adapted for filtering out snoop requests at said first cache memory level.

9. The method for supporting cache coherency as claimed in claim 1, wherein said one or more local cache memories associated with a processing unit comprises first and second cache memory levels, said associated snoop filter device adapted for filtering out snoop requests at said second cache memory level.
Description



CROSS-REFERENCE TO RELATED APPLICATIONS

This application relates to commonly-owned, co-pending U.S. patent application Ser. Nos. 11/093,130; 11/093,152; 11/093,154; 11/093,132; 11/093,127; and 11/093,160 all filed on even date herewith and incorporated by reference as if fully set forth herein.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention generally relates to computer systems having multiprocessor architectures and, more particularly, to a novel multi-processor computer system for processing memory accesses requests and the implementation of cache coherence in such multiprocessor systems.

2. Description of the Prior Art

To achieve high performance computing, multiple individual processors have been interconnected to form multiprocessor computer system capable of parallel processing. Multiple processors can be placed on a single chip, or several chips--each containing one or several processors--interconnected into a multiprocessor computer system.

Processors in a multiprocessor computer system use private cache memories because of their short access time (a cache is local to a processor and provides fast access to data) and to reduce number of memory requests to the main memory. However, managing caches in multiprocessor system is complex. Multiple private caches introduce the multi-cache coherency problem (or stale data problem) due to multiple copies of main memory data that can concurrently exist in the multiprocessor system.

Small scale shared memory multiprocessing system have processors (or groups thereof) interconnected by a single bus. However, with the increasing speed of processors, the feasible number of processors which can share the bus effectively decreases.

The protocols that maintain the coherence between multiple processors are called cache coherence protocols. Cache coherence protocols track any sharing of data block between the processors. Depending upon how data sharing is tracked, cache coherence protocols can be grouped into two classes: 1) Directory based and 2) Snooping.

In directory based approach, the sharing status of a block of physical memory is kept in just one location called the coherency directory. Coherency directories are generally large blocks of memory which keep track of which processor in the multiprocessor computer system owns which lines of memory. Disadvantageously, coherency directories are typically large and slow. They can severely degrade overall system performance since they introduce additional latency for every memory access request by requiring that each access to the memory go through the common directory.

FIG. 1 illustrates a typical prior art multiprocessor system 10 using the coherence directory approach for cache coherency. The multiprocessor system 10 includes a number of processors 15a, . . . , 15d interconnected via a shared bus 24 to the main memory 20a, 20b via memory controllers 22a, 22b, respectively. Each processor 15a, . . . , 15d has its own private cache 17a, . . . , 17d, respectively, which is N-way set associative. Each request to the memory from a processor is placed on the processor bus 24 and directed to the coherency directory 26. Frequently, in the coherency controller, a module is contained which tracks the location of cache lines held in particular subsystems to eliminated the need to broadcast unneeded snoop request to all caching agents. This unit is frequently labeled "snoop controller" or "snoop filter". All memory access requests from the I/O subsystem 28 are also directed to the coherency controller 26. Instead of the main memory, secondary cache connected to the main memory can be used. Processors can be grouped into processor clusters, where each cluster has its own cluster bus, which is then connected to the coherency controller 26. As each memory request goes through the coherence directory, additional cycles are added to each request for checking the status of the requested memory block.

In a snooping approach, no centralized state is kept, but rather each cache keeps the sharing status of data block locally. The caches are usually on a shared memory bus, and all cache controllers snoop (monitor) the bus to determine whether they have a copy of the data block requested. A commonly used snooping method is the "write-invalidate" protocol. In this protocol, a processor ensures that it has exclusive access to data before it writes that data. On each write, all other copies of the data in all other caches are invalidated. If two or more processors attempt to write the same data simultaneously, only one of them wins the race, causing the other processors' copies to be invalidated.

To perform a write in a write-invalidate protocol based system, a processor acquires the shared bus, and broadcasts the address to be invalidated on the bus. All processors snoop on the bus, and check to see if the data is in their cache. If so, these data are invalidated. Thus, use of the shared bus enforces write serialization.

Disadvantageously, every bus transaction in the snooping apporach has to check the cache address tags, which could interfere with CPU cache accesses. In most recent architectures, this is typically reduced by duplicating the address tags, so that the CPU and the snooping requests may proceed in parallel. An alternative approach is to employ a multilevel cache with inclusion, so that every entry in the primary cache is duplicated in the lower level cache. Then, snoop activity is performed at the secondary level cache and does not interfere with the CPU activity.

FIG. 2 illustrates a typical prior art multiprocessor system 50 using the snooping approach for cache coherency. The multiprocessor system 50 contains number of processors 52a, . . . , 52c interconnected via a shared bus 56 to the main memory 58. Each processor 52a, . . . , 52c has its own private cache 54a, . . . , 54c which is N-way set associative. Each write request to the memory from a processor is placed on the processor bus 56. All processors snoop on the bus, and check their caches to see if the address written to is also located in their caches. If so, the data corresponding to this address are invalidated. Several multiprocessor systems add a module locally to each processor to track if a cache line to be invalidated is held in the particular cache, thus effectively reducing the local snooping activity. This unit is frequently labeled "snoop filter". Instead of the main memory, secondary cache connected to the main memory can be used.

With the increasing number of processors on a bus, snooping activity increases as well. Unnecessary snoop requests to a cache can degrade processor performance, and each snoop requests accessing the cache directory consumes power. In addition, duplicating the cache directory for every processor to support snooping activity significantly increases the size of the chip. This is especially important for systems on a single chip with a limited power budget.

What now follows is a description of prior art references that address the various problems of conventional snooping approaches found in multiprocessor systems.

Particularly, U.S. Patent Application US2003/0135696A1 and U.S. Pat. No. 6,704,845B2 both describe replacement policy methods for replacing entries in the snoop filter for a coherence directory based approach including a snoop filter. The snoop filter contains information on cached memory blocks--where the cache line is cached and its status. The U.S. Patent Application US2004/0003184A1 describes a snoop filter containing sub-snoop filters for recording even and odd address lines which record local cache lines accessed by remote nodes (sub-filters use same filtering approach). Each of these disclosures do not teach or suggest a system and method for locally reducing the number of snoop requests presented to each cache in a multiprocessor system. Nor do they teach or suggest coupling several snoop filters with various filtering methods, nor do they teach or suggest providing point-to-point interconnection of snooping information to caches.

U.S. Patent Applications US2003/0070016A1 and US2003/0065843A1 describe a multi-processor system with a central coherency directory containing a snoop filter. The snoop filter described in these applications reduces the number of cycles to process a snoop request, however, does not reduce the number of snoop requests presented to a cache.

U.S. Pat. No. 5,966,729 describes a multi-processor system sharing a bus using a snooping approach for cache coherence and a snoop filter associated locally to each processor group. To reduce snooping activity, a list of remote processor groups "interested" and "not-interested" in particular cache line is kept. Snoop requests are forwarded only to the processor groups marked as "interested" thus reducing the number of broadcasted snoop requests. It does not describe how to reduce the number of snoop requests to a local processor, but rather how to reduce the number of snoop requests sent to other processor groups marked as "not interested". This solution requires keeping a list with information on interested groups for each line in the cache for a processor group, which is comparable in size to duplicating the cache directories of each processor in the processor group thus significantly increasing the size of chip.

U.S. Pat. No. 6,389,517B1 describes a method for snooping cache coherence to allow for concurrent access on the cache from both the processor and the snoop accesses having two access queues. The embodiment disclosed is directed to a shared bus configuration. It does not describe a method for reducing the number of snoop requests presented to the cache.

U.S. Pat. No. 5,572,701 describes a bus-based snoop method for reducing the interference of a low speed bus to a high speed bus and processor. The snoop bus control unit buffers addresses and data from the low speed bus until the processor releases the high speed bus. Then it transfers data and invalidates the corresponding lines in the cache. This disclosure does not describe a multiprocessor system where all components communicate via a high-speed bus.

A. Moshovos, G. Memik, B. Falsafi and A. Choudhary, in a reference entitled "JETTY: filtering snoops for reduced energy consumption in SMP servers" ("Jetty") describe several proposals for reducing snoop requests using hardware filter. It describes the multiprocessor system where snoop requests are distributed via a shared system bus. To reduce the number of snoop requests presented to a processor, one or several various snoop filters are used.

However, the system described in Jetty has significant limitations as to performance, supported system and more specifically interconnect architectures, and lack of support for multiporting. More specifically, the approach described in Jetty is based on a shared system bus which established a common event ordering across the system. While such global time ordering is desirable to simplify the filter architecture, it limited the possible system configurations to those with a single shared bus. Alas, shared bus systems are known to be limited in scalability due to contention to the single global resource. In addition, global buses tend to be slow, due to the high load of multiple components attached to them, and inefficient to place in chip multiprocessors.

Thus, in a highly optimized high-bandwidth system, it is desirable to provide alternate system architectures, such as star, or point-to-point implementations. These are advantageous, as they only have a single sender and transmitter, reducing the load, allowing the use of high speed protocols, and simplifying floor planning in chip multiprocessors. Using point to point protocols also allows to have several transmissions in-progress simultaneously, thereby increasing the data transfer parallelism and overall data throughput.

Other limitations of Jetty include the inability to perform snoop filtering on several requests simultaneously, as in Jetty, simultaneous snoop requests from several processors have to be serialized by the system bus. Allowing the processing of several snoop requests concurrently would provide a significant increase in the number of requests which can be handled at any one time, and thus increase overall system performance.

Having set forth the limitations of the prior art, it is clear that what is required is a system incorporating snoop filters to increase overall performance and power efficiency without limiting the system design options, and more specifically, methods and apparatus to support snoop filtering in systems not requiring a common bus.

Furthermore, there is a need for a snoop filter architecture supporting systems using point-to-point connections to allow the implementation of high performance systems using snoop filtering.

There is a further need for the simultaneous operation of multiple snoop filter units to concurrently filter requests from multiple memory writers to increase system performance.

There is further a need to provide novel, high performance snoop filters which can be implemented in a pipelined fashion to enable high system clock speeds in systems utilizing such snoop filters.

There is an additional need for snoop filters with high filtering efficiency transcending the limitations of prior art.

SUMMARY OF THE INVENTION

It is therefore an object of the present invention to provide a simple method and apparatus for reducing the number of snoop requests presented to a single processor in cache coherent multiprocessor systems.

It is a further object of the present invention to provide a simple method and apparatus for supporting snoop filtering in multiprocessor system architectures based on point-to-point interconnect fabrics. While prior art has allowed snoop filtering to be used only in bus-based system, the present invention teaches how to advantageously use snoop filtering in conjunction with point to point protocols by permitting several transmissions in-progress simultaneously, thereby increasing the data transfer parallelism and overall data throughput.

According to the invention, there is provided a system and method for supporting cache coherency in a multiprocessor computing environment having multiple processing units, each processing unit having one or more local cache memories associated therewith and operatively connected via a first communications means, the system comprising:

a snoop filter device associated with each processing unit, each snoop filter device having a plurality of dedicated input ports for receiving snoop requests from dedicated memory writing sources in the multiprocessor computing environment;

a point-to-point interconnect means comprising communication links for directly connecting said memory writing sources to the dedicated input ports of all other snoop filter devices associated with all other processing devices of said multiprocessor computing environment;

each snoop filter device further having a plurality of parallel operating port snoop filters in correspondence with the plurality of dedicated input ports, the plurality of port snoop filters adapted to concurrently filter snoop requests received from respective dedicated memory writing sources and forward a subset of those requests to its associated processing unit,

whereby a number of snoop requests forwarded to a processing unit is significantly reduced thereby increasing performance of the computing environment.

In accordance with the present invention, each snoop filter device further comprises a plurality of processor snoop filter queue means in correspondence with the plurality of port snoop filters for receiving, enqueing, and forwarding the subset of snoop requests to the associated processor unit of the snoop filter device.

Furthermore, a token-based flow control system is implemented for each point to point communication link to limit the number of simultaneously outstanding requests, and prevent processor snoop filter queue overflow conditions.

Advantageously, the present invention enables snoop filtering to be performed on several requests simultaneously, while in the prior art systems, simultaneous snoop requests from several processors have to be serialized by the system bus. Allowing the processing of several snoop requests concurrently provides a significant increase in the number of requests which can be handled at any one time, and thus increase overall system performance.

BRIEF DESCRIPTION OF THE DRAWINGS

The objects, features and advantages of the present invention will become apparent to one skilled in the art, in view of the following detailed description taken in combination with the attached drawings, in which:

FIG. 1 depicts a base multiprocessor architecture with the coherence directory for cache coherency according to the prior art;

FIG. 2 depicts a base multiprocessor system using snooping approach for cache coherency according to the prior art;

FIG. 3 depicts a base multiprocessor system using snooping approach for cache coherency using a point-to-point connection described according to the present invention;

FIG. 4 illustrates an alternative embodiment base multiprocessor system using snooping approach for cache coherency using point-to-point connection where snoop filter is placed between the L2 cache and the main memory;

FIG. 5 depicts a high level schematic of a snoop filter block in accordance with a preferred embodiment of the invention;

FIG. 6 is a high level schematic of the snoop block containing multiple snoop filters according to the present invention;

FIG. 7 illustrates a high level schematic of a single snoop port filter according to the present invention;

FIGS. 8(a) and 8(b) depict high level schematics of two alternative embodiments of the snoop block according to the present invention;

FIG. 9 is a is a high level schematic of the snoop block including multiple port snoop filters according to a further embodiment of the present invention;

FIG. 10 depicts the control flow for the snoop filter implementing snoop cache for a single snoop source according to the present invention;

FIG. 11 depicts a control flow logic for adding a new entry to the port snoop cache inaccordance with the present invention;

FIG. 12 depicts a control flow logic for removing an entry from the snoop cache in accordance with the present invention;

FIG. 13 depicts a block diagram of the snoop filter implementing stream registers in accordance with the present invention;

FIG. 14 depicts another embodiment of the snoop filter implementing stream registers filtering approach in accordance with the present invention;

FIG. 15 is a block diagram depicting the control flow for the snoop filter using paired stream registers and masks sets according to the invention; and,

FIG. 16 is a block diagram depicting the control flow for updating two stream register sets and the cache wrap detection logic for the replaced cache lines according to the invention;

FIG. 17 illustrates block diagram of signature filters to provide additional filtering capability to stream registers;

FIG. 18 is the block diagram of filtering mechanism using signature files in accordance with the present invention;

FIGS. 19(a) and 19(b) depict exemplary cache wrap detection logic circuitry (registers and comparator) for an N-way set-associative cache;

FIG. 20 depicts an exemplary cache wrap detection logic circuitry for an N-way set-associative cache according to a second embodiment of the invention that is based on a loadable counter; and,

FIG. 21 depicts an exemplary cache wrap detection logic circuitry for an N-way set-associative cache according to a third embodiment of the invention that is based on a scoreboard register.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Referring now to drawings, and more particularly to FIG. 3, there is shown the overall base architecture of the multiprocessor system with the use of snooping approach for cache coherency. In the preferred embodiment, the multiprocessor system is composed of N processors 100a, . . . , 100n (or CPUs labeled DCU.sub.1 to DCU.sub.N) with their local L1 data and instruction caches, and their associated L2 caches 120a, . . . , 120n. The main memory 130 is shared and can be implemented on-chip or off-chip. In the alternative embodiment, instead of main memory, a shared L3 with access to main memory can be used. In the preferred embodiment, the processor cores 100a, . . . , 100n are PowerPC cores such as PPC440 or PPC405, but any other processor core can be used, or some combination of various processors in a single multiprocessor system can be used without departing from the scope of this invention. The processor cores 100a, . . . , 100n are interconnected by a system local bus 150.

To reduce the number of snoop requests presented to a processor, and thus to reduce the impact of snooping on processor and system performance, and to reduce power consumed by unnecessary snoop requests, a snoop filter 140a, . . . , 140n is provided for each respective processor core 100a, . . . , 100n in the multiprocessor system 10. For transferring snooping requests, the preferred embodiment does not use the system bus 150, as typically found in prior art systems, but rather implements a point-to-point interconnection 160 whereby each processor's associated snoop filter is directly connected with each snoop filter associated with every other processor in the system. Thus, snoop requests are decoupled from all other memory requests transferred via the system local bus, reducing the congestion of the bus which is often a system bottleneck. All snoop requests to a single processor are forwarded to the snoop filter 140a, . . . , 140n, which comprises several sub-filters with the same filtering method, or with several different filtering methods, or any combination of the two, as will be described in greater detail herein. The snoop filter processes each snoop request, and presents only a fraction of all requests which are possibly in the processor's cache to the processor.

For each processor, snoop requests are connected directly to all other processors' snoop filters using a point-to-point interconnection 160. Thus, several snoop requests (resulting from write and invalidate attempts) from different processors can occur simultaneously. These requests are no longer serialized, as in the typical snooping approach using the system bus, where this serialization is performed by the bus. That is, multiple snoop requests can be processed in the snoop filter concurrently, as will be described herein in further detail. As a processor has only one snoop port, the snoop requests not filtered out by a snoop filter will be serialized in a queue to be presented to the processor. However, the number of requests passed to the processor is much less than the pre-filtered number of all snoop requests, reducing the impact of cache coherence implementation on system performance.

To prevent queue overflowing condition of the queues contained in the snoop filter block, a token-based flow control system is implemented for each point to point link to limit the number of simultaneously outstanding requests. According to the token-based flow control, each memory writer can send the next write request--which also initiates snoop requests to all other processor units and accompanied snoop filter blocks--only if it has tokens available for all ports of the snoop filter blocks it has a direct point-to-point connection. If there are no tokens available from at least one of the remote ports it is connected to, no snoop requests can be sent out from this memory writer until at least one token from the said snoop filter port gets available again.

FIG. 4 illustrates an alternative embodiment of this invention, with a base multiprocessor system using a snooping approach for cache coherency with point-to-point interconnection for snooping requests, wherein the snoop filter is placed between the L2 cache and the main memory 230. The multiprocessor system according to this embodiment thus comprises N processors 200a, . . . , 200n (or CPUs labeled DCU.sub.1 to DCU.sub.N) with their local L1 data and instruction caches, and their associated L2 caches 220a, . . . , 220n. The main memory 230 is shared and can be implemented on-chip or off-chip. In the alternative embodiment, instead of main memory, a shared L3 cache with access to main memory can be used. All memory access requests from processors 200a, . . . , 200n are transferred via a system local bus 250. In the embodiment depicted in FIG. 4, each of the processors in the multiprocessor system is paired with a respective snoop filter 240a, . . . , 240n. The point-to-point interconnection 260 is used to transfer snoop requests in the preferred embodiment in order to reduce the congestion of the system bus. In this point-to-point connection scheme 260, each processor's associated snoop filter is directly connected with each snoop filter associated with every other processor in the system. All snoop requests to a single processor are forwarded to its snoop filter, which processes each snoop request, and forwards only an appropriate fraction of all requests to the processor. In this embodiment, the snoop requests are filtered at the L2 cache level (not at L1, as in the previous embodiment illustrated in FIG. 3), but the presented invention is applicable to any cache level, and can be used for other levels of the cache hierarchy without departing from the scope of the invention.

Referring now to FIG. 5, there is depicted a high level block diagram of the snoop filter device according to the present invention. Snoop requests from all other processors 1 to N in a multiprocessor system are forwarded to the snoop block 310 via dedicated point-to-point interconnection inputs 300a, . . . , 300n. The snoop block 310 filters the incoming snoops and forwards the appropriate subset to the processor 320 via the processor snoop interface 340. In addition, the snoop block 310 monitors all memory access requests from the processor and L1 data cache block 320 to the L2 cache 330. These are only requests which miss in the L1 cache. The snoop block monitors all read address and control signals 360 and 362 to update its filters accordingly.

FIG. 6 depicts a high level schematic of the snoop block 310 depicted in FIG. 5. As shown in FIG. 6, the snoop block 310 includes multiple ("N") port snoop filters 400a, . . . , 400n that operate in parallel, with each dedicated only to one source of N memory writers (processors or a DMA engine sub-system, etc.). Each of the port snoop filters 400a, . . . , 400n receive on its dedicated input 410a, . . . , 410n snoop requests from a single source which is directly connected point-to-point. As will be described herein, a single port snoop filter may include a number of various snoop filter methods. The snoop block 310 additionally includes a stream register block 430 and snoop token control block 426. In addition, each port snoop filter 400a, . . . , 400n monitors all memory read access requests 412 from its associated processor which miss in the processor's L1 level cache. This information is also provided to the stream register block 430 for use as will be described in greater detail herein.

In operation, the port snoop filters 400a, . . . , 400n process the incoming snoop requests and forward a subset of all snoop requests to a respective snoop queue 420a, . . . , 420n having one queue associated with each snoop port. A queue arbitration block 422 is provided that arbitrates between all the snoop queues 420 and serializes all snoop requests from the snoop queues 420 fairly. Logic is provided to detect a snoop queue overflow condition, and the status of each queue is an input to a snoop token control unit 426 that controls flow of snoop requests from the remote memory writers. A memory writer--being a processor or a DMA engine--can submit a write to the memory and a snoop request to all snoop filters only if it has a token available from all snoop filters. The only snoop filter from which a processor does not need a token available to submit a write is its own local snoop filter. This mechanism ensures that the snoop queues do not overflow. From the snoop queue selected by arbiter 422, snoop requests are forwarded to the processor via a processor snoop interface 408.

FIG. 7 illustrates a high level schematic of a single snoop port filter 400. The snoop port filter block 400 includes multiple filter units which implement various filtering algorithms. In the preferred embodiment, three snoop filter blocks 440, 444, and 448 operate in parallel, each implementing a different snoop filter algorithm. The snoop filter blocks are labeled snoop cache 440, stream register check unit 444, and range filter 448. In one embodiment, each of the parallel snoop filter blocks receives on its input an identical snoop request 410 from a single source simultaneously. In addition, the snoop cache 440 monitors all memory read access requests 412 from the processor which miss in the L1 level cache, and stream registers check unit 444 receives status input 432 from the stream register unit 430 depicted in FIG. 6.

According to the preferred embodiment, the snoop cache block 440 filters the snoop requests 410 using an algorithm which is based on the temporal locality property of snoop requests, meaning that if a single snoop request for a particular location was made, it is probable that another request to the same location will be made soon. The snoop cache monitors every load made to the local cache, and updates its status, if needed. The stream register check block 444 filters snoop requests 410 using an algorithm that determines a superset of the current local cache content. The approximation of cache content is included in the stream registers block 430 (FIG. 6), and the stream register status 432 is forwarded to each snoop port filter 400. Based on this status, for each new snoop requests 410, a decision is made if the snoop address can possibly be contained in the local cache. The third filtering unit in the snoop port filter is the range filter 448. For this filtering approach, two range addresses are specified, the minimum range address and the maximum range address. The filtering of a snoop request is performed by first determining if the snoop request is within the address range determined by these two range addresses. If this condition is met, the snoop request is discarded; otherwise, the snoop request is forwarded to the decision logic block 450. Conversely, the request can be forwarded when it falls within the address range and discarded otherwise, without departing from the scope of the invention. Particularly, the decision logic block 450 receives results 456 of all three filter units 440, 444 and 448 together with the control signals 454 which enable or disable each individual snoop filter unit. Only results of snoop filter units for which the corresponding control signals are enabled are considered in each filtering decision. If any one of the filtering units 440, 444 or 448 decides that a snoop request 410 should be discarded, the snoop request is discarded. The resulting output of this unit is either to add the snoop request to the corresponding snoop queue 452, or to discard the snoop request and return a snoop token 458 to the remote processor or DMA unit that initiated the discarded snoop request.

In the preferred embodiment, only the three filtering units implementing the algorithms above described are included in a port snoop filter, but one skilled in the art will appreciate that any other number of snoop filter units can be included in a single port snoop filter, or that some other snoop filter algorithm may be implemented in the port snoop filter, or a combination of snoop algorithms can be implemented, without departing from the scope of the invention.

FIGS. 8(a) and 8(b) depict high level schematics of two alternative embodiments of the snoop filter block 310 of FIG. 6. As described herein with respect to FIG. 6, the snoop block may include multiple snoop filters that can use various filtering approaches, the same filtering approach, or a combination of the two. As shown in FIG. 8(a), N port snoop filters 460a, . . . , 460n operate in parallel, one for each of N remote memory writers. Each of the port snoop filters 460a, . . . , 460n receive on its respective input 462a, . . . , 462n snoop requests from a single dedicated source which is connected point-to-point. In addition, each snoop filter 460a, . . . , 460n monitors all of the local processor's memory load requests 464 which have missed in the L1 level cache. Other signals from other units of the snoop block may also be needed to supply to the port snoop filters, if required by the filter algorithm implemented. The exact signals needed are determined by the one or more snoop filter algorithms implemented in a single port snoop filter 460. Additionally, it should be understood that all port snoop filters do not have to implement the same set of filtering algorithms.

The port snoop filters 460a, . . . , 460n filter the incoming snoops and forward the appropriate unfiltered subset of snoop requests into the respective queues 466a, . . . , 466n and the queue arbitration block 468. Here, the snoop requests are serialized and presented to a next snoop filter 470, which handles inputs from all remote memory writers. This shared snoop filter 470 processes all snoop request presented and forwards a subset of all requests to the snoop queue 472. From the snoop queue 472, snoop requests are forwarded to the processor via the processor snoop interface 474. It should be understood that it is possible to have multiple or no shared snoop filters 470 instead of the configuration shown in FIG. 8(a). In the case of multiple shared filters, the filters may be arranged in parallel or in series (in which case the output of one filter is the input to the next, for example). If a filter has inputs from more than one source (i.e., is shared between multiple sources), it has to have its own input queue and an arbiter to serialize snoop requests. A final ordered subset of all snoop requests is placed in the snoop queue 472, and snoop requests are forwarded to the processor via the processor snoop interface 474. Optionally, a snoop queue full indication signal 476 is provided that indicates when the snoop queue is full in order to stop some or all remote memory writers from issuing further snoop requests until the number of snoops in the snoop queue falls below a predetermined level.

Similarly, FIG. 8(b) illustrates another embodiment with an alternative organization of the snoop filters in the snoop block 310. N port snoop filters 480a, . . . , 480n, each receiving only snoop requests from one of N remote memory writers (i.e., excluding the processor where the snoop filter is attached), operate in parallel. Each port snoop filter 480a, . . . , 480n receives on its respective input snoop requests 482a, . . . , 482n from only a single source, respectively. A shared snoop filter 484 is connected in parallel with the port snoop filter devices 480a, . . . , 480n. In an alternative embodiment, more than one shared snoop filter can be attached in parallel. The shared snoop filter 484 handles inputs from all N remote memory writers. Having more than one input, the shared filter 484 has its own input queues 486 and a queue arbiter 488 for serializing snoop requests. Further in the embodiment depicted in FIG. 8(b), all port snoop filters 480a, . . . , 480n and the shared snoop filter 484 monitor all memory read access requests 490 from the local processor which miss in the L1 level cache. The snoop filters 480a, . . . , 480n and 484 filter the incoming snoop requests and forward the appropriate unfiltered subset to the input queue of the next shared snoop filter 492a, . . . , 492n. Here, the unfiltered snoop requests are serialized by the queue arbiter 494, and are forwarded to the processor via the processor snoop interface 496. If one of the snoop queue devices 492a, . . . , 492n or 486 is full, a snoop queue full indication 498 is activated to stop all (or some of) the remote memory writers from issuing further snoop requests until the number of snoops in the snoop queue falls below a the predetermined level.

Referring now to FIG. 9, there is depicted a further embodiment of the snoop filter block 310. The block contains N port snoop filters 500a, . . . , 500n, corresponding to port snoop filters 400, 460a, . . . , 460n, and 480a, . . . , 480n (of FIGS. 8(a) and 8(b)). Each port snoop filter 500a, . . . , 500n includes a snoop cache device 502a, . . . , 502n, and a snoop check logic 504a, . . . , 504n. The snoop cache devices 502a, . . . , 502n implement a snoop filtering algorithm which keeps track of recent snoop requests from one source, where the source of snoop requests can be another processor, a DMA engine, or some other unit. For each new snoop request from a single source, the snoop request's address is checked against the snoop cache in the snoop check logic block 504. If the result of this comparison matches, i.e., the snoop request is found in the snoop cache, the snooped data is guaranteed not to be in the local L1 level cache of the processor. Thus, no snoop request is forwarded to the snoop queue 506 and the snoop queue arbiter 508. If no match is found in the snoop cache 502a, . . . , 502n for the current snoop request, the address of the snoop requests is added to the snoop cache using the signals 514a, . . . , 514n. Concurrently, the snoop request is forwarded to the snoop queue 506.

All snoop cache devices 502a, . . . , 502n also receive read addresses and requests 512 from the local processor, and compare the memory read access addresses to the entries in the snoop cache 502a, . . . , 502n. If a request matches one of the entries in the snoop cache, this entry is removed from the snoop cache, as now the cache line is going to be located in the processor's first level cache. In the preferred embodiment, multiple snoop caches operating in parallel are used, each keeping track of snoop requests from a single remote memory writer. After filtering, a fraction of unfiltered snoop requests can be forwarded to the next port snoop filter, or they can be queued for one or more shared snoop filters, or they are placed in the snoop queue of the processor interface, depending on the embodiment.

It is understood that a single snoop cache device 502 includes an internal organization of M cache lines (entries), each entry having two fields: an address tag field, and a valid line vector. The address tag field of the snoop cache is typically not the same as the address tag of the L1 cache for the local processor, but it is shorter by the number of bits represented in the valid line vector. Particularly, the valid line vector encodes a group of several consecutive cache lines, all sharing the same upper bits represented by the corresponding address tag field. Thus, the n least significant bits from an address are used for encoding 2.sup.n consecutive L1 cache lines. In the extreme case when n is zero, the whole entry in the snoop cache represents only one L1 cache line. In this case, the valid line vector has only one bit corresponding to a "valid" bit.

The size of the address tag field in the snoop cache is determined by the size of the L1 cache line and the number of bits used for encoding the valid line vector. In an example embodiment, for an address length of 32 bits (31:0), an L1 cache line being 32 bytes long, and a valid line vector of 32 bits, address bits (31:10) are used as the address tag field, (bit 31 being the most significant), address bits (9:5) are encoded in the valid line vector, and address bits (4:0) are ignored because they encode the cache line byte offset. As an illustration, three snoop caches for three different memory writers (N=3) are listed below, each snoop cache having M=4 entries, with address tag field to the left, and with 5 bits from the address used to encode the valid line vector to track 32 consecutive cache lines: Snoop requests source 1 Entry 1: 01c019e 00000000000000000001000000000000 Entry 2: 01c01a0 00000000000000000000000100000000 Entry 3: 01c01a2 00000000000000000000000000010000 Entry 4: 01407ff 00000000000000000000000110000000 Snoop requests source 2 Entry 1: 01c01e3 00010000000000000000000000000000 Entry 2: 01c01e5 00000001000000000000000000000000 Entry 3: 01c01e7 00000000000100000000000000000000 Entry 4: 0140bff 0000000000000000000000010000000 Snoop requests source 3 Entry 1: 01c0227 00000000000000000001000000000000 Entry 2: 01c0229 00000000000000000000000100000000 Entry 3: 01c022b 00000000000000000000000000010000 Entry 4: 0140fff 00000000000000000000000110000000

In this example, entry 1 of the source 1 snoop cache has recorded that address 01c019ec hexadecimal has been invalidated recently and cannot possibly be in the L1 cache. Therefore, the next snoop request to the same cache line will be filtered out (discarded). Similarly, entry 4 of the source 1 snoop cache will cause snoop requests for cache line addresses 01407ff7 and 01407ff8 to be filtered out.

Referring now to FIG. 10, the control flow for the snoop filter implementing a snoop cache device for a single snoop source is shown. At the start of operation, all M lines in the snoop cache are reset as indicated at step 600. When a new snoop request from a snoop source i is received, the address of the snoop request is parsed into the "address tag" field 526 and into bits used for accessing the valid line vector 524. The valid line vector of the snoop request has only one bit corresponding to each L1 cache with address bits matching the address tag field. This is performed in the step 602. In the step 604, the "tag" field of the snoop request is checked against all tag fields in the snoop cache associated with the snoop source i. If the snoop request address tag is the same as one of the address tags stored in the snoop cache, the address tag field has hit in the snoop cache. After this, the valid line vector of the snoop cache entry for which a hit was detected is compared to the valid line vector of the snoop request. If the bit of the valid line vector in the snoop cache line corresponding to the bit set in the valid line vector of the snoop request is set, the valid line vector has hit as well. In one preferred embodiment, the valid line vector check is implemented by performing a logical operation upon the bit operands. Thus, for example, the valid line vector check may be performed by AND-ing the valid line vector of the snoop request with the valid line vector of the snoop cache line, and checking if the result is zero. It is understood that other implementations may additionally be used without departing from the scope of this invention. It is further understood that checking for a valid line vector hit can be implemented in parallel with checking for an address tag hit.

At step 606, a determination is made as to whether both the "tag` field matches and the corresponding bit in the valid line vector is set. If both the "tag` field matches and the corresponding bit in the valid line vector is set, the snoop request is guaranteed not to be in the cache as indicated at step 606. Thus, this snoop request is not forwarded to the cache; it is filtered out as indicated at step 608.

Otherwise, if the address "tag" field hits in the snoop cache but the bit in the valid line vector is not set or, alternately, if the tag does not hit in the snoop cache, this indicates that the line may be in the cache. Consequently, the snoop request is forwarded to the cache by placing it into a snoop queue as indicated at step 612. This snoop request is also added as a new entry to the snoop cache as shown at step 610.

Referring now to FIG. 11, there is shown the details of step 610 (FIG. 10) describing the process of adding new information in the snoop cache. This is accomplished by several tasks, as will now be described. At step 614, a determination is first made as to whether the address tag is already stored in the snoop cache (i.e., the address tag was a hit). For this step, the information calculated in step 602 (FIG. 10) can be used. If the address tag check gave a hit, then the process proceeds to step 624, where the bit in the valid line vector of the selected snoop cache entry corresponding to the snoop request is set. If the address tag check gave a miss in step 614, a new snoop cache entry has to be assigned for the new address tag, and the process proceeds to 616 where a determination is made as to whether there are empty entries available in the snoop cache. If it is determined that empty entries are available, then the first available empty entry is selected as indicated at step 620. Otherwise, if it is determined that there are no empty entries in the snoop cache, one of the active entries in the snoop cache is selected for the replacement as indicated at step 618. The replacement policy can be round-robin, least-recently used, random, or any other replacement policy known to skilled artisans without departing from the scope of this invention. Continuing to step 622, the new address tag is then written in the selected snoop cache line and the corresponding valid line vector is cleared. Then, as indicated at step 624, the bit in the valid line vector of the selected snoop cache entry corresponding to the bit set in the valid line vector of the snoop request is set.

In yet another embodiment, the new information is not added into the snoop cache based on the hit or miss of a snoop request in the snoop cache only, but instead, the addition of new values--being whole snoop cache lines or only setting a single bit in a valid line vector--is based on the decision of the decision logic block 450 (FIG. 7). In this embodiment, the new information is added into the snoop cache only if the decision logic block does not filter out the snoop request. If any other filter in the snoop port filter block 400 (FIG. 7) filters out the snoop request (i.e., determines that the data are not in the local L1 cache), no new information is added to the snoop cache, but the operation steps are the same as for snoop cache hit case. The advantage of this embodiment is that the snoop cache performs better because less redundant information is stored.

Referring now to FIG. 12, there is depicted the control flow for removing an entry from a snoop cache. On each local processor memory read request which misses in the local L1 level cache, the address of the memory request is checked against all entries in all snoop caches associated with all snoop request sources. In step 630, the address of the memory read request is parsed into an address tag field and into bits used for encoding the valid line vector. This is performed in the step 630. In the step 632, a determination is made as to whether there are one or more tag hits. This is accomplished by checking the "tag" field of the memory request against all tag fields in all snoop caches associated with all snoop sources. If the tag check misses, this address is not being filtered out and nothing has to be done. Thus, the control flow loops back to step 630 to wait for the next cache miss from the processor.

Returning to step 632, if it is determined that the comparison of the address tag with all snoop caches results in one or more hits, the information has to be removed from all snoop caches for which it was hit. Thus, at step 634, the appropriate low order bits of the memory read address are decoded into a valid line vector, and is matched against the valid line vector of the snoop cache entry that was hit as indicated in step 635. Proceeding now to step 636, it is determined whether the unique bit set in the read address vector is also set in the valid line vector of the snoop cache. If there is no such valid line vector hit (regardless of the address tag field hit), this memory address is not filtered out and nothing has to be changed in the particular snoop cache. Thus, the control flow proceeds to step 640 to check if all address tag hits have been processed, and if not, the process returns to step 635.

If, however, it is determined at step 636 that the read address vector hits in the valid line vector, then the read address is being filtered out. The corresponding valid line vector bit has to be cleared since the memory read address is going to be loaded into the first level cache. This clearing of the corresponding bit in the valid line vector is performed at step 638. If after removing the corresponding bit from the valid line vector the number of bits set of the valid line vector becomes zero, the address tag field is further removed from the snoop cache causing the entry to be empty. As next indicated at step 640, the same process of checking for the valid line vector bit, its clearing, and clearing of the address tag--if necessary--is repeated for all snoop caches which hit the memory read request which was miss in the local L1 cache. This condition that all hit address tag lines have been processed is checked at step 640. Once all of the cache lines have been checked, the process returns to step 630.

In yet another embodiment, the local memory request is compared to all address tags in all snoop caches simultaneously. Concurrently, the valid line vector encoding of the local memory request may be compared with all valid line vectors in all snoop caches in which there were hits simultaneously. Then, these two results--address tag hit and valid line vector hit--can be combined to determine all snoop cache lines from which the corresponding valid line vector bit has to be removed, and all these bits can be removed from the hitting cache lines from all snoop caches simultaneously.

Referring now to FIG. 13, there is depicted the block diagram of the snoop filter device implementing stream registers. In one preferred embodiment, the snoop filter unit comprises the following elements: two sets of stream registers and masks 700, a snoop check logic block 702, a cache wrap detection logic block 706, a stream register selection logic block 704, filter queues 703, and a processor arbitrate and multiplex logic 710. As will be described in greater detail herein, unlike the snoop cache filters that keep track of what is not in the cache, the stream registers and masks sets 700 keep track of recent data which were loaded into the cache of the processor. More precisely, the stream registers keep track of at least the lines that are in the cache, but may assume that some lines are cached which are not actually in the cache. However, forwarding some unnecessary snoop requests to the cache does not affect correctness.

The heart of the stream register filter is the stream registers 700 themselves. One of these registers is updated every time the cache loads a new line, which is presented to the stream registers with appropriate control signals 716. Logic block 704 in FIG. 13 is responsible for choosing a particular register to update based upon the current stream register state and the address of the new line being loaded into the cache in signals 716.

In operation, snoop requests received from one of the N remote p


Free Web Sudoku Puzzles.
Solve with your browser.
7 9 1 6          
              3  
3         9 2    
4   5 8          
  6   4   7   1  
          5 9   7
    9 7         6
  4              
          4 7 2 5
What is it?



Add Your Site · Terms Of Service · Privacy Policy


DISCLAIMER
Linkgrinder is a free service that searches the Internet and indexes all files found so that you may search quickly and easily for shared files. These files are created and made available individually by users whose identity we are not aware of and who we have no control over. In essence we function like a search engine tool; these files ARE NOT STORED OR SERVED BY OUR NETWORK. We are not responsible for any materials obtained by using our service. We do not monitor any of the contents of these files. These files may contain viruses, illegal materials, materials inappropriate for minors, offensive files and the like. BY USING OUR SERVICE, YOU ASSUME FULL RESPONSIBILITY FOR DOWNLOADING THESE MATERIALS AND WILL INDEMNIFY US FOR ANY DAMAGES THAT MAY BE INCURRED.

For More Specific Information VIEW OUR TERMS OF SERVICE.

Thank you and Enjoy!