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

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值