发明名称 Supporting atomic accumulation with an addressable accumulator
摘要 Atomically accumulating memory updates in a computer system configured with an accumulator that is memory mapped. The accumulator includes an accumulator memory and an accumulator queue and is configured to communicatively couple to a processor. Included is receiving from the processor, by the accumulator, an accumulation request. The accumulation request includes an accumulation operation identifier and data. Based on determining, by the accumulator, that the accumulator can immediately process the request, immediately processing the request. Processing the request includes atomically updating a value in the accumulator memory, by the accumulator, based on the operation identifier and data of the accumulation request. Based on determining, by the accumulator, that the accumulator is actively processing another accumulation request, queuing, by the accumulator, the accumulation request for later processing. Further included is signaling the processor, by the accumulator, the completion of the accumulation request.
申请公布号 US9575890(B2) 申请公布日期 2017.02.21
申请号 US201414191566 申请日期 2014.02.27
申请人 International Business Machines Corporation 发明人 Busaba Fadi Y.;Gschwind Michael Karl;Schwarz Eric M.
分类号 G06F12/02;G06F9/46;G06F9/52;G06F12/08 主分类号 G06F12/02
代理机构 代理人 Maranzano Teddi E.
主权项 1. A computer program product for atomically accumulating memory updates in a computer system configured with an accumulator that is memory mapped, the accumulator mapped to a memory address, having an accumulator memory and an accumulator queue, the accumulator configured to communicatively couple to a processor, the computer program product comprising: a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: receiving from the processor, by the accumulator, an accumulator request directed to, the memory address, the accumulator request comprising an accumulator operation identifier and data; andbased on determining, by the accumulator, that the accumulator is available to immediately process the request: immediately processing the request, the processing comprising atomically updating a value in the accumulator memory, by the accumulator, based on the operation identifier and data in the accumulator request; andnotifying the processor, by the accumulator, of a completion of the accumulator request;based on determining, by the accumulator, that the accumulator is not available to immediately process the request, due to the accumulator actively processing another accumulator request, queuing, by the accumulator, the accumulator request, the queued request to be processed when the accumulator becomes available.
地址 Armonk NY US