OS Support for Virtualizing Hardware Transactional Memory

dc.contributor.authorSwift, Michael M.en_US
dc.contributor.authorVolos, Harisen_US
dc.contributor.authorGoyal, Neelamen_US
dc.contributor.authorYen, Lukeen_US
dc.contributor.authorHill, Mark D.en_US
dc.contributor.authorWood, David A.en_US
dc.date.accessioned2012-03-15T17:23:09Z
dc.date.available2012-03-15T17:23:09Z
dc.date.created2008en_US
dc.date.issued2008
dc.description.abstractTransactional memory promises to simplify multithreaded programming. Hardware TM (HTM) implementations promise better performance by augmenting processors with transactional state. However, HTMs interact poorly with the operating system or virtual machine monitor. For example, they often do not tolerate OS actions that virtualize processors and memory, such as context switching and paging. Without support for these actions, an HTM may not execute programs correctly or guarantee forward progress. We investigate virtualizing transactional memory in the context of LogTM-SE. First, we describe an implementation of a kernel module in OpenSolaris that implements transactional virtualization and requires only 1120 lines of code. Second, we find that LogTM-SE interacts poorly with virtual machine monitors due to a reliance on physical addresses. We propose an extension to LogTM-SE, called LogTM-VSE, that addresses these problems and improves context-switching performance. Third, through application tracing on real hardware and full system simulation, we show virtualizing transactions can be necessary for system stability and to support code that voluntarily context switches. However, we find that aborting a transaction is generally faster than virtualizing it, and hence preferable in some cases.en_US
dc.format.mimetypeapplication/pdfen_US
dc.identifier.citationTR1630en_US
dc.identifier.urihttp://digital.library.wisc.edu/1793/60624
dc.publisherUniversity of Wisconsin-Madison Department of Computer Sciencesen_US
dc.titleOS Support for Virtualizing Hardware Transactional Memoryen_US
dc.typeTechnical Reporten_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR1630.pdf
Size:
349.9 KB
Format:
Adobe Portable Document Format