Berkeley CSUA MOTD:Entry 39800
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

2005/9/21 [Computer/HW/Memory] UID:39800 Activity:nil
9/21    What's the benefit of ECC RAM?
        \_ When the RAM has a bit error it alerts you about it and
           attempts to correct it. There is an extra 'parity bit' that
           works like such bits do in RAIDs. Without ECC RAM you have no
           idea if your data is corrupt or not. Always buy ECC RAM for
           data you care about. I recommend always buying it if your
           motherboard supports it.
           http://www.anandtech.com/guides/viewfaq.html?i=3
           \_ Is there EC RAM which you still have an idea if your data is
              corrupt or not, although not being able to correct it?
              \_ That would be called parity.
              \_ There is. It's just called 'parity RAM' but I never see
                 it (or support for it). It seems ECC has rendered plain
                 old parity RAM obsolete.
                 \_ See, it works like this:  if you have only 8 bits
                    in your RAM line, (RAM stored by bytes), you can
                    add a chip and get 9 bits: 8 data, and parity.
                    If you have 32 bits in your RAM line, you can add 4
                    bits and do ECC on those 32 bits.  So ECC RAM is
                    party RAM, it's just stupid not to do ECC since you
                    have 4 bits per 32 instead of just 1 per 8.  All RAM
                    these days is at least 32 bits "wide", so everyone
                    just does ECC.... --PM
                    \_ Yes, but you can still just 'check' the data and
                       not correct it, but why do it when ECC is so much more
                       useful and can check 2 bits (and correct 1) instead of
                       just checking 1?
                       \_ the idea is that the more parity bits you have,
                          the higher you probability of catching the error.
                          with only 1 bit, you'll not catch anything. with
                          4 bits, you catch more. but with 4 bits, you
                          might as well correct as well.
                          \_ Why can't I catch 1-bit errors with 1-bit parity?
2024/11/23 [General] UID:1000 Activity:popular
11/23   

You may also be interested in these entries...
2012/12/18-2013/1/24 [Computer/SW/Languages/Perl] UID:54561 Activity:nil
12/18   Happy 25th birthday Perl, and FUCK YOU Larry Wall for fucking up
        the computer science formalism that sets back compilers development
        back for at least a decade:
        http://techcrunch.com/2012/12/18/print-happy-25th-birthday-perl
        \_ I tried to learn Perl but was scared away by it.  Maybe scripting
           lanauages have to be like that in order to work well?
	...
2012/2/5-3/26 [Computer/SW/WWW/Browsers] UID:54300 Activity:nil
2/5     How is Firefox on version 10, while I still have 3.6 installed.
        I wait for the X.1 versions and they never come out.
        \_ I'm also on 3.6.26.  It claims that versions 4 - 10 are all faster
           than 3.6.x, but do they use more memory?  Thx.
           \_ Newer Firefox versions use less memory too:
              http://www.maximumpc.com/article/news/mozillas_memshrink_program_brings_big_memory_savings_firefox_7
	...
2011/6/5-8/27 [Computer/HW/Memory] UID:54127 Activity:nil
6/5     In an effort to stabilize our services, we'll be rebuilding parts of
        the CSUA infrastructure over the course of this summer.  To give us
        some wiggle room, I've temporarily decreased soda's allocated RAM from
        8GB to 2GB.  If you need to run something that requires large amounts
        of memory, please send mail to root@csua.org and we'll try to
        accommodate your request.  --jordan
	...
2011/3/26-4/20 [Computer/HW/Memory] UID:54062 Activity:nil
3/19    When you're explaining the stack to people do you draw it with the
        highest addresses at the top or at the bottom?
        \_ When I explain any memory layout including stacks, I draw with the
           highest addresses at the bottom.  But I've seen people doing the
           other way.  -- yuen
           \_ do you by any chance have seen or have a jpg of the full memory
	...
2010/7/25-8/25 [Computer/SW/Graphics] UID:53897 Activity:nil
7/25    What's up with that moving bit pattern that Win7 displays when it
        boots up?  (It's the one that's like in the Apple II days when you
        use the graphics memory for code or data while it's still in HGR
        mode.)  Is there a way to disable that?  It slows things down a lot
        every time I reboot my Win7 VM on my office machine if I RDP to the
        machine via DSL.  Thanks in advance.
	...
2010/5/26-6/30 [Computer/SW/Unix/WindowManager, Computer/SW/OS/OsX] UID:53844 Activity:nil
5/26    anyone use lxde?  supposedly it is less stupid than xfce and
        less bloated than gnome.  thoughts?
        \_ lol, does anyone still use desktop linux?  Get with the times
           buy a mac.  Now.  DO IT.  Go NOW.
           \_ but we prefer herring to Kool-Aid
              \_ "you have to yell, he's hard of herring"
	...
