Method and apparatus for tuning a processor to improve its performance
AssigneeArm Limited
InventorsSimon Andrew Ford, Stephen John Hill
Life of this patent
Estimating the term…
Abstract
A data processing apparatus comprising a processor for executing a data processing process and a processor for executing a tuning process is disclosed. The data processing apparatus is arranged such that the tuning process which is a different process to the data processing process can access the parameters of speculative mechanisms of the data processing process and tune the parameters so that the mechanisms speculate differently and in this way the performance of this data processing process can be improved.
Claims8
A processor for executing a data processing process, said processor comprising:
- an interface configured to provide a tuning process external to said processor with observational access to at least some of a state of said processor during execution of said data processing process and output access to output tuning data relating to parameters of speculative mechanisms of said processor,
- wherein, through said interface, said tuning process accesses observational data relating to at least some of the state of said processor and tunes said parameters of speculative mechanisms of said processor, so that said mechanisms speculate differently and thereby improve a performance of said processor,
- wherein a critical state of said processor is unaltered by said tuning of said parameters, said critical state being a state whose alteration causes a program executing on said processor to produce an incorrect result.
A processor for executing a data processing process, said processor comprising:
- an interface configured to provide a tuning process external to said processor with observational access to at least some of a state of said processor during execution of said data processing process and output access to output tuning data relating to parameters of speculative mechanisms of said processor,
- wherein, through said interface, said tuning process accesses observational data relating to at least some of the state of said processor and tunes said parameters of speculative mechanisms of said processor, so that said mechanisms speculate differently and thereby improve a performance of said processor,
- wherein said processor is configured to operate in a plurality of modes and a plurality of domains, said interface, responsive to at least one of said domains and modes, is configured to inhibit at least one of observation and tuning of said processor via said interface;
- wherein said processor is configured to operate in a secure domain and a non-secure domain, said processor, when operating in said secure domain, having access to secure data which is not accessible to said processor when operating in said non-secure domain, said interface is configured to inhibit at least one of observation and tuning of said processor via said interface in response to detecting said processor operating in said secure domain.
A processor for executing a data processing process, said processor comprising:
- an interface configured to provide a tuning process external to said processor with observational access to at least some of a state of said processor during execution of said data processing process and output access to output tuning data relating to parameters of speculative mechanisms of said processor,
- wherein, through said interface, said tuning process accesses observational data relating to at least some of the state of said processor and tunes said parameters of speculative mechanisms of said processor, so that said mechanisms speculate differently and thereby improve a performance of said processor,
- said processor having a reset to default mechanism configured to reset said speculative parameters to default values in response to at least one of detecting an activity of said processor taking longer than a predetermined time and an accuracy of said speculative mechanism falling below a predetermined threshold, and configured to isolate said interface from said processor such that said parameters cannot be tuned further by said tuning process.
Dependencies are inferred from the claim text.