知识卡片
最大有用利用率模型
MUU用三个条件理解吞吐:优化顺序任务,尽量减少GC、切换、通信等非必要工作,并让最紧缺资源最大限度用于有价值工作。其他资源空闲可能是依赖约束的自然结果。CPU是瓶颈时少阻塞和少管理线程;磁盘是瓶颈时则可牺牲CPU和内存做缓存预取。模型先优化吞吐,延迟限制需另加。
结构图:
flowchart TD
A[优化单个顺序任务] --> D[提高有用吞吐]
B[减少切换GC与协调浪费] --> D
C[最紧缺资源优先做有用工作] --> D
相关:[[瓶颈之外的空闲不等于浪费]]。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 理解性能的心智模型 · 查看原书依据
A given system attains maximum throughput when we meet the following conditions: Each sequential task is implemented optimally (we can fix this via profiling). Nonessential tasks are minimal (e.g., GC, context switching, communication overhead, and cache misses). Use the most limiting resource maximally Tasks are assigned to threads and other resources such that the resource in most demand is used to do the most important work.
参考来源
- 位置:《Software Architecture and Decision-Making》第3章《理解性能的心智模型》(来源项目:book-sources;源文件:extracted/Software Architecture and Decision-Making Leveraging Leadership, Technology, and Product Management to Build Great Products… (Srinath Perera)/_epub-src/ch03.xhtml)
- 结论依据:原文的定义、比较或例子支持“MUU用三个条件理解吞吐:优化顺序任务,尽量减少GC、切换、通信等非必要工作,并让最紧缺资源最大限度用于有价值工作”;正文据此说明用途和边界。
- 原始内容:A given system attains maximum throughput when we meet the following conditions: Each sequential task is implemented optimally (we can fix this via profiling). Nonessential tasks are minimal (e.g., GC, context switching, communication overhead, and cache misses). Use the most limiting resource maximally Tasks are assigned to threads and other resources such that the resource in most demand is used to do the most important work.