IP Library Granted Patent US 8,838,906
Granted Patent B2
US 8,838,906 · App. 12/984,308 · Granted Sep 16, 2014

Evict on write, a management strategy for a prefetch unit and/or first level cache in a multiprocessor system with speculative execution

Inventors: Alan Gara (Mount Kisco, NY); Martin Ohmacht (Yorktown Heights, NY)
Assignee: International Business Machines Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,838,906
App. No.
12/984,308
Granted
Sep 16, 2014
Kind
B2
Abstract

In a multiprocessor system with at least two levels of cache, a speculative thread may run on a core processor in parallel with other threads. When the thread seeks to do a write to main memory, this access is to be written through the first level cache to the second level cache. After the write though, the corresponding line is deleted from the first level cache and/or prefetch unit, so that any further accesses to the same location in main memory have to be retrieved from the second level cache. The second level cache keeps track of multiple versions of data, where more than one speculative thread is running in parallel, while the first level cache does not have any of the versions during speculation. A switch allows choosing between modes of operation of a speculation blind first level cache.

Claims (13)

1. In a parallel processing system comprising a plurality of cores configured to run speculative threads in parallel, and at least one each of first and second level caches, a method comprising carrying out operations, the operations comprising:

determining whether a speculative thread seeks to write;

upon a positive determination, writing from the speculative thread through the first level cache to the second level cache;

evicting a line from the first level cache and/or prefetch unit corresponding to the writing; and

resolving speculation downstream from the first level cache.

2. The method of claim 1 , wherein the operations comprise, subsequent to evicting, if a speculative thread seeks to access an address corresponding to the line in the first level cache, retrieving an appropriate version of data from the second level cache.

3. The method of claim 2 , wherein the operations comprise tagging data retrieved from the second level cache, when there are multiple versions.

4. The method of claim 3 , wherein the operations comprise not caching responsive to such tagging.

5. The method of claim 1 , wherein the operations comprise, when a speculative thread reads from the first level cache, notifying the second level cache.

6. The method of claim 1 , wherein the operations comprise:

determining whether a speculation has completed; and

if speculation has completed, allowing the first level cache to store results.

7. The method of claim 5 , wherein the second level cache checks its coherence data when receiving an L1 hit notification for whether the L1 could have had a stale copy, and if so, subsequently invalidates an associated speculation.

Assignments (8)
RELEASE OF SECURITY INTEREST Recorded May 12, 2021
From: WILMINGTON TRUST, NATIONAL ASSOCIATION
To: GLOBALFOUNDRIES U.S. INC.
Reel/Frame 056987/0001 →
RELEASE OF SECURITY INTEREST Recorded Nov 20, 2020
From: WILMINGTON TRUST, NATIONAL ASSOCIATION
To: GLOBALFOUNDRIES INC.
Reel/Frame 054636/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 2, 2020
From: GLOBALFOUNDRIES INC.
To: GLOBALFOUNDRIES U.S. INC.
Reel/Frame 054633/0001 →
SECURITY AGREEMENT Recorded Nov 29, 2018
From: GLOBALFOUNDRIES INC.
To: WILMINGTON TRUST, NATIONAL ASSOCIATION
Reel/Frame 049490/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 5, 2015
From: GLOBALFOUNDRIES U.S. 2 LLC; GLOBALFOUNDRIES U.S. INC.
To: GLOBALFOUNDRIES INC.
Reel/Frame 036779/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 3, 2015
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: GLOBALFOUNDRIES U.S. 2 LLC
Reel/Frame 036550/0001 →
CONFIRMATORY LICENSE Recorded Jun 18, 2013
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: U.S. DEPARTMENT OF ENERGY
Reel/Frame 030641/0067 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 21, 2011
From: GARA, ALAN; OHMACHT, MARTIN
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 025990/0854 →
Continuity (6)
Provisional Application 61295669 · Jan 15, 2010
Provisional Application 61293611 · Jan 8, 2010
Provisional Application 61299911 · Jan 29, 2010
Provisional Application 61293237 · Jan 8, 2010
Provisional Application 61293494 · Jan 8, 2010
Related Publication 20110173392A1 · Jul 14, 2011