Bi-modal memory idle hysteresis for optimal add-in card accelerator performance and power
Methods, systems and apparatuses provide for technology that detects an access to memory, wherein the memory is on a discrete graphics device that includes an accelerator, sets an idle hysteresis value of the memory to a first level if the access to the memory is associated with activity in the accelerator, and sets the idle hysteresis value of the memory to a second level if the access to the memory is not associated with the activity in the accelerator, wherein the second level is greater than the first level.
1 . A discrete graphics device comprising:
a memory;
an accelerator coupled to the memory; and
a power controller including a set of instructions, which when executed by the power controller, cause the power controller to:
detect an access to the memory,
set an idle hysteresis value of the memory to a first level if the access to the memory is associated with activity in the accelerator, wherein the idle hysteresis value of the memory corresponds to a duration during which the memory remains powered on after the memory has no pending access requests to be processed, and
set the idle hysteresis value of the memory to a second level if the access to the memory is not associated with the activity in the accelerator, wherein the second level is greater than the first level.
2 . The discrete graphics device of claim 1 , wherein the instructions, when executed, further cause the discrete graphics device to control a power state of the memory based on the idle hysteresis value.
3 . The discrete graphics device of claim 1 , wherein the idle hysteresis value is set to the first level if the access to the memory is one or more of adjacent to and before a beginning of the activity in the accelerator, during the activity in the accelerator or adjacent to and after an end of the activity in the accelerator.
4 . The discrete graphics device of claim 1 , wherein the first level is approximately twice a power state transition latency of the memory.
5 . The discrete graphics device of claim 1 , wherein the second level is at least twice a workload frame time corresponding to the activity in the accelerator.
6 . At least one non-transitory computer readable storage medium comprising a set of instructions, which when executed by a computing system, cause the computing system to:
detect an access to memory, wherein the memory is on a discrete graphics device that includes an accelerator;
set an idle hysteresis value of the memory to a first level if the access to the memory is associated with activity in the accelerator, wherein the idle hysteresis value of the memory corresponds to a duration during which the memory remains powered on after the memory has no pending access requests to be processed; and
set the idle hysteresis value of the memory to a second level if the access to the memory is not associated with the activity in the accelerator, wherein the second level is greater than the first level.
7 . The at least one non-transitory computer readable storage medium of claim 6 , wherein the instructions, when executed, further cause the computing system to control a power state of the memory based on the idle hysteresis value.
8 . The at least one non-transitory computer readable storage medium of claim 6 , wherein the idle hysteresis value is set to the first level if the access to the memory is adjacent to and before a beginning of the activity in the accelerator.
9 . The at least one non-transitory computer readable storage medium of claim 6 , wherein the idle hysteresis value is set to the first level if the access to the memory is during the activity in the accelerator.
10 . The at least one non-transitory computer readable storage medium of claim 6 , wherein the idle hysteresis value is set to the first level if the access to the memory is adjacent to and after an end of the activity in the accelerator.
11 . The at least one non-transitory computer readable storage medium of claim 6 , wherein the first level is approximately twice a power state transition latency of the memory.
12 . The at least one non-transitory computer readable storage medium of claim 6 , wherein the second level is at least twice a workload frame time corresponding to the activity in the accelerator.
13 . A semiconductor apparatus comprising:
one or more substrates; and
logic coupled to the one or more substrates, wherein the logic is implemented at least partly in one or more of configurable or fixed-functionality hardware, the logic to:
detect an access to memory, wherein the memory is on a discrete graphics device that includes an accelerator;
set an idle hysteresis value of the memory to a first level if the access to the memory is associated with activity in the accelerator, wherein the idle hysteresis value of the memory corresponds to a duration during which the memory remains powered on after the memory has no pending access requests to be processed; and
set the idle hysteresis value of the memory to a second level if the access to the memory is not associated with the activity in the accelerator, wherein the second level is greater than the first level.
14 . The semiconductor apparatus of claim 13 , wherein the logic is to control a power state of the memory based on the idle hysteresis value.
15 . The semiconductor apparatus of claim 13 , wherein the idle hysteresis value is set to the first level if the access to the memory is adjacent to and before a beginning of the activity in the accelerator.
16 . The semiconductor apparatus of claim 13 , wherein the idle hysteresis value is set to the first level if the access to the memory is during the activity in the accelerator.
17 . The semiconductor apparatus of claim 13 , wherein the idle hysteresis value is set to the first level if the access to the memory is adjacent to and after an end of the activity in the accelerator.
18 . The semiconductor apparatus of claim 13 , wherein the first level is approximately twice a power state transition latency of the memory.
19 . The semiconductor apparatus of claim 13 , wherein the second level is at least twice a workload frame time corresponding to the activity in the accelerator.
20 . A method comprising:
detecting an access to memory, wherein the memory is on a discrete graphics device that includes an accelerator;
setting an idle hysteresis value of the memory to a first level if the access to the memory is associated with activity in the accelerator, wherein the idle hysteresis value of the memory corresponds to a duration during which the memory remains powered on after the memory has no pending access requests to be processed; and
setting the idle hysteresis value of the memory to a second level if the access to the memory is not associated with the activity in the accelerator, wherein the second level is greater than the first level.
21 . The method of claim 20 , further including controlling a power state of the memory based on the idle hysteresis value.
22 . The method of claim 20 , wherein the idle hysteresis value is set to the first level if the access to the memory is one or more of adjacent to and before a beginning of the activity in the accelerator, during the activity in the accelerator or adjacent to and after an end of the activity in the accelerator.
23 . The method of claim 20 , wherein the first level is approximately twice a power state transition latency of the memory.
24 . The method of claim 20 , wherein the second level is at least twice a workload frame time corresponding to the activity in the accelerator.