×

Managing high-conflict cache lines in transactional memory computing environments

  • US 9,298,626 B2
  • Filed: 09/26/2013
  • Issued: 03/29/2016
  • Est. Priority Date: 09/26/2013
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for reducing transaction conflicts in a computing environment with transactional memory, the computing environment including a cache configured to hold a plurality of cache lines, each cache line configurable with a coherency mode, the method comprising:

  • executing a first transaction in the computing environment, the first transaction including a group of instructions operating atomically on a data structure in said memory and accessing a first cache line in a full-line coherency mode, wherein cache control logic associated with the cache is configured to operate or manage the first cache line in the full-line coherency mode that enforces transactional semantics using a full cache line as a granularity of memory accesses to detect transaction conflicts;

    detecting a conflicting access of the first cache line while executing the first transaction, the conflicting access resulting in a transactional abort;

    based on the detecting, determining that the first cache line is a high-conflict cache line involved in a high number of transaction conflicts, and placing the determined high-conflict first cache line in a sub-line coherency mode, wherein the cache control logic is configured to operate or manage a plurality of sub-cache line portions of the first cache line in the sub-line coherency mode; and

    executing a subsequent transaction including a group of instructions operating atomically on the data structure in said memory in the computing environment, the subsequent transaction accessing and managing only a relevant sub-cache line portion of the first cache line in the sub-line coherency mode.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×