{"title":"论事务中混合惰性和急切版本管理的正确性","authors":"Lihang Zhao, J. Draper","doi":"10.1109/IPDPSW.2012.320","DOIUrl":null,"url":null,"abstract":"Transactional memory has been proposed as an optimistic concurrency-control construct to ease parallel programming. Hardware transactional memory (HTM) approaches implement version management and conflict detection in hardware to guarantee the correctness of transaction execution. Based on the style of version management and conflict detection, state-of-the-art HTM systems fall into two main types, namely lazy systems and eager systems. Neither system type is able to always perform better than the other over a wide range of applications due to the broad variations in the execution behaviors in typical parallel workloads. In this paper, we focus on the correctness of mixing lazy and eager version management in a log-based HTM. This hybrid type of version management is demonstrated to satisfy the requirement of atomicity and conflict serializability, which are critical for correctness. Furthermore, it is shown that the new approach does not violate the memory coherence formal model.","PeriodicalId":378335,"journal":{"name":"2012 IEEE 26th International Parallel and Distributed Processing Symposium Workshops & PhD Forum","volume":"11 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-05-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"On the Correctness of Mixing Lazy and Eager Version Management in Transactions\",\"authors\":\"Lihang Zhao, J. Draper\",\"doi\":\"10.1109/IPDPSW.2012.320\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Transactional memory has been proposed as an optimistic concurrency-control construct to ease parallel programming. Hardware transactional memory (HTM) approaches implement version management and conflict detection in hardware to guarantee the correctness of transaction execution. Based on the style of version management and conflict detection, state-of-the-art HTM systems fall into two main types, namely lazy systems and eager systems. Neither system type is able to always perform better than the other over a wide range of applications due to the broad variations in the execution behaviors in typical parallel workloads. In this paper, we focus on the correctness of mixing lazy and eager version management in a log-based HTM. This hybrid type of version management is demonstrated to satisfy the requirement of atomicity and conflict serializability, which are critical for correctness. Furthermore, it is shown that the new approach does not violate the memory coherence formal model.\",\"PeriodicalId\":378335,\"journal\":{\"name\":\"2012 IEEE 26th International Parallel and Distributed Processing Symposium Workshops & PhD Forum\",\"volume\":\"11 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2012-05-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2012 IEEE 26th International Parallel and Distributed Processing Symposium Workshops & PhD Forum\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IPDPSW.2012.320\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 IEEE 26th International Parallel and Distributed Processing Symposium Workshops & PhD Forum","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IPDPSW.2012.320","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
On the Correctness of Mixing Lazy and Eager Version Management in Transactions
Transactional memory has been proposed as an optimistic concurrency-control construct to ease parallel programming. Hardware transactional memory (HTM) approaches implement version management and conflict detection in hardware to guarantee the correctness of transaction execution. Based on the style of version management and conflict detection, state-of-the-art HTM systems fall into two main types, namely lazy systems and eager systems. Neither system type is able to always perform better than the other over a wide range of applications due to the broad variations in the execution behaviors in typical parallel workloads. In this paper, we focus on the correctness of mixing lazy and eager version management in a log-based HTM. This hybrid type of version management is demonstrated to satisfy the requirement of atomicity and conflict serializability, which are critical for correctness. Furthermore, it is shown that the new approach does not violate the memory coherence formal model.