Adaptive concurrency control using hardware transactional memory and locking mechanism

US2016299798A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016299798-A1
Application numberUS-201514795339-A
CountryUS
Kind codeA1
Filing dateJul 9, 2015
Priority dateApr 10, 2015
Publication dateOct 13, 2016
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method includes the following steps. Runtime statistics related to data transaction processing in a concurrent system are collected. A given request to access shared data in the concurrent system is receive. Based on the collected runtime statistics, the number of reattempts the given request can make to access the shared data prior to access control being switched from a hardware transactional memory to a locking mechanism is adaptively determined.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method, comprising: collecting runtime statistics related to data transaction processing in a concurrent system; receiving a given request to access shared data in the concurrent system; and adaptively determining, based on the collected runtime statistics, the number of reattempts the given request can make to access the shared data prior to access control being switched from a hardware transactional memory to a locking mechanism. 2 . The method of claim 1 , wherein the collected runtime statistics comprise a metric indicative of the number of read requests made to the shared data in a given time period. 3 . The method of claim 2 , wherein the metric comprises the number of read requests made to the shared data in the given time period divided by the total number of requests made to the shared data in the given time period. 4 . The method of claim 2 , wherein the number of reattempts the given request can make to access the shared data prior to access control being switched from the hardware transactional memory to the locking mechanism adaptively increases when the number of reads is above a predetermined threshold. 5 . The method of claim 1 , wherein the collected runtime statistics comprise a metric indicative of the number of write requests made to the shared data in a given time period. 6 . The method of claim 5 , wherein the metric comprises the number of write requests made to the shared data in the given time period divided by the total number of requests made to the shared data in the given time period. 7 . The method of claim 5 , wherein the number of reattempts the given request can make to access the shared data prior to access control being switched from the hardware transactional memory to the locking mechanism adaptively decreases when the number of writes is above a predetermined threshold. 8 . The method of claim 1 , wherein the collected runtime statistics comprise a metric indicative of the number of successful requests made to the shared data in a given time period. 9 . The method of claim 8 , wherein the metric is a success ratio comprising the number of successful requests made to the shared data in the given time period divided by the total number of requests made to the shared data in the given time period. 10 . The method of claim 9 , wherein the collected runtime statistics comprise a metric indicative of the number of failed requests made to the shared data in a given time period. 11 . The method of claim 10 , wherein the metric is a failure ratio comprising the number of failed requests made to the shared data in the given time period divided by the total number of requests made to the shared data in the given time period. 12 . The method of claim 11 , wherein the number of reattempts the given request can make to access the shared data prior to access control being switched from the hardware transactional memory to the locking mechanism adaptively increases when the success ratio is greater than the failure ratio. 13 . The method of claim 11 , wherein the number of reattempts the given request can make to access the shared data prior to access control being switched from the hardware transactional memory to the locking mechanism adaptively decreases when the success ratio is less than the failure ratio. 14 . The method of claim 1 , wherein the collected statistics comprise the total number of reattempts made to access the shared data. 15 . The method of claim 1 , wherein the collected statistics comprise the number of operations associated with the given request. 16 . The method of claim 15 , wherein the number of reattempts the given request can make to access the shared data prior to access control being switched from the hardware transactional memory to the locking mechanism adaptively decreases as the number of operations associated with the given request increases. 17 . The method of claim 1 , wherein the collected statistics comprise the amount of data associated with the given request. 18 . The method of claim 17 , wherein locking mechanism is utilized when the amount of data associated with the given request exceeds the size of available transactional memory.

Assignees

Inventors

Classifications

  • Command handling arrangements, e.g. command buffers, queues, command scheduling · CPC title

  • G06F3/0622Primary

    in relation to access · CPC title

  • G06F9/467Primary

    Transactional memory (G06F9/528 takes precedence) · CPC title

  • Security improvement · CPC title

  • Key-lock mechanism · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2016299798A1 cover?
A method includes the following steps. Runtime statistics related to data transaction processing in a concurrent system are collected. A given request to access shared data in the concurrent system is receive. Based on the collected runtime statistics, the number of reattempts the given request can make to access the shared data prior to access control being switched from a hardware transaction…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F3/0622. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Oct 13 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).