(何时)硬件(尤其是CPU)是否提供了错误的结果? [英] (When) Does hardware, especially the CPU(s), deliver wrong results?

查看:86
本文介绍了(何时)硬件(尤其是CPU)是否提供了错误的结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在说的是:在某些情况下,CPU是否笨拙"并突然响应1+1=2?

What I'm talking about is: Is it possible that under certain circumstances the CPU "buggs" and suddenly responses 1+1=2?

  • 可以在计算机的哪一部分发生(HDD,RAM,主板)?
  • 可能是什么原因?质量差?过热吗?
  • 这是否还会发生?是的话,多久一次?

  • In which parts of the computer can that happen (HDD, RAM, Mainboard)?
  • What could be the causes? Bad quality? Overheating?
  • Does that even happen? When yes, how frequently?

如果CPU一切正常(不是生产中的单个故障,温度也不高),有时还会发生这种情况吗?

会出现什么结果,比如说一到三个错误的计算?

What would be the results of, let's say one to three wrong computations?

编程相关,因为很高兴知道您是否甚至可以依靠硬件来返回正确的结果.

This is programming related as it would be nice to know if you can even rely on the hardware to return the right results.

推荐答案

它可以在所有硬件中发生;它在RAM芯片中经常发生.有一些机制可以检测和纠正此类错误,但对于RAM,仅在更昂贵的ECC芯片中才有.请参阅Wikipedia有关RAM的文章和错误纠正

It can happen in all hardware; it happens quite often in RAM chips. There are mechanisms to detect and correct such errors, but in regards to RAM, only in the more expensive ECC chips. See Wikipedia's article on RAM and Error Correction

通常,有关错误检测和纠正的文章也很有趣.

Also interesting is the article on Error Detection and Correction in general.

这篇关于(何时)硬件(尤其是CPU)是否提供了错误的结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