知识卡片
外存算法分开计量IO
评估外存 B 树需区分块读写次数和 CPU 处理时间。
若读取一个块比处理块内数据更慢,减少 I/O 更关键;但具体设备的时间与访问位置有关,因此块数只是磁盘耗时的一阶近似。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第18章 B树 · 查看原书依据
For this reason, in this chapter we’ll look separately at the two principal components of the running time: the number of disk accesses, and the CPU (computing) time.
参考来源
- 位置:《算法导论(第4版)》第18章《B树》(OEBPS/chapter018.xhtml,文本字符[5000,10000))。
- 结论依据:原文明确分开磁盘访问数和CPU时间,并说明块数仅为耗时近似。
- 原始内容:For this reason, in this chapter we’ll look separately at the two principal components of the running time: the number of disk accesses, and the CPU (computing) time.