Earlier quoted context omitted.
Indeed. It's true that the data may be corrupted before hitting any disk[1], but once it has hit the disks (>1), it's extremely unlikely that you'll ever hit a similar bit error where it'll mistakenly choose the wrong disk block to recover from. The main point of e.g. ZFS or Btrfs checksumming is that a) at least it isn't getting worse , and b) I can tell if it's getting worse. [1] ... but if the bits are not generat…
What are you doing where you're actually checking checksums periodically and detcting when things get worse? That seems like a lot of work to set up.
Should I buy ECC memory? (2015)
61–70 of 237 posts
Re: Should I buy ECC memory? (2015)
#62Earlier quoted context omitted.
I don't understand why anyone would run their own email server. Cloud offerings work so well and are cheap.
NSA agrees with you, for one.
Re: Should I buy ECC memory? (2015)
#63Earlier quoted context omitted.
I don't get this association between ZFS and ECC. The recommendation to use ECC with ZFS basically comes down to "all that fancy data integrity checking that ZFS does won't protect you from memory errors, so you'll effectively lose that feature." Are you OK with silent data corruption? If so, don't bother with ECC. If not, use it.
Because with ZFS bit rot can be cumulative, with most file systems a memory error will corrupt a file if the format can't handle errors, with ZFS overtime the entire volume can get corrupted especially when you are doing recovery or expansion, even in normal operation data is moved around quite a bit. For them most part with other common file systems when a file is written it stays there even in RAID.
Re: Should I buy ECC memory? (2015)
#64I, however, won't do any production work without it.
Re: Should I buy ECC memory? (2015)
#65Depends on what you are doing. ZFS storage servers: Hell yes High-value data in my DB? Hell yes email server: Nope super cool gaming rig: Nope * Cluster: Hell yes General office workstation: maybe. I don't have the budget for 20 redundant copies. I do have the budget for slightly more expensive RAM. Especially on my ZFS storage arrays. ECC memory is like Insurance. You hope you never need it. One real downside that I…
There is a hidden cost of ECC with regards to the chipset. None of the cheap chipsets support it, so on any home build, it's going to be expensive.
I built a home NAS from an old board and Phenom II 545 CPU I had lying around, fortuitously they happen to support ECC. DDR2 unregistered ECC ram was a bit of a pain to find though.
Re: Should I buy ECC memory? (2015)
#66Earlier quoted context omitted.
I don't get this association between ZFS and ECC. The recommendation to use ECC with ZFS basically comes down to "all that fancy data integrity checking that ZFS does won't protect you from memory errors, so you'll effectively lose that feature." Are you OK with silent data corruption? If so, don't bother with ECC. If not, use it.
Because with ZFS bit rot can be cumulative, with most file systems a memory error will corrupt a file if the format can't handle errors, with ZFS overtime the entire volume can get corrupted especially when you are doing recovery or expansion, even in normal operation data is moved around quite a bit. For them most part with other common file systems when a file is written it stays there even in RAID.
Do you have a source for a more plausible analysis that takes into account how memory actually tends to fail?
Re: Should I buy ECC memory? (2015)
#67Earlier quoted context omitted.
I don't understand why anyone would run their own email server. Cloud offerings work so well and are cheap.
Maybe they are under contract not to pass information to third parties or maybe the company policy is to not let internal email off the network. That you don't understand it is likely from the perspective of an individual, possibly a private user. For those applications you can't beat the cloud. For business use every business needs to weigh their own needs. Even then though, many business think they need to have the…
Re: Should I buy ECC memory? (2015)
#68Earlier quoted context omitted.
Indeed. It's true that the data may be corrupted before hitting any disk[1], but once it has hit the disks (>1), it's extremely unlikely that you'll ever hit a similar bit error where it'll mistakenly choose the wrong disk block to recover from. The main point of e.g. ZFS or Btrfs checksumming is that a) at least it isn't getting worse , and b) I can tell if it's getting worse. [1] ... but if the bits are not generat…
What are you doing where you're actually checking checksums periodically and detcting when things get worse? That seems like a lot of work to set up.
(This may be a myth: It's not something you should actually do that often because actually reading the media may dregrade it.)
Re: Should I buy ECC memory? (2015)
#69While I was at Google, someone asked one of the very early Googlers (I think it was Craig Silverstein, but it may've been Jeff Dean) what was the biggest mistake in their Google career, and they said "Not using ECC memory on early servers." If you look through the source code & postmortems from that era of Google, there are all sorts of nasty hacks and system design constraints that arose from the fact that you could…
> If you look through the source code & postmortems from that era of Google, there are all sorts of nasty hacks and system design constraints that arose from the fact that you couldn't trust the bits that your RAM gave back to you. Details of this would be very interesting, but obviously I understand if you cannot provide such details due to NDAs, etc. I mean, I can imagine a few mitigations (pervasive checksumming,…
http://www.evanjones.ca/tcp-and-ethernet-checksums-fail.html
Re: Should I buy ECC memory? (2015)
#70Do you use ZFS? If yes then you should use ECC memory. Do you have a use case where you would want your computer to alert you when the ram is failing? If yes then you should use ECC memory. Otherwise it's a nicitey and probably not worth the money.
Do you use ZFS? If no then you should use ECC memory. Now the half truth becomes full-truth.
http://jrs-s.net/2015/02/03/will-zfs-and-non-ecc-ram-kill-yo...