×

Method of reducing contention of a highly contended lock protecting multiple data items

  • US 7,065,763 B1
  • Filed: 09/29/2000
  • Issued: 06/20/2006
  • Est. Priority Date: 09/29/2000
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for reducing contention of a highly contended software lock protecting data items of a data set, all of the data items being stored in a system memory of a multi-processor computer system, said method comprising the steps of:

  • defining partitions within the data set;

    creating N partition locks, one for each partition, where N>

    2;

    identifying one code path from one or more code paths of a software program that access one or more of the data items;

    determining which data items of the data set are accessible by the identified code path;

    partitioning at least a portion of the data items that are accessible by the identified code path into the partitions; and

    optimizing locking requirements of the identified code path so the locks being acquired and released in the identified code path are those associated with the data items being accessible by the identified code path, wherein the identified code path includes a plurality of branches, and wherein said optimizing includes optimizing the locking requirements of the identified code path so the locks being acquired and released in the code path are those associated with the data items being accessible by each branch of identified code path.

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