发明名称 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.
申请公布号 US9582423(B2) 申请公布日期 2017.02.28
申请号 US201615186591 申请日期 2016.06.20
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Gschwind Michael K.;Moreira Jose E.
分类号 G06F12/08 主分类号 G06F12/08
代理机构 Cantor Colburn LLP 代理人 Cantor Colburn LLP ;Bennett Steven
主权项 1. A computer system for counter-based wide fetch management, the computer system comprising: a processor; a counter management module associated with a set of counters; a cache memory; and a main memory, the system configured to perform a method comprising: assigning, by the counter management module, a counter from the 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; andassigning, 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