内存一致性_内存一致性和一致性之间有什么区别?

内存一致性

In memory hierarchical, it needs to be coherence and consistency. However, they are different things. What are the differences?

内存分层中,它需要保持一致性和一致性。 但是,它们是不同的东西。 有什么区别?

Memory coherence: a memory system is coherent if any read of a data item returns the most recently written value of that data item (what values can be returned by a read).

内存一致性:如果对某个数据项的任何读取返回该数据项的最新写入值(读取可以返回哪些值),则该内存系统是一致的。

Memory consistency: A memory consistency model for a shared address space specifies constraints on the order in which memory operations must appear to be performed (i.e. to become visible to the processors) with respect to one another.(when a written value will be returned/seen by a read).

内存一致性:用于共享地址空间的内存一致性模型指定了彼此必须执行的内存操作顺序(即对处理器可见)的约束(当返回一个写入值时/通过阅读看到)。

Coherence defines the behavior of reads and writes to the same memory location, while consistency defines the behavior of reads and writes with respect to accesses to other locations.

一致性定义对同一存储位置的读写行为,而一致性定义相对于对其他位置的访问的读写行为。

Answered by harryxiyou.
由harryxiyou回答。

翻译自: https://www.systutorials.com/whats-the-difference-between-memory-coherence-and-consistency/

内存一致性

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值