

Therefore, you consider your tool's performance impact before execution.

The output of this script is saved to this file 'external_collector_data.log' which is saved under the spike's data directory (see 'data location' above). In addition, this tools provides the option of adding an external script/tool that runs and collects statistics during a CPU spike.Īdd the path to your script using the ' external_collector_path' configuration option (see the section Configurable Variables below).

Off by default - Can be enabled using the configuration parameters (see the section Configurable Variables below).Some statistics are taken for a specific spike (CPU spike/Thread spike), and others are general statistics, which are taken during spikes, but are unassigned to the specific spike. Start Time, CPU Core, Spike Duration, Average Usage, Top Consumerīy default, when a CPU spike is detected, the Spike Detective collects several predetermined statistics. Total Spikes, Average Spike Duration, Average Usage Summary of all CPU spikes during the last minute:.For both CPView and CPView history, the information is gathered during the last minute.The information is similar to the CPU spike information in the log file.Spike information can be reviewed in the CPView > CPU > Spikes. Spike info: type: thread, thread id: 13094, thread name: fw_full, start time: 06/08/20 10:17:50, spike duration (sec): 11, initial cpu usage: 99, average cpu usage: 99, perf taken: 1 Spikes in CPView Spike info: type: cpu, cpu core: 3, top consumer: fw_full, start time: 06/08/20 10:17:56, spike duration (sec): 5, initial cpu usage: 84, average cpu usage: 84, perf taken: 1 Log cat /var/log/spike_detective/spike_detective.log True/False if Performance profiling was taken for this spike.Average utilization during the spikes lifetime.Upon termination, all spikes are registered to the /var/log/spike_detective/spike_detective.log file. Takes profiling information (see the Profiling Data section below)./var/log/spike_detective/spike_detective.log.Utilization is at least 1.5 times higher than the system average (this threshold is configurable).Utilization is over 70% (this threshold is configurable).This ensures that a highly utilized system (for example, during a performance testing) will not detect all CPU cores as "spiked".Ī thread/process is considered as "spiked" if it meets the below conditions: CPU utilization of the specific CPU core is at least 1.5 times higher than the entire system average usage (this threshold is configurable).CPU utilization is over 80% (this threshold is configurable).Detecting a spike How is the spike detected?Ī spike in a CPU core utilization is considered when these conditions are met:
