system|《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 focusbased 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.
推荐阅读
- 慢慢的美丽
- 《真与假的困惑》???|《真与假的困惑》??? ——致良知是一种伟大的力量
- 《跨界歌手》:亲情永远比爱情更有泪点
- 诗歌:|诗歌: 《让我们举起世界杯,干了!》
- 期刊|期刊 | 国内核心期刊之(北大核心)
- 《魔法科高中的劣等生》第26卷(Invasion篇)发售
- 人间词话的智慧
- 《一代诗人》37期,生活,江南j,拨动心潭的一泓秋水
- 广角叙述|广角叙述 展众生群像——试析鲁迅《示众》的展示艺术
- 书评——《小行星》