IP Library › Granted Patent US 9,645,935
Granted Patent B2
US 9,645,935 · App. 14/595,737 · Granted May 9, 2017

Intelligent bandwidth shifting mechanism

Inventors: Pradip Bose (Yorktown Heights, NY); Alper Buyuktosunoglu (White Plains, NY); Victor Javier Jimenez Perez (White Plains, NY); Francis P. O'Connell (Austin, TX)
Assignee: International Business Machines Corporation
G06F12/0862G06F9/46G06F11/30G06F2212/602
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,645,935
App. No.
14/595,737
Granted
May 9, 2017
Kind
B2
Abstract

In an approach for sharing memory bandwidth in one or more processors, a processor receives a first set of monitored usage information for one or more processors executing one or more threads. A processor calculates impact of hardware data prefetching for each thread of the one or more threads, based on the first set of monitored usage information. A processor adjusts prefetch settings for the one or more threads, based on the calculated impact of hardware data prefetching for each thread of the one or more threads.

Claims (50)

1. A method for sharing memory bandwidth in one or more processors, the method comprising:

receiving a first set of monitored usage information for one or more processors executing one or more threads, wherein the first set of monitored usage information comprises at least, for each thread of the one or more threads, instructions completed per cycle when prefetch is enabled, instructions completed per cycle when prefetch is disabled, memory bandwidth consumption when prefetch is enabled, and memory bandwidth consumption when prefetch is disabled;

calculating impact of hardware data prefetching for each thread of the one or more threads, based on the first set of monitored usage information; and

adjusting prefetch settings for the one or more threads, based on calculated impact of hardware data prefetching for each thread of the one or more threads.

2. The method of claim 1 , wherein the first set of monitored usage information comprises at least, for each thread of the one or more threads, prefetch requests generated and prefetched data utilized; and

wherein the step of calculating the impact of hardware data prefetching for each thread of the one or more threads is based on at least prefetch requests generated and prefetched data utilized.

3. The method of claim 1 , further comprising:

prior to receiving the first set of monitored usage information, adjusting the prefetch settings for the one or more threads to maximize prefetching for each thread of the one or more threads.

4. The method of claim 1 , further comprising:

receiving a second set of monitored usage information for the one or more processors executing the one or more threads, subsequent to adjusting the prefetch settings for the one or more threads;

determining that adjusted prefetch settings have a negative effect on the one or more processors executing the one or more threads, based on the second set of monitored usage information; and

adjusting the prefetch settings for the one or more threads to a previous setting that was already determined and used.

5. The method of claim 1 , further comprising:

determining that memory bandwidth is saturated for the one or more processors executing the one or more threads, based on the first set of monitored usage information.

6. The method of claim 1 , further comprising:

receiving a second set of monitored usage information for the one or more processors executing the one or more threads, subsequent to adjusting the prefetch settings for the one or more threads; and

determining that the adjusted prefetch settings do not have a negative effect on the one or more processors executing the one or more threads, based on the second set of monitored usage information.

7. A computer program product for sharing memory bandwidth in one or more processors, the computer program product comprising:

one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising:

program instructions to receive a first set of monitored usage information for one or more processors executing one or more threads, wherein the first set of monitored usage information comprises at least, for each thread of the one or more threads, instructions completed per cycle when prefetch is enabled, instructions completed per cycle when prefetch is disabled, memory bandwidth consumption when prefetch is enabled, and memory bandwidth consumption when prefetch is disabled;

program instructions to calculate impact of hardware data prefetching for each thread of the one or more threads, based on the first set of monitored usage information; and

program instructions to adjust prefetch settings for the one or more threads, based on calculated impact of hardware data prefetching for each thread of the one or more threads.

8. The computer program product of claim 7 , wherein the first set of monitored usage information comprises at least, for each thread of the one or more threads, prefetch requests generated and prefetched data utilized; and

wherein program instructions to calculate the impact of hardware data prefetching for each thread of the one or more threads are based on at least prefetch requests generated and prefetched data utilized.

