Home > Windows Server Tips > Windows Systems and Network Administration > ECC memory: A must for servers, not for desktop PCs
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS AND NETWORK ADMINISTRATION

ECC memory: A must for servers, not for desktop PCs


Serdar Yegulalp, Contributor
04.24.2007
Rating: -4.60- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


When I recently priced out a new PC, I opted for one that had as a standard feature error correction code (ECC) memory -- a type of system memory that supports advanced error correction. I was concerned that without ECC, I'd be more prone to memory errors and was willing to pay a little extra for the insurance policy.

There's no question ECC memory comes at a premium. Not only is the memory itself more expensive, but the technology required to support it must be built into the motherboard of the computer that uses it (which, in turn, raises the price of the system again).

To understand what ECC is really for, you have to delve into the history of commodity PC memory.

History of error correction in memory

When the desktop PC first appeared, memory was not only an expensive commodity, but it was also far more prone to errors than it is today. The traditional stopgap for memory errors was a technique called parity, where each byte of memory had an additional ninth bit associated with it as an error-checking measure. If the parity check failed, the system would be stopped to prevent data corruption.

However, there were four problems to this approach:

Because of these issues, parity memory gradually faded from common use. Today it's scarcely even offered.

Error correction code resembles auto insurance

Another technology eventually arose as a replacement for parity: error correction code. ECC has several advantages over parity. For one, it can detect and repair single-bit errors and do so without having to stop the whole system. Multiple-bit errors will still return a parity error, but the odds of this happening are astronomically low during the lifetime of a PC unless the memory itself is defective. ECC is like auto insurance: It covers you for the majority of things that can go wrong, but it can't prevent a multi-car pileup.

So who really needs error correction code, and why?



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Computer Hardware Memory Management for Windows
Simple tools and techniques for finding Windows memory leaks
Give your system memory a boost with x64
Virtualization and 64-bit: A match made in Windows heaven
AMD claims memory controller breakthrough
A guide to troubleshooting computer memory problems
FAQ: Troubleshooting Windows hardware
Computer memory for your Windows environment
Diagnosing non-maskable interrupt signals
How to detect a memory leak in Microsoft Windows
Memory leaks: Determine an application's CPU consumption

Windows Systems and Network Administration
Cutting the cost of Windows identity and access management
Using NTFS on a non-Windows OS with NTFS-3G
Group Policy Object modeling simplifies network security
Implementing simple Network Access Protection for Windows Server 2008
Immediate steps for Windows disaster recovery
Tips for Windows domain controller optimization
Quick hits: Troubleshooting service account failure, batch job execution
Case Study: Troubleshooting Windows service dependency failures
Troubleshooting common Windows service failures
Reducing the size of network backups in Windows

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
EDRAM  (SearchWindowsServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


I posed this question to Mike Sanor, compatibility and performance manager at Crucial Technology, a division of DRAM manufacturer Micron Technology that sells memory directly to end users.

Sanor said that ECC is most useful for "servers and precision workstations, but not commodity desktops." The reason is simple: The error rate in today's consumer-level memory is so low so that for most everyday applications, adding ECC is pure overkill. For standard DDR2 memory, the error rate is something like 100 soft errors over 1 billion device hours. If there are 16 memory devices or chips on a given module, that translates to one soft error every 30 years. Even if you only have two such DIMMs in a system, that's still less than one error for more than the lifetime of the system as a whole.

So where do memory errors come from, if not from manufacturing defects in memory itself? According to Sanor, "One of the biggest problems we've seen is when the motherboard doesn't reliably supply the needed voltage to drive the memory module. This could be due to a low-end power supply, but it's also sometimes due to the power regulator on the motherboard itself. If the data going into the memory module is bad to begin with, ECC will not help."

Windows improvements obviate memory correction

Another reason why memory correction has become less urgent for commodity systems is better operating system design. Windows 95, Windows 98 and Windows ME were not very discriminating about the memory used in the system. But the NT family of Windows products (NT, 2000, XP, Server 2003, Vista and upwards) attempts to determine the reliability of the memory, the kernel and its essential services being loaded.

This is partly why, when some people tried to upgrade from Windows 98 to XP on the same hardware, XP bluescreened when 98 hadn't. XP was that much more scrupulous about memory quality and wasn't going to allow itself to run if there was a risk of data corruption. Vista adds another element to this mix -- Address Space Layout Randomization -- which guarantees that parts of memory that previously might not have been used in an older version of Windows now are.

Since memory's as good as it is these days, who is ECC really for? "If your job is data, then ECC is for you," says Sanor. The more rigorous the need for data precision, i.e., CAD, engineering, math and finances, the more useful ECC will be (and the easier it will be to justify the cost).

The bottom line: Most servers should have error correcting code memory, as should high-end workstations. But it's hard to cost-justify adding ECC memory to a commodity desktop PC. What matters more in a desktop PC is that the motherboard, power supply and other elements are well-engineered.

About the author:
Serdar Yegulalp is editor of Windows Insight (formerly the Windows Power Users Newsletter), a blog site devoted to hints, tips, tricks and news for users and administrators of Windows NT, Windows 2000, Windows XP, Windows Server 2003 and Vista. He has more than 12 years of Windows experience under his belt and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts