3 ms·
Hardware failure is virtually impossible to deal identify and deal with from software, because the validation relies on the same unreliable hardware. If you wa
by marginalia_nu 5y ago
Hardware failure is virtually impossible to deal identify and deal with from software, because the validation relies on the same unreliable hardware.
If you want to harden your stuff against that category of errors, then the solution exists with in hardware. RF-shielding and ECC memory for starters.
- Retric 5y agoMost hardware failure is extremely intermittent, otherwise it almost instantly result in a crash. ECC etc helps, but you still run into manufacturing defects etc. That said, I agree you can’t guarantee everything is working via software but detecting hardware failure via software is simply good practice.
- dale_glass 5y agoTechnically true, but practically hardware is very unlikely to fail in a way that maintains self-consistency. Eg, if you checksum all the data, what you can expect from bad RAM is either to detect a mismatch, or to mis-calculate the checksum and something else will detect a mismatch later. You certainly can't count on it, but enough of that sort of thing makes it a lot more likely you'll notice something is not quite right eventually.