9. The computer program product of claim 7 , further comprising:

program instructions, stored on the one or more computer readable storage media, to, prior to receiving the first set of monitored usage information, adjust the prefetch settings for the one or more threads to maximize prefetching for each thread of the one or more threads.

10. The computer program product of claim 7 , further comprising:

program instructions, stored on the one or more computer readable storage media, to receive a second set of monitored usage information for the one or more processors executing the one or more threads, subsequent to adjusting the prefetch settings for the one or more threads;

program instructions, stored on the one or more computer readable storage media, to determine that the adjusted prefetch settings have a negative effect on the one or more processors executing the one or more threads, based on the second set of monitored usage information; and

program instructions, stored on the one or more computer readable storage media, to adjust the prefetch settings for the one or more threads to a previous setting.

11. The computer program product of claim 7 , further comprising:

program instructions, stored on the one or more computer readable storage media, to determine that memory bandwidth is saturated for the one or more processors executing the one or more threads, based on the first set of monitored usage information.

12. The computer program product of claim 7 , further comprising:

program instructions, stored on the one or more computer readable storage media, to receive a second set of monitored usage information for the one or more processors executing the one or more threads, subsequent to adjusting the prefetch settings for the one or more threads; and

program instructions, stored on the one or more computer readable storage media, to determine that the adjusted prefetch settings do not have a negative effect on the one or more processors executing the one or more threads, based on the second set of monitored usage information.

13. A computer system for sharing memory bandwidth in one or more processors, the computer system comprising:

one or more computer processors, one or more computer readable storage media, and program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:

program instructions to receive a first set of monitored usage information for one or more processors executing one or more threads, wherein the first set of monitored usage information comprises at least, for each thread of the one or more threads, instructions completed per cycle when prefetch is enabled, instructions completed per cycle when prefetch is disabled, memory bandwidth consumption when prefetch is enabled, and memory bandwidth consumption when prefetch is disabled;

program instructions to calculate impact of hardware data prefetching for each thread of the one or more threads, based on the first set of monitored usage information; and

program instructions to adjust prefetch settings for the one or more threads, based on the calculated impact of hardware data prefetching for each thread of the one or more threads.

14. The computer system of claim 13 , wherein the first set of monitored usage information comprises at least, for each thread of the one or more threads, prefetch requests generated and prefetched data utilized; and

wherein program instructions to calculate the impact of hardware data prefetching for each thread of the one or more threads are based on at least prefetch requests generated and prefetched data utilized.

15. The computer system of claim 13 , further comprising:

program instructions, stored on the computer readable storage media for execution by at least one of the one or more processors, to, prior to receiving the first set of monitored usage information, adjust the prefetch settings for the one or more threads to maximize prefetching for each thread of the one or more threads.

16. The computer system of claim 13 , further comprising:

program instructions, stored on the computer readable storage media for execution by at least one of the one or more processors, to receive a second set of monitored usage information for the one or more processors executing the one or more threads, subsequent to adjusting the prefetch settings for the one or more threads;

program instructions, stored on the computer readable storage media for execution by at least one of the one or more processors, to determine that the adjusted prefetch settings have a negative effect on the one or more processors executing the one or more threads, based on the second set of monitored usage information; and

program instructions, stored on the computer readable storage media for execution by at least one of the one or more processors, to adjust the prefetch settings for the one or more threads to a previous setting.

17. The computer system of claim 13 , further comprising:

program instructions, stored on the computer readable storage media for execution by at least one of the one or more processors, to determine that memory bandwidth is saturated for the one or more processors executing the one or more threads, based on the first set of monitored usage information.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 13, 2015
From: BOSE, PRADIP; BUYUKTOSUNOGLU, ALPER; O'CONNELL, FRANCIS P.; JIMENEZ PEREZ, VICTOR JAVIER
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 034699/0012 →
Continuity (1)
Related Publication 20160253264A1 · Sep 1, 2016