您的位置:首页 > 其它

《Systems Performance: Enterprise and the Cloud》读书笔记系列(九) —— 第二章(八)

2014-10-17 18:03 429 查看
1. Workload Characterization: workload characterization is a simple and effective method for identifying a class of issues: those
due to the load applied. It focuses on the input to the system, rather than the resulting performance. Your system may have no architectural or configuration issues present, but it is under more
load than it can reasonably handle.

2. Workloads can be characterized by answering the following questions:
1) Who is causing the load? Process ID, user ID? remote IP address?
2) Why is the load being called? Code path, stack trace?
3) What are the load characteristics? IOPS, throughput, direction(read/write), type? Include variance(stand derivation)
 where appropriate. 
4) How is the load changing over time? Is there a daily pattern?
It can be useful to check all of these, even when you have strong expectations about what the answer will be, because
you may be surprised.

3. The best performance wins are the result of eliminating unnecessary work.

4. Drill-Down Analysis: Drill-down analysis starts with examining an issue at a high level, then narrowing the focus
 based on the previous findings, discarding areas that seem uninteresting, and digging deeper into those areas that are.  A drill-down
analysis methodology has three stages: 
1) Monitoring: This is used for continuously recording high-level statistics over time, and identifying or alerting
if a problem may be present. 
2) Identification: Given a suspected problem, this narrows the investigation to particular resources or areas of
interest,  identifying possible bottlenecks. 
3) Analysis: Further examination of particular system areas is done to attempt to root-cause and quantify the issue.

5. Latency Analysis: Latency analysis examines the time taken to complete an operation, then breaks it into smaller
components, continuing to do subdivide components with the highest priority so that the root cause can be identified and qualified.  Similar
to drill-down analysis, latency analysis may drill down through layers of the software stack to find the origin of latency issues.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