发明名称 Mitigating conflicts for shared cache lines
摘要 A computer program product for mitigating conflicts for shared cache lines between an owning core currently owning a cache line and a requestor core. The computer program product includes a tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method. The method includes determining whether the owning core is operating in a transactional or non-transactional mode and setting a hardware-based reject threshold at a first or second value with the owning core determined to be operating in the transactional or non-transactional mode, respectively. The method further includes taking first or second actions to encourage cache line sharing between the owning core and the requestor core in response to a number of rejections of requests by the requestor core reaching the reject threshold set at the first or second value, respectively.
申请公布号 US8972666(B2) 申请公布日期 2015.03.03
申请号 US201314095340 申请日期 2013.12.03
申请人 International Business Machines Corporation 发明人 Alexander Khary J.;Shum Chung-Lung K.
分类号 G06F12/08 主分类号 G06F12/08
代理机构 Cantor Colburn LLP 代理人 Cantor Colburn LLP ;McNamara Margaret
主权项 1. A computer system for mitigating conflicts for shared cache lines, the system comprising: an owning core that currently owns a cache line, a requestor core and a hardware-based reject threshold, the system configured to perform a method comprising: determining, by a processor, whether the owning core is operating in one of a transactional mode and a non-transactional mode; setting a hardware-based reject threshold at a first value when the owning core is determined to be operating in the transactional mode and a second value when the owning core is determined to be operating in the non-transactional mode; taking a first action to encourage sharing of the cache line between the owning core the requestor core in response to a number of rejections of requests by the requestor core reaching the reject threshold set at the first value when the owning core is determined to be operating in the transactional mode; and taking a second action, which is different from the first action, to encourage sharing of the cache line between the owning core and the requestor core in response to a number of rejections of requests by the requestor core reaching the reject threshold set at the second value when the owning core is determined to be operating in the non-transactional mode.
地址 Armonk NY US