2010/6/4-30 [Computer/SW/Languages/C_Cplusplus] UID:53849 Activity:nil
6/4     Is this valid C++ code?
        std::string getStr(void) {
            std::string str("foo");
            return str;
        }
        void foo(char *s);
	...
2009/12/7-2010/1/3 [Computer/HW/Memory, Computer/HW] UID:53574 Activity:nil
12/7    How many TCP retransmits are too many? Here is what I get:
            3594143433 segments received
            3760174421 segments send out
            3801829561 segments retransmited
        \_ rephrase. you can never have too much money. or too little.
           what is, is.
	...
2009/10/27-11/3 [Computer/HW/Drives] UID:53474 Activity:nil
10/27   I just read an article that Facebook had moved their database
        to all SSD to speed throughput, but now I can't find it. Has
        anyone else seen this? Any experience with doing this? -ausman
        \_ I hope you're not running mission critical data:
           http://ask.slashdot.org/story/09/10/27/1559248/Reliability-of-PC-Flash-SSDs?from=rss
        \_ Do you have any idea how much storage space is used by Facebook,
	...
2009/7/21-24 [Computer/SW/Languages/Java] UID:53168 Activity:moderate
7/20    For those who care btw, it looks like eclipse is now A Standard Tool
        at UCB ugrad cs, probably replaced emacs.  Furthermore, people get
        angry at seeing Makefiles, (since eclispe takes care of that).  I
        guess it's just a sign of the times.
        \_ The more people at my work use eclipse the less the code is
           managable in emacs.  I'm not sure which application's fault
	...
Cache (3293 bytes)
www.anandtech.com/guides/viewfaq.html?i=3
pm ECC stands for either Error Checking and Correcting, or Error Correcting Code, depending on who you talk to. As its name implies, ECC is a form of code that can check and correct errors that occur in memory. It is a more sophisticated form of checking than another common form of error c hecking known as parity memory. Similar to parity memory, ECC works by adding extra error checking bits on to a stream of bits. There are many different types of ECC codes, but in computing applications the most co mmonly used is known as Reed-Solomon after its discoverers. In ECC SDRA M, the length of the bits is 64 bits (8 bytes) and 7 extra error checkin g bits are added which allows detection of two incorrect bits, and the d etection and correction one incorrect bit. In other words, if there is one mistake in 8 bytes, then ECC can detect the error and fix it, and if there are two errors in 8 bytes then ECC can detect the error and repor t it. There are two types of typical memory errors: hard errors and soft error s Hard errors are typically caused by physical defects within the memo ry chip. Typically these come from manufacturing problems but can occas ionally crop up as a result of reliability issues (ie. Soft errors are caused by radiation in modern systems the most common source of soft error radiation is from cosmic rays although oc casionally soft errors can occur due to low-levels of radiation in the c omponents that make up the computer (for example, the solder). Hard err ors, once they manifest themselves, will continue to repeat themselves a nd they are a sign of a defect DIMM Soft errors are a rare event and th ere should be no permanent damage to memory. ECC SDRAM generally carries a price premium of 10-20% over no n-ECC memory. In these days of cheap memory, this difference is fairly negligible but it is worth noting. The ECC calculation process results in a small but meas urable decrease in performance. The redundant ECC bits are calculated when ECC is written back to memory, and so a read-after-modified-write will incur a minor performance penalty. This reduction in performance is usually approximately 3-4% on PC133 CAS2 ECC SDRAM. Modern semiconductor memories have a low defect rate, these defects are almost always caught by the manufacturer, and memory tends to be very reliable over the life of the chip (typically 7+ years). For the frequency of soft errors, however, different manufacturers quote different numbers. Statistically soft error rates scale linearly with memory size, so 256MB is twice as likely to see a problem as 128MB Soft errors are affected by altitude: it has been widely agreed that a soft error event in SDRAM is 10x more likely at one mile above sea level and it is 100x more likely in an airplane at 60,000 ft. The performance impact is insignificant since 3% is barely within the margin of error on bench marks. The price impact in these days of cheap memory is insignificant. The frequency of soft errors in SDRAM is high enough at high altitudes (Denver, CO, for example) to be of concern. Paying 10% more for memory to avoid potential data corruption seems like a low price to pay. In a way, ECC is like insurance on memory errors, if you care about data int egrity and system reliability then its worth the premium.