发明名称 Dynamic management of a transaction retry indication
摘要 Embodiments relate to dynamic management of a transaction retry indication. One aspect is a system that includes a transactional facility configured to support transactions that effectively delay committing stores to memory or results to an architectural state until transaction completion, and a processor configured to identify a transaction abort reason associated with an aborted transaction of an initiating program. Transaction success and transaction abort history are tracked. Based on determining by the processor that the transaction abort reason was caused by the initiating program, a retry indication is assigned based on a static mapping of the transaction abort reason. Based on determining by the processor that the transaction abort reason was not caused by the initiating program, the retry indication is assigned based on a retry process using the transaction abort reason, the transaction abort history, and a current processor configuration.
申请公布号 US9400657(B2) 申请公布日期 2016.07.26
申请号 US201313868392 申请日期 2013.04.23
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Busaba Fadi Y.;Thompto Brian W.
分类号 G06F9/46;G06F9/44;G06F9/30;G06F9/38;G06F9/50 主分类号 G06F9/46
代理机构 Cantor Colburn LLP 代理人 Cantor Colburn LLP ;McNamara Margaret
主权项 1. A system for dynamic management of a transaction retry indication, the system comprising: a transactional facility configured to support transactions that effectively delay committing stores to memory or results to an architectural state until transaction completion; and a processor configured to perform a method comprising: identifying, by the processor, a transaction abort reason associated with an aborted transaction of an initiating program;tracking transaction success and a transaction abort history;maintaining the transaction abort history per thread across multiple threads;based on determining, by the processor, that the transaction abort reason was caused by the initiating program, assigning a retry indication based on a static mapping of the transaction abort reason, the retry indication providing an indication to the initiating program on whether to retry the aborted transaction;based on determining, by the processor, that the transaction abort reason was not caused by the initiating program, assigning the retry indication based on a retry process using the transaction abort reason, the transaction abort history, and a current processor configuration, wherein the retry process is based on heuristic indicators for abort retry success based on a likelihood of success on a retry associated with the transaction abort reason, the transaction history, and the current processor configuration, and the retry process accounts for sharing of resources between the threads and indicates that the aborted transaction should be retried based on determining that one of: resource reallocation and arbitration between the threads has a likelihood of transaction success; andvalidating an accuracy of the transaction abort history for each of the threads by setting a previous transaction successful flag when a transaction completes without abort processing and clearing the transaction abort history based on detecting that the previous transaction successful flag is set when abort processing begins.
地址 Armonk NY US