检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]国防科技大学计算机学院,湖南长沙410073
出 处:《计算机工程与科学》2009年第11期69-72,共4页Computer Engineering & Science
基 金:国家863计划资助项目(2008AA01Z110);湖南省教育厅优秀青年基金资助项目(08B014)
摘 要:事务存储被认为是极具前景的多核处理器并行编程的手段,但存在开销过大的问题。采用Bloom Filter对事务间访问共享变量进行冲突检测,能够有效地降低开销,但其存在误判会导致不必要的事务作废,因此要尽可能减少。简要介绍了Bloom Filter和事务存储,提出了一种事务存储的自适应冲突检测算法ACDA,根据事务读写集合大小自适应地调整Bloom Filter的位串大小,在较低开销的情况下,保持误判率不增加。分析了软件事务存储中实现ACDA的特点,初步实现ACDA,与主流软件事务存储实现RSTM相比,在事务存储测试程序STAMP中,开销可接受的前提下,减少因误判而作废的事务最高达93%。给出了对ACDA哈希函数进一步优化的思路。Transactional memory is a promising parallel programming way for multi-core processors, however it costs a lot. Using Bloom Filter to detect shared variable access conflicts between transactions is an effective way to lower cost over- head. False positives in Bloom Filter can leads to unnecessary transaction roll-back, so it must be reduced. We introduce Bloom Filter and transactional memory briefly, and come up with an adaptive conflict detection algorithm (ACDA) adjusting the length of the Bloom Filter bit vector due to the size of read and write set of transactions. With lower overhead, the false positives are kept stable. We also analyze how to realize ACDA in software transactional memory, and realize it. Compared with RSTM in the test of the STAMP bench mark, ACDA lowers the aborted transactions to 93% at most. We discuss how to optimize ACDA as well.
关 键 词:多核处理器 软件事务存储 BLOOM FILTER 事务存储
分 类 号:TP301[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222