发明名称 COUNTER-BASED WIDE FETCH MANAGEMENT
摘要 Embodiments relate to counter-based wide fetch management. An aspect includes assigning a counter to a first memory region in a main memory that is allocated to a first application that is executed by a processor of a computer. Another aspect includes maintaining, by the counter, a count of a number of times adjacent cache lines in the cache memory that correspond to the first memory region are touched by the processor. Another aspect includes determining an update to a data fetch width indicator corresponding to the first memory region based on the counter. Another aspect includes sending a hardware notification from a counter management module to supervisory software of the computer of the update to the data fetch width indicator. Yet another aspect includes updating, by the supervisory software, the data fetch width indicator of the first memory region in the main memory based on the hardware notification.
申请公布号 US2016299846(A1) 申请公布日期 2016.10.13
申请号 US201615186599 申请日期 2016.06.20
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Gschwind Michael K.;Moreira Jose E.
分类号 G06F12/08 主分类号 G06F12/08
代理机构 代理人
主权项 1. A computer-implemented method for counter-based wide fetch management in a computer system that comprises a processor, a cache memory, and a main memory, the method comprising: assigning, by a counter management module, a counter from a set of counters, to a first memory region in the main memory, wherein the first memory region is allocated to a first application that is executed by the processor; maintaining, by the counter, a count of a number of times adjacent cache lines in the cache memory corresponding to the first memory region are touched by the processor within a predetermined duration since the assigning of the counter to the first memory region, wherein the processor touches the cache lines in conjunction with execution of the first application; updating, by the counter management module, a data fetch width indicator corresponding to the first memory region in response to the count being at least a predetermined threshold value within the predetermined duration since the assigning of the counter to the first memory region; and assigning, by the counter management module, the counter to a second memory region in the main memory in response to the count being less than the predetermined threshold value within the predetermined duration since the assigning of the counter to the first memory region.
地址 Armonk NY US