Haswell Transactional Memory read-set and write-set information

醉酒当歌 提交于 2019-12-12 06:16:27

问题


Recently, Intel release haswell machines which support hardware transactional memory called transactional synchronization extension(TSX).

As Intel manual said, Speculative memory operations, write-set and read-set, are buffered in L1 cache and L2 cache each. (not exactly)

Then, Can I track transactional memory operations and get information like address, and values of read/write-set?


回答1:


You cannot. There is no (public) interface to the HTM hardware buffers.




回答2:


Read-Set and Write-Set are in CPU Cache, there is no address to access, You can't track, but you can clean the cache by code. For Example, you can give assignments to the array.



来源:https://stackoverflow.com/questions/30069432/haswell-transactional-memory-read-set-and-write-set-information

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!