PARALLEL NESTED TRANSACTIONS IN TRANSACTIONAL MEMORY
    1.
    发明申请
    PARALLEL NESTED TRANSACTIONS IN TRANSACTIONAL MEMORY 有权
    并行存储器中的并行交易

    公开(公告)号:US20110138145A1

    公开(公告)日:2011-06-09

    申请号:US13027938

    申请日:2011-02-15

    IPC分类号: G06F12/00

    摘要: Various technologies and techniques are disclosed for supporting parallel nested transactions in a transactional memory system. Multiple closed nested transactions are created for a single parent transaction, and the closed nested transactions are executed concurrently as parallel nested transactions. Various techniques are used to ensure effects of the parallel nested transactions are hidden from other transactions outside the parent transaction until the parent transaction commits. For example, versioned write locks are used with parallel nested transactions. When a transactional memory word changes from a write lock to a versioned write lock, an entry is made in a global versioned write lock map to store a pointer to a write log entry that the versioned write lock replaced. When the versioned write lock is encountered during transaction processing, the global versioned write lock map is consulted to translate the versioned write lock to the pointer to the write log entry.

    摘要翻译: 公开了用于支持事务存储器系统中的并行嵌套事务的各种技术和技术。 为单个父事务创建多个封闭的嵌套事务,并且封闭的嵌套事务将作为并行嵌套事务并发执行。 使用各种技术来确保并行嵌套事务对父事务之外的其他事务的影响,直到父事务提交为止。 例如,版本化的写锁与并行嵌套事务一起使用。 当事务性内存单词从写入锁定更改为版本化写入锁定时,将在全局版本化写入锁定映射中创建一个条目,以存储指向版本化写入锁定替换的写入日志条目的指针。 当在事务处理期间遇到版本化的写锁时,请参考全局版本的写入锁定映射,以将版本化的写锁定转换为写入日志条目的指针。

    Combined pessimistic and optimistic concurrency control
    2.
    发明授权
    Combined pessimistic and optimistic concurrency control 有权
    综合悲观和乐观并发控制

    公开(公告)号:US07676638B2

    公开(公告)日:2010-03-09

    申请号:US12197043

    申请日:2008-08-22

    IPC分类号: G06F12/00

    摘要: Various technologies and techniques are disclosed that improve implementation of concurrency control modes in a transactional memory system. A transactional memory word is provided for each piece of data. The transactional memory word includes a version number, a reader indicator, and an exclusive writer indicator. The transactional memory word is analyzed to determine if the particular concurrency control mode is proper. Using the transactional memory word to help with concurrency control allows multiple combinations of operations to be performed against the same memory location simultaneously and/or from different transactions. For example, a pessimistic read operation and an optimistic read operation can be performed against the same memory location.

    摘要翻译: 公开了改进事务存储器系统中并发控制模式的实现的各种技术和技术。 为每条数据提供事务记忆字。 事务存储器字包括版本号,读取器指示符和专用写入器指示符。 分析事务性存储器字以确定特定的并发控制模式是否合适。 使用事务存储器字来帮助并发控制允许对同一存储位置同时和/或从不同的事务执行多个操作组合。 例如,可以针对相同的存储器位置执行悲观的读取操作和乐观的读取操作。

    Efficient retry for transactional memory
    3.
    发明申请
    Efficient retry for transactional memory 有权
    高效重试事务记忆

    公开(公告)号:US20090007070A1

    公开(公告)日:2009-01-01

    申请号:US11823211

    申请日:2007-06-27

    IPC分类号: G06F9/44

    摘要: Various technologies and techniques are disclosed for implementing retrying transactions in a transactional memory system. The system allows a transaction to execute a retry operation. The system registers for waits on every read in a read set of the retrying transaction. The retrying transaction waits for notification that something in the read set has changed. A transaction knows if notification is required in one of two ways. If the transactional memory word contained a waiters bit during write lock acquisition, then during release the transactional memory word is looked up in an object waiters map, and waiting transactions are signaled. If a writing transaction finds a global count of waiting transactions to be greater than zero after releasing write locks, a transaction waiters map is used to determine which waiting transactions need to be signaled. In each case, the write lock is released using a normal store operation.

    摘要翻译: 公开了用于在事务性存储器系统中实现重试事务的各种技术和技术。 系统允许事务执行重试操作。 系统注册等待重读事务的读取集中的每次读取。 重试事务等待通知,读取集中的某些内容已更改。 交易知道是否需要以两种方式之一通知。 如果事务存储器字在写入锁定获取期间包含一个服务器位,则在释放期间,在对象服务器映射中查找事务存储器字,并且发送等待事务。 如果写入事务在释放写入锁之后发现等待事务的全局计数大于零,则使用事务服务器映射来确定哪些等待事务需要发出信号。 在每种情况下,使用正常的存储操作来释放写入锁定。

    COMBINED PESSIMISTIC AND OPTIMISTIC CONCURRENCY CONTROL
    4.
    发明申请
    COMBINED PESSIMISTIC AND OPTIMISTIC CONCURRENCY CONTROL 有权
    组合式和最优协调控制

    公开(公告)号:US20080319997A1

    公开(公告)日:2008-12-25

    申请号:US12197043

    申请日:2008-08-22

    IPC分类号: G06F17/30

    摘要: Various technologies and techniques are disclosed that improve implementation of concurrency control modes in a transactional memory system. A transactional memory word is provided for each piece of data. The transactional memory word includes a version number, a reader indicator, and an exclusive writer indicator. The transactional memory word is analyzed to determine if the particular concurrency control mode is proper. Using the transactional memory word to help with concurrency control allows multiple combinations of operations to be performed against the same memory location simultaneously and/or from different transactions. For example, a pessimistic read operation and an optimistic read operation can be performed against the same memory location.

    摘要翻译: 公开了改进事务存储器系统中并发控制模式的实现的各种技术和技术。 为每条数据提供事务记忆字。 事务存储器字包括版本号,读取器指示符和专用写入器指示符。 分析事务性存储器字以确定特定的并发控制模式是否合适。 使用事务存储器字来帮助并发控制允许对同一存储位置同时和/或从不同的事务执行多个操作组合。 例如,可以针对相同的存储器位置执行悲观的读取操作和乐观的读取操作。

    Exception ordering in contention management to support speculative sequential semantics
    6.
    发明申请
    Exception ordering in contention management to support speculative sequential semantics 有权
    竞争管理中的异常排序支持推测性顺序语义

    公开(公告)号:US20080120300A1

    公开(公告)日:2008-05-22

    申请号:US11820556

    申请日:2007-06-20

    IPC分类号: G06F17/30

    CPC分类号: G06F9/3842

    摘要: Various technologies and techniques are disclosed for handling exceptions in sequential statements that are executed in parallel. A transactional memory system is provided with a contention manager. The contention manager is responsible for managing exceptions that occur within statements that were designed to be executed in an original sequential order, and that were transformed into ordered transactions for speculative execution in parallel. The contention manager ensures that any exceptions that are thrown from one or more speculatively executed blocks while the statements are being executed speculatively in parallel are handled in the original sequential order.

    摘要翻译: 公开了用于处理并行执行的顺序语句中的异常的各种技术和技术。 交易内存系统与竞争管理器一起提供。 竞争管理器负责管理在原始顺序中被设计为执行的语句中发生的异常,并且被并行转换为有序事务以进行投机执行。 争用管理器确保在以并行方式推测性地执行语句时从一个或多个推测执行的块抛出的任何异常以原始顺序的顺序进行处理。

    Parallel nested transactions in transactional memory
    7.
    发明授权
    Parallel nested transactions in transactional memory 有权
    事务内存中的并行嵌套事务

    公开(公告)号:US07962456B2

    公开(公告)日:2011-06-14

    申请号:US11901483

    申请日:2007-09-18

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30356 G06F17/30362

    摘要: Various technologies and techniques are disclosed for supporting parallel nested transactions in a transactional memory system. For example, pessimistic reads are supported. A pessimistic duplication detection data structure is created for a parallel nested transaction. An entry is made into the data structure for each pessimistic read in the parallel nested transaction. When committing the parallel nested transaction, new pessimistic read locks are passed to an immediate parent, and an entry is made into a separate pessimistic duplication detection data structure of the immediate parent with synchronization between sibling transactions. The pessimistic duplication detection data structures can also be used for upgrades from pessimistic reads to write locks. Retry operations are supported with parallel nested transactions. Write abort compensation maps can be used with parallel nested transactions to detect and handle falsely doomed parent transactions.

    摘要翻译: 公开了用于支持事务存储器系统中的并行嵌套事务的各种技术和技术。 例如,支持悲观的读取。 为并行嵌套事务创建悲观重复检测数据结构。 在并行嵌套事务中,每个悲观读取的数据结构都会被输入。 在提交并行嵌套事务时,新的悲观读锁传递给一个直接的父类,并且一个条目被做成一个独立的悲观重复检测数据结构的直接父母同步的兄弟交易。 悲观的重复检测数据结构也可用于从悲观读取到写入锁的升级。 并行嵌套事务支持重试操作。 写入中止补偿映射可以与并行嵌套事务一起使用,以检测和处理错误注销的父事务。

    Transactional memory using buffered writes and enforced serialization order
    8.
    发明授权
    Transactional memory using buffered writes and enforced serialization order 有权
    事务内存使用缓冲写入和强制序列化顺序

    公开(公告)号:US07908255B2

    公开(公告)日:2011-03-15

    申请号:US11786174

    申请日:2007-04-11

    IPC分类号: G06F17/30

    CPC分类号: G06F9/528

    摘要: Various technologies and techniques are disclosed that support buffered writes and enforced serialization order in a software transactional memory system. A buffered write process is provided that performs writes to shadow copies of objects and writes content back to the objects after validating a respective transaction during commit. When a write lock is first obtained for a particular transaction, a shadow copy is made of a particular object. Writes are performed to and reads from the shadow copy. After validating the particular transaction during commit, content is written from the shadow copy to the particular object. A transaction ordering process is provided that ensures that an order in which the transactions are committed matches an abstract serialization order of the transactions. Transactions are not allowed to commit until their ticket number matches a global number that tracks the next transaction that should commit.

    摘要翻译: 公开了各种技术和技术,其支持软件事务存储器系统中的缓冲写入和强制序列化顺序。 提供缓冲的写入过程,其在对象的卷影副本执行写入,并且在提交期间验证相应的事务之后将内容写回到对象。 当一个特定的事务首次获得一个写锁定时,一个影子副本是由一个特定的对象组成的。 写入被执行并从卷影副本中读取。 在提交期间验证特定事务后,将内容从卷影副本写入特定对象。 提供了事务排序过程,其确保事务被提交的顺序与事务的抽象序列化顺序相匹配。 事务不允许提交,直到他们的机票号码跟踪跟踪下一个应该提交的事务的全局号码。

    Software transaction commit order and conflict management
    9.
    发明授权
    Software transaction commit order and conflict management 有权
    软件交易提交订单和冲突管理

    公开(公告)号:US07711678B2

    公开(公告)日:2010-05-04

    申请号:US11601541

    申请日:2006-11-17

    IPC分类号: G06F17/30

    CPC分类号: G06F9/466 Y10S707/99933

    摘要: Various technologies and techniques are disclosed for applying ordering to transactions in a software transactional memory system. A software transactional memory system is provided with a feature to allow a pre-determined commit order to be specified for a plurality of transactions. The pre-determined commit order is used at runtime to aid in determining an order in which to commit the transactions in the software transactional memory system. A contention management process is invoked when a conflict occurs between a first transaction and a second transaction. The pre-determined commit order is used in the contention management process to aid in determining whether the first transaction or the second transaction should win the conflict and be allowed to proceed.

    摘要翻译: 公开了各种技术和技术,用于对软件事务存储器系统中的事务应用排序。 提供了软件事务存储器系统的特征,以允许为多个事务指定预定的提交顺序。 在运行时使用预定的提交订单来帮助确定在软件事务存储器系统中提交事务的顺序。 当在第一事务和第二事务之间发生冲突时,调用争用管理进程。 在竞争管理过程中使用预先确定的提交订单以帮助确定第一交易或第二交易是否应该赢得冲突并被允许继续进行。

    Parallel nested transactions in transactional memory
    10.
    发明申请
    Parallel nested transactions in transactional memory 有权
    事务内存中的并行嵌套事务

    公开(公告)号:US20090077082A1

    公开(公告)日:2009-03-19

    申请号:US11901494

    申请日:2007-09-18

    IPC分类号: G06F17/30

    CPC分类号: G06F17/30362 G06F17/30368

    摘要: Various technologies and techniques are disclosed for supporting parallel nested transactions in a transactional memory system. Releasing a duplicate write lock for rollback is supported. During rollback processing of a parallel nested transaction, a write log entry is encountered that represents a write lock. If the write lock is a duplicate, a global lock is used to synchronize access to a global versioned write lock map. Optimistic read validation is supported. During validation, if a versioned write lock indicates a sibling conflict, consult information to determine if a parallel nested transaction should be doomed. Write lock acquisition is supported. Upon attempting to acquire a write lock for a parallel nested transaction, a transactional memory word is analyzed to determine if the write lock can be obtained. If the transactional memory word indicates a versioned write lock, retrieve a write log entry pointer from a global versioned write lock map.

    摘要翻译: 公开了用于支持事务存储器系统中的并行嵌套事务的各种技术和技术。 支持释放重复的写入锁回滚。 在并行嵌套事务的回滚处理期间,遇到表示写入锁定的写入日志条目。 如果写入锁是重复的,则使用全局锁来同步对全局版本的写锁定映射的访问。 支持乐观阅读验证。 在验证期间,如果版本控制的写锁定表示兄弟冲突,请咨询信息以确定并行嵌套事务是否应注定。 支持写入锁定。 在尝试获取并行嵌套事务的写入锁定时,分析事务存储器字以确定是否可以获得写入锁定。 如果事务内存字指示版本化的写锁定,则从全局版本的写锁定映射中检索写入日志条目指针。