Instruction-associated processor resource optimization
First Claim
Patent Images
1. A device comprising:
- a processor having an associated hardware resource and a present context; and
a control unit associated with the processor and operable to fetch an instruction of an instruction group for execution by the processor;
receive a first and a second previously selected resource management policy associated in a computer-readable recordable medium with the instruction of the instruction group, the first previously selected resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially optimum execution of the instruction group if the processor has a first predefined context, the second previously selected resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially sub-optimum execution of the instruction group if the processor has a second predefined context, the first and the second previously selected resource management policy being received when the processor is scheduled to run the associated instruction of the instruction group;
determine whether a predetermined correlation exists between the present context of the processor and one of the first and the second predefined context to identify a corresponding previously selected resource management policy; and
apply the corresponding previously selected resource management policy.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments include a device and a method. In an embodiment, a method applies a first resource management strategy to a first resource associated with a first processor and executes an instruction block in a first processor. The method also applies a second resource management strategy to a second resource of a similar type as the first resource and executes the instruction block in a second processor. The method further selects a resource management strategy likely to provide a substantially optimum execution of the instruction group from the first resource management strategy and the second resource management strategy.
108 Citations
25 Claims
-
1. A device comprising:
-
a processor having an associated hardware resource and a present context; and a control unit associated with the processor and operable to fetch an instruction of an instruction group for execution by the processor; receive a first and a second previously selected resource management policy associated in a computer-readable recordable medium with the instruction of the instruction group, the first previously selected resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially optimum execution of the instruction group if the processor has a first predefined context, the second previously selected resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially sub-optimum execution of the instruction group if the processor has a second predefined context, the first and the second previously selected resource management policy being received when the processor is scheduled to run the associated instruction of the instruction group; determine whether a predetermined correlation exists between the present context of the processor and one of the first and the second predefined context to identify a corresponding previously selected resource management policy; and apply the corresponding previously selected resource management policy. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
2. A method comprising:
-
fetching an instruction of an instruction group to be executed by a processor core of a chip having at least two processor cores that each have access to a resource; receiving a first and a second previously selected resource management policy that is logically associated in a computer-readable recordable medium with the instruction group, the first previously selected resource management policy having been selected based on at least one of theoretical information or historical information as likely to provide a substantially optimum execution of the instruction group if a first processor core has a first predefined context, the second previously selected resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially sub-optimum execution of the instruction group if a second processor core has a second predefined context; identify a corresponding previously selected resource management policy if a predetermined correlation exists between a present context of the first processor core and the first predefined context or if predetermined correlation exists between a present context of the second processor context and the second predefined context; applying the identified corresponding previously selected resource management policy to the resource; and executing the instruction by the processor core. - View Dependent Claims (3, 4, 5, 6)
-
-
19. A method implemented in a computing device, the method comprising:
-
fetching but are not enough an instruction of an instruction group for execution by a processor having an associated hardware resource and a first execution context; receiving a previously selected resource management policy associated in a computer-readable recordable medium with the instruction group, the previously selected resource management policy having been selected based on at least one of theoretical information or historical information as likely to provide a substantially optimum execution of the instruction group if the processor has a predefined context; applying the previously selected resource management policy if a predetermined correlation exists between the present context of the processor and the predefined context; applying a second hardware resource management policy to the instruction of the instruction group to produce a second execution context, the second hardware resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially sub-optimum execution of the instruction group if the processor has a second predefined context; comparing the first and second execution contexts; and selecting one policy of the previously selected hardware resource management policy and the second hardware resource management policy in response to comparing the first and second execution contexts, wherein the selected one policy is stored for retrieval at a run time that is scheduled for the instruction of the instruction group. - View Dependent Claims (20, 21)
-
-
22. A computing device comprising:
-
means for fetching an instruction of an instruction group for execution by a processor having an associated hardware resource and a present context; means for receiving a first and a second previously selected resource management policy associated in a computer-readable recordable medium with the instruction group, the first previously selected resource management policy having been selected based on at least one of theoretical information or historical information as likely to provide a substantially optimum execution of the instruction group if the processor has a first predefined context, the second previously selected resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially sub-optimum execution of the instruction group if the processor has a second predefined context; and means for applying one of the first and the second previously selected resource management policy if a predetermined correlation exists between the present context of the processor and one of the first and the second predefined context. - View Dependent Claims (23)
-
-
24. A device comprising:
-
a processor having an associated hardware resource and a present context; and a control unit associated with the processor and operable to fetch an instruction of an instruction group for execution by the processor; receive a previously selected resource management policy associated in a storage device with the instruction group, the previously selected resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially optimum execution of the instruction group if the processor has a predefined context in response to an application of a first test hardware resource management strategy to the hardware resource and to an application of a second test hardware resource management strategy to the hardware resource without a condition responsive to the application of the first test hardware resource management strategy, the second test hardware resource management policy selected based on at least one of theoretical information or historical information as likely to provide a substantially sub-optimum execution of the instruction group if the processor has a second predefined context, the previously selected resource management policy being associated with the instruction of the instruction group, and the previously selected resource management policy being received when the processor is scheduled to run the associated instruction of the instruction group; and apply the previously selected resource management policy if a predetermined correlation exists between the present context of the processor and the first predefined context or apply the second test hardware resource management policy if a predetermined correlation exists between the present context of the processor and the second predefined context. - View Dependent Claims (25)
-
Specification