简体   繁体   English

分析和诊断之间的区别(性能计数器和监控)

[英]Difference between profiling and dignostics(performance counters and monitoring)

I am working on implementing prototype performance monitoring system, I went through multiple documents and resources for understanding the concept but am still confused between profiling and dignostics.我正在实施原型性能监控系统,我浏览了多个文档和资源来理解这个概念,但仍然在分析和诊断之间感到困惑。 Can somebody provide an explanation of these two terms, their relation and when/where do we use them?有人可以解释这两个术语,它们的关系以及我们何时/何地使用它们吗?

"Profiling" usually means mapping things happening in the system (eg, performance monitoring events) to processes, or to functions (or instructions) within processes. “剖析”通常意味着将系统中发生的事情(例如,性能监控事件)映射到进程或进程内的功能(或指令)。 Examples of profiling tools in the Unix/Linux world include "gprof" and "oprofile". Unix/Linux 世界中的分析工具示例包括“gprof”和“oprofile”。 Intel's "VTune Amplifier" is another commonly used profiler. Intel 的“VTune Amplifier”是另一个常用的分析器。 Some profilers are limited to looking at the performance of a single process, while others (usually requiring elevated privileges) monitor all processes (including the kernel) operating on the system during the measurement period.一些分析器仅限于查看单个进程的性能,而其他分析器(通常需要提升权限)在测量期间监视系统上运行的所有进程(包括内核)。

"Diagnostics" is not a term I see very often in performance monitoring, but from the context I would assume that this means looking for evidence of "trouble" in the overall operation of the system. “诊断”不是我在性能监控中经常看到的一个术语,但从上下文来看,我认为这意味着寻找系统整体运行中“故障”的证据。 As an example, the performance monitoring system at https://github.com/TACC/tacc_stats collects hardware and software performance monitoring data on each server.例如, https://github.com/TACC/tacc_stats的性能监控系统收集每台服务器上的硬件和软件性能监控数据。 In TACC's operation, the data is reviewed automatically to look for matches to a variety of heuristics related to known patterns of poor performance (eg, all memory accesses being made to one socket in a 2-socket system).在 TACC 的操作中,会自动检查数据以寻找与已知性能不佳模式相关的各种启发式方法的匹配项(例如,对 2 插槽系统中的一个插槽进行所有内存访问)。 The data is also used by human performance analysts in response to user queries and is aggregated to provide an overview of performance-related characteristics by application area.人类性能分析师也使用这些数据来响应用户查询,并汇总这些数据以按应用领域提供与性能相关的特征概览。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM