Method for counting instructions for logging and replay of a deterministic sequence of events
First Claim
1. A method for managing a computer task, termed target, during a given execution period, termed activity period, within a computer system, in a computer processor provided with means of monitoring or estimating performance and including a counter with a given possible error in plus or minus, termed relative error, this process comprising:
- an evaluation of a number of executed instructions up to at least one given point of said activity period, using said counter; and
a generation of data, termed signature, determined from the state of the computer system and corresponding to at least one given point of said activity period;
wherein the method logs the use of a processor by storing in an ordered fashion, in at least one file termed processor log, logging data representing the logging of a succession of activity periods of a plurality of tasks executed in said processor, said logging data comprising for each of the activity periods a datum identifying the executed task; and
wherein the method carries out, from the logging data, a replay of the logged period by managing a task, termed replayed task, executed by a processor, termed replay processor, within a replay computer system, starting from a state corresponding to a state of a logged system at the start of the logged period, the method also comprising;
from the start of the replay period, a monitored execution phase executing a number of instructions, evaluated by the counter, less than or equal to the supposed value of the number of instructions of the logged period, reduced by the relative error of said counter;
a confirmation phase comprising an iteration of the following steps;
interruption of the execution of the replay task at a given point in the replay; and
comparative test between the logged signature and the signature corresponding to the replay interruption point.
1 Assignment
0 Petitions
Accused Products
Abstract
This invention relates to a transparent and non-intrusive method for monitoring and managing the running of tasks executed in one or more computer processors, in particular in multi-processor systems with a parallel architecture. It proposes a system and method for managing a computer task, termed target, during a given execution period, termed activity period (SchJ, SchR), within a computer system, in a computer processor provided with means of monitoring or estimating performance and including a counter (PMC) with a given possible error in plus or minus, termed relative error, this process comprising
- on the one hand, an evaluation of a number of executed instructions (NR, NJ) up to at least one given point of said activity period, using said counter; and
- on the other hand, a generation of data, termed signature (SGJ, SGR), read or calculated from the state of the processor or computer system and corresponding to at least one given point of said activity period.
25 Citations
13 Claims
-
1. A method for managing a computer task, termed target, during a given execution period, termed activity period, within a computer system, in a computer processor provided with means of monitoring or estimating performance and including a counter with a given possible error in plus or minus, termed relative error, this process comprising:
-
an evaluation of a number of executed instructions up to at least one given point of said activity period, using said counter; and a generation of data, termed signature, determined from the state of the computer system and corresponding to at least one given point of said activity period; wherein the method logs the use of a processor by storing in an ordered fashion, in at least one file termed processor log, logging data representing the logging of a succession of activity periods of a plurality of tasks executed in said processor, said logging data comprising for each of the activity periods a datum identifying the executed task; and wherein the method carries out, from the logging data, a replay of the logged period by managing a task, termed replayed task, executed by a processor, termed replay processor, within a replay computer system, starting from a state corresponding to a state of a logged system at the start of the logged period, the method also comprising; from the start of the replay period, a monitored execution phase executing a number of instructions, evaluated by the counter, less than or equal to the supposed value of the number of instructions of the logged period, reduced by the relative error of said counter; a confirmation phase comprising an iteration of the following steps; interruption of the execution of the replay task at a given point in the replay; and comparative test between the logged signature and the signature corresponding to the replay interruption point. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
Specification