V2EX  ›  英汉词典

Data Hazard

Definition|释义

数据冒险(数据相关冒险):在流水线处理器中,后一条指令需要使用前一条(或更早)指令尚未写回/尚未产生的结果,导致执行出错风险或必须暂停(stall)等待的数据依赖问题。常见类型包括 RAW(Read After Write) 等。(注:在更广义的语境中也可泛指并行/流水线中的数据依赖冲突。)

Pronunciation (IPA)|发音

/ˈdeɪtə ˈhæzərd/

Examples|例句

A data hazard can force the pipeline to stall.
数据冒险可能会迫使流水线暂停。

Without forwarding, the processor must insert bubbles to handle a data hazard between dependent instructions.
如果没有数据前递(转发)机制,处理器就必须插入气泡(空操作)来处理相互依赖指令之间的数据冒险。

Etymology|词源

data(数据)源自拉丁语 datum,意为“给出的东西”;hazard(危险/风险)来自中古法语 hasard,原指“偶然性、风险”。在计算机体系结构领域里,hazard 被借用来表示“会破坏正确执行的隐患”,因此 data hazard 就是“由数据依赖带来的执行隐患”。

Related Words|相关词

In Notable Works|文学/经典著作中的用例

  • Computer Architecture: A Quantitative Approach(John L. Hennessy & David A. Patterson)——在流水线与相关冒险章节系统讨论 data hazard、转发与停顿。
  • Computer Organization and Design(David A. Patterson & John L. Hennessy)——以教学示例说明数据依赖如何造成 data hazard 以及常见解决策略。
  • Modern Processor Design: Fundamentals of Superscalar Processors(John Paul Shen & Mikko H. Lipasti)——在超标量与指令相关分析中涉及 data hazards 的处理。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2001 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 03:05 · PVG 11:05 · LAX 19:05 · JFK 22:05
♥ Do have faith in what you're doing.