Execution optimization using a processor resource management policy saved in an association with an instruction group
First Claim
Patent Images
1. A device comprising:
- a processor;
a first and second hardware resource associated with the processor; and
a processor control unit operable tofetch an instruction to be executed in the processor;
apply a first resource management policy to the first hardware resource, wherein the first resource management policy is;
(i) logically associated in a computer-readable medium with a first instruction group that includes the first instruction, and(ii) selected based on at least one of theoretical information or historical information as likely to provide a substantially optimum execution of the first instruction group in response to a previous run-time execution of the first instruction group;
apply a second resource management policy to the second hardware resource, wherein the second resource management policy is;
(i) logically associated in a computer-readable medium with the first instruction group that includes the first instruction, and(ii) selected based on at least one of theoretical information or historical information as likely to provide a substantially sub-optimum execution of the first instruction group in response to a previous run-time execution of the first instruction group such that greater than a preselected level of at least one error will occur during execution of the instruction group;
compare an execution of the first execution group pursuant to the first resource management policy with an execution of the first execution group pursuant to the second resource policy to determine an optimum resource management policy; and
apply the optimum resource management policy to the first hardware resource, wherein the first resource management policy and the second resource management policy can be selected as the optimum resource management policy based on the comparison.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments include a device and a method. In an embodiment, a device provides a resource manager operable to select a resource management policy likely to provide a substantially optimum execution of an instruction group by comparing an execution of the instruction group pursuant to a first resource management policy applied to a hardware resource and an execution of the instruction group pursuant to a second resource management policy applied to the hardware resource.
110 Citations
25 Claims
-
1. A device comprising:
-
a processor; a first and second hardware resource associated with the processor; and a processor control unit operable to fetch an instruction to be executed in the processor; apply a first resource management policy to the first hardware resource, wherein the first resource management policy is; (i) logically associated in a computer-readable medium with a first instruction group that includes the first instruction, and (ii) selected based on at least one of theoretical information or historical information as likely to provide a substantially optimum execution of the first instruction group in response to a previous run-time execution of the first instruction group; apply a second resource management policy to the second hardware resource, wherein the second resource management policy is; (i) logically associated in a computer-readable medium with the first instruction group that includes the first instruction, and (ii) selected based on at least one of theoretical information or historical information as likely to provide a substantially sub-optimum execution of the first instruction group in response to a previous run-time execution of the first instruction group such that greater than a preselected level of at least one error will occur during execution of the instruction group; compare an execution of the first execution group pursuant to the first resource management policy with an execution of the first execution group pursuant to the second resource policy to determine an optimum resource management policy; and apply the optimum resource management policy to the first hardware resource, wherein the first resource management policy and the second resource management policy can be selected as the optimum resource management policy based on the comparison. - View Dependent Claims (2, 3, 11, 12, 13, 14, 15, 16, 17)
-
-
4. A method comprising:
-
fetching an instruction to be executed in a central processor unit having an associated resource; receiving a previously selected resource management policy that is logically associated in a computer-readable medium with an instruction group that includes the instruction, the previously selected resource management policy having been selected in response to a comparison of a previous run-time execution of the instruction group pursuant to an optimistic resource policy selected as likely to based on at least one of theoretical information or historical information provide a substantially optimum execution of the instruction group, and a previous run-time execution of the instruction group pursuant to a pessimistic resource management policy selected as likely to based on at least one of theoretical information or historical information provide a substantially sub-optimum execution of the instruction group such that greater than a preselected level of at least one error will occur during execution of the instruction group; applying the previously selected resource management policy to the resource, wherein the optimistic resource policy and the pessimistic resource management policy can be selected as the previously selected resource management policy based on the comparison; and executing the instruction in the central processor unit. - View Dependent Claims (5, 6, 7, 8, 9, 10, 18, 19, 20, 21, 22)
-
-
23. A device comprising:
-
means for fetching an instruction to be executed in a central processor unit having an associated resource; means for receiving a previously selected resource management policy logically associated in a computer-readable storage medium with the instruction, the resource management policy having been selected as likely to provide a substantially optimum execution of an instruction group that includes the instruction, and having been selected from a comparison between an execution of the instruction group pursuant to an optimistic resource management policy that assumes based on at least one of theoretical information or historical information that the instruction group will execute in a substantially optimal manner and an execution of the instruction group pursuant to a pessimistic resource management policy that assumes based on at least one of theoretical information or historical information that the instruction group will execute in a substantially sub-optimal manner such that greater than a preselected level of at least one error will occur during execution of the instruction group; means for applying the previously selected resource management policy to the resource, wherein the optimistic resource management policy and the pessimistic resource management policy can be selected as the previously selected resource management policy based on the comparison; and means for executing the instruction in the central processor unit.
-
-
24. A device comprising:
-
a processor; a hardware resource associated with the processor; and a processor control unit operable to fetch an instruction; fetch a resource management policy (i) logically associated in a storage device with an instruction group that includes the instruction, and (ii) having been selected from a comparison between an execution of the instruction group pursuant to an optimistic resource management policy that assumes based on at least one of theoretical information or historical information that the instruction group will execute in a substantially optimal manner and a pessimistic resource management policy that assumes based on at least one of theoretical information or historical information that the instruction group will execute in a substantially sub-optimal manner such that greater than a preselected level of at least one error will occur during execution of the instruction group; apply the resource management policy to the hardware resource, wherein the optimistic resource management policy and the pessimistic resource management policy can be selected as the resource management policy based on the comparison; and facilitate execution of the fetched instruction by the processor. - View Dependent Claims (25)
-
Specification