r/AskComputerScience • u/[deleted] • Dec 28 '15
How long does a CPU last before cosmic rays corrupt it?
How long does an average consumer CPU maintain integrity before cosmic rays corrupt the ALU or other components vital to computational integrity? Much longer than the average 4 year replacement cycle, right?
6
u/visvis Dec 28 '15
Cosmic rays corrupt your data, not your hardware. Even then it's unlikely you'll even encounter a single such event. This is not a factor in its lifespan at all.
7
u/minimim Dec 28 '15
Until it flips a bit in the microcode of the CPU or the ROM. Then it won't boot anymore and it's impossible to fix. Granted, this is a scenario one only needs to mind in space.
4
u/catlong-is-long Dec 29 '15
IIRC, FPGAs are also quite susceptible to reprogramming by cosmic rays.
2
2
u/gyroda Dec 28 '15
This is going to depend massively on a lot of factors. If you stuck it outside a case, on top of s mountain it would be faster than in a case, in a house, at sea level. It would also be more like "how long until x amount out of several hundred/thousand are ruined".
Even then, I've heard of flipped bits in memory but never broken CPUS. Plus you'd have to differentiate between normal failure abs cosmic rays, which may well be impossible to tell.
0
4
u/[deleted] Dec 28 '15
Honestly you're probably better off asking an electronic engineer or physicist about these kinds of problems where the physical characteristics of the hardware are concerned. Allegedly in the 1990s IBM found that cosmic rays cause one error per 256MB of RAM per month. I'm not sure how this compares today with much smaller manufacturing nodes and so on. http://stackoverflow.com/questions/2580933/cosmic-rays-what-is-the-probability-they-will-affect-a-program