COMPUTER SYSTEM AND CONTROL METHOD THEREFOR
An embodiment is a computer system for processing input data, the system including a plurality of calculators, and a host connected to the plurality of calculators configured to control the plurality of calculators, wherein the processed data is configured to be transferred between the plurality of calculators, the calculator includes a trace buffer configured to record trace data upon detection of a predetermined event from the input data, and the trace data has a timestamp value that is the detection time of the event.
1 - 15 . (canceled)
16 . A computer system, comprising:
a plurality of calculators; and
a host connected to the plurality of calculators, the host configured to control the plurality of calculators, wherein
processed data is transferred between the plurality of calculators,
the calculator includes a tracer configured to record trace data upon detection of a predetermined event from input data, and
the trace data has a timestamp value that is a detection time of the event.
17 . The computer system according to claim 16 , wherein
the trace data further includes a type of the input data, information indicating a location where the event is detected, information distinguishing the content of the event, or arbitrary data.
18 . The computer system according to claim 16 , wherein the tracer includes:
a timestamper that includes at least one clock counter and counts time based on an operating frequency of the calculator;
an event generator that is inserted into an arbitrary location of the calculator to detect the event and acquire the timestamp value when the event is detected; and
at least one trace buffer that records the trace data when the event is detected.
19 . The computer system according to claim 18 , wherein the calculator includes a calculator, and the event generator is inserted to a preceding stage or a subsequent stage of the calculator.
20 . The computer system according to claim 18 , wherein the calculator includes a plurality of calculators, and the event generator at a preceding stage or a subsequent stage of one of the plurality of calculators is deleted, and the one calculator is deleted.
21 . The computer system according claim 18 , further comprising:
one event generator configured to detect one of the events and acquires one of the timestamp values when the one of the events is detected; and
another event generator configured to detect another event and acquires the other timestamp value when the other event is detected, wherein
the host or the calculator is configured to measures a difference between the one timestamp value and the other timestamp value.
22 . The computer system according to claim 18 , wherein
the event generator is configured to detect a beginning and an end of the input data and acquire the timestamp value of the beginning and the timestamp value of the end, and
the host or the calculator is configured to measures a data flow rate by dividing an amount of the input data by a difference between the timestamp value of the beginning and the timestamp value of the end.
23 . The computer system according to claim 18 , wherein
the trace buffer is configured to record at least the timestamp value and information indicating a location where the event was detected among the trace data, and
when a fault occurs, either the host or the calculator is configured to resume processing using the trace data in any location preceding the location where the fault occurred in the calculator based on the trace data.
24 . The computer system according claim 16 , wherein a plurality of the hosts are provided.
25 . A method for controlling a computer system comprising a plurality of calculators and a host, each of the plurality of calculators having an event generator, a timestamper, and a trace buffer, in which data is input to the calculator, the method comprising:
counting time, by the timestamper, based on an operating frequency of the calculator; and
detecting, by the event generator, a predetermined event from the data; and
acquiring, by the event generator, a timestamp value when the event is detected.
26 . The method according to claim 25 , further comprising:
detecting, by one event generator, one event from the data and acquires one timestamp value when the one event is detected;
detecting, by another event generator, another event from the input data and acquiring another timestamp value when the other event is detected; and
calculating, by the host or calculator, a processing time from a difference between the one timestamp value and the other timestamp value.
27 . The method according to claim 25 , further comprising:
detecting, by the event generator, a beginning of the input data, and acquiring a timestamp value of the beginning when the beginning is detected;
detecting, by the event generator, an end of the input data and acquires a timestamp value of the end when the end is detected;
calculating a difference between the timestamp value of the beginning and the timestamp value of the end as a passing time of the data; and
calculating, by the host or the calculator, a data flow rate by dividing an amount of the input data by the passing time.
28 . The method according to claim 26 , further comprising:
recording, by the trace buffer, arbitrary data;
comparing, by the host or the calculator, a measured value of either the processing time or the data flow rate with a predetermined threshold;
determining, by the host or the calculator, that a fault has occurred when the measured value exceeds the predetermined threshold;
determining, by the host or the calculator, a location where the fault is detected based on information indicating the location where the event is detected; and
resuming processing, by the host or the calculator, using the arbitrary data recorded in the trace buffer of the calculator preceding the location where the trouble was detected.
29 . The method according to claim 26 , further comprising:
comparing, by the host or the calculator, the measured value of either the processing time or the data flow rate with a predetermined threshold; and
notifying, by the host or the calculator, detection of an abnormality in the computer system when the measured value exceeds the predetermined threshold.
30 . The method according to claim 27 , further comprising:
recording, by trace buffer, information indicating a location where the event is detected;
comparing, by the host or the calculator, the data flow rate with a predetermined threshold; and
setting, by the host or the calculator, a path through which the data passes so as to avoid concentration of the data when the data flow rate exceeds the threshold.
31 . A computer system, comprising:
one or more processors; and
a storage device storing a program to be executed by the one or more processors, the program including instructions for:
detect a predetermined event and generate a trigger for recording the event detection time in a trace buffer;
record the event detection time based on an operating frequency of a calculator of the computer system, the computer system comprising a plurality of calculators;
connect the plurality of calculators; and
set and manage operation parameters for the plurality of calculators.
32 . The computer system of claim 31 , wherein the event generator is configured to detect the event based on the passing of the beginning or end of a data stream.
33 . The computer system of claim 31 , wherein the program further includes instructions for:
managing operation parameters including information for specifying an algorithm when switching between a plurality of algorithms in data processing.
34 . The computer system of claim 31 , wherein the program further includes instructions for:
adding or deleting the plurality of calculators from the computer system regardless of whether the system is stopped or in operation.