Prioritization of transactions based on execution progress

    公开(公告)号:US09792149B2

    公开(公告)日:2017-10-17

    申请号:US15249683

    申请日:2016-08-29

    Abstract: Controlling access to at least one memory location by a transaction is provided in a multi-processor transactional execution environment. Included is: tracking execution progress of a transaction, the execution progress being a metric of work performed for the transaction which includes at least one of instructions processed or cycles elapsed; based on encountering a conflict with another process for a memory location, comparing execution process of the transaction and execution progress of the other process; and deciding whether to continue the transaction based on the comparing. For instance, based on the execution progress of the transaction being greater than the execution progress of the other process, the transaction is continued, and based on the execution progress of the transaction being less that the execution progress of the other process, then the transaction is aborted.

    Transactional processing
    39.
    发明授权

    公开(公告)号:US09766925B2

    公开(公告)日:2017-09-19

    申请号:US13789808

    申请日:2013-03-08

    CPC classification number: G06F9/467 G06F9/3004 G06F9/30087 G06F9/3834

    Abstract: A transaction is initiated via a transaction begin instruction. During execution of the transaction, the transaction may abort. If the transaction aborts, a determination is made as to the type of transaction. Based on the transaction being a first type of transaction, resuming execution at the transaction begin instruction, and based on the transaction being a second type, resuming execution at an instruction following the transaction begin instruction. Regardless of transaction type, resuming execution includes restoring one or more registers specified in the transaction begin instruction and discarding transactional stores. For one type of transaction, the nonconstrained transaction, the resuming includes storing information in a transaction diagnostic block.

Patent Agency Ranking