Slashdot Mirror


MRAM Inches Towards Prime Time

levin writes "According to an article over at EETimes, magnetoresistive RAM chips are getting a little more practical. Infineon Technologies released info on a new 16M MRAM component on Tuesday and the read and write cycle times of this chip make it 'competitive with established DRAM.' How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?"

261 comments

  1. 16M? by wizzardme2000 · · Score: 0, Troll

    I dont care how fast it is... What good is 16M?

    --

    Toast lands jelly down. If you jelly both sides of a piece of toast, it will hover in a state of quantum indecision.
    1. Re:16M? by Anonymous Coward · · Score: 0

      Never mind it's also 16 MegaBITS (2MB)

    2. Re:16M? by wizzardme2000 · · Score: 1

      Sorry... I was too busy fping to clarify. But yes. M-Bits.

      --

      Toast lands jelly down. If you jelly both sides of a piece of toast, it will hover in a state of quantum indecision.
    3. Re:16M? by Mycroft_VIII · · Score: 4, Insightful

      For main memory on a pc, not much, unless of course it's a tiny chip and you put at least 16 on a card the size of current ram dimms.
      However it seems to me somthing like this on a hard-drive with a journaling file system properly built to use it, could have some use.
      Heck most hard drives today only have 8MB for cache as it is.

      Mycroft

      --
      https://signup.leagueoflegends.com/?ref=4c3ed6600b6ea
    4. Re:16M? by Mycroft_VIII · · Score: 3, Interesting

      Gak, didn't read close enough, it's only 18Mb(2MB). Still as aid for aware journaling filesystems it could be good, it's 30-40ns speed is fast enough for hard drive caching.
      What I'd really like to see is memory fast enough to not need clock multipliers on the cpu's, or perhaps a memory controller that spans enough modules to achieve the same effect. Unfortunately the added complexity would probably be a major pita, or require serious re-design of memory sub-systems.

      Mycroft

      --
      https://signup.leagueoflegends.com/?ref=4c3ed6600b6ea
    5. Re:16M? by mahbidness · · Score: 3, Insightful

      For main memory or video memory, yeah, not so much at first glimpse. The "nonvolatile" portion is where it gets sexy. The primary reason static RAM isn't widely implemented for ALL memory right now is simply cost. Dynamic RAM's volatile nature forces the CPU or a memory controller to take time to read and write the contents of each portion of memory repeatedly thousands of time per second, else the contents of the memory are lost. Not having to do that would be a huge work saver for future hardware, allowing it to focus on any problems at hand. Very cool stuff.

      --

      "It is a solemn thought: dead, the noblest man's meat is inferior to pork."

    6. Re:16M? by crbowman · · Score: 3, Interesting

      Read the whole article my friend. While 2 MBytes may not be much it is plenty for many embedded applications, plus its fabed in .18 Micron CMOS which means the .13 Micron versions probably have 8 Mbytes, and it only uses 3 metal layers, which in an age of 8 metal layer chips should mean good yeilds which means low costs. It seems to use a fairly standard CMOS process which means it will be able to leverage all the general CMOS improvements. It uses less operating power than DRAM, has faster cycle times than FLASH and being magnetic, I am guessing is non-volatile. Plus this isn't a commerical product yet, they said clearly they still have a long way to go in reducing size before then. All in all it actually sounds pretty good. I look forward to the day when all memory is non-volatile, I think we will find that it will change the way we design and look at products.

    7. Re:16M? by bhtooefr · · Score: 3, Informative

      However, there are 8 to 16 chips on a DIMM. So, multiply by 8 to get 16MB for a single-sided DIMM, or 16 to get 32MB for a double-sided DIMM. Not good, but for a new memory type, it's catching up quick.

    8. Re:16M? by Lord+Prox · · Score: 1

      Dynamic RAM's volatile nature forces the CPU or a memory controller to take time to read and write the contents of each portion of memory repeatedly thousands of time per second, else the contents of the memory are lost

      I think you are missing the point... Static ram and DRAM are both volitle. Kill the power and *poof* data's gone. Compare to Flash memory, power not required. MRAM is the cross of both. Flash type non-volitle and DRAM speed, capacity, price. You won't have to "boot" your machine. No OS load or hibernation or sleep mode nonsense. Upon power being restored your machine will be in the exact state that it was in when you "shut it down". In the near term future this memory will be used in cell phones, PDA's, "gameboys", camera's, anywhere you would use flash. After that wanna-be hack to run MRAM in PC's where the PC is still built in the usual manner just with a different memory type, and finally, PC's built and designed from the ground up to take advantage of all the properties of MRAM.

      Also 16Mb is per chip. x8 for a single sided DIMM or x16 for a double sided DIMM. These are pre production eng samples on a 180nM process. In 18 months this should put it in the ballpark of current Flash/DRAM capacities.

      This will be the memory standard for the next 25 yrs. bye bye DRAM hello MRAM.

    9. Re:16M? by mikael · · Score: 1

      Because it's 16Mbits (2 Megabytes) of non-volatile RAM. That's 2 Megabytes of system memory that doesn't get wiped when you switch the system off or the batteries run low. For an embedded system, that would be enough to store the kernel and device drivers. Or you could use it as system memory for a super-safe word processor/paint program that would be resistant to system crashes/power failures.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    10. Re:16M? by Rich0 · · Score: 1

      Considering that this was mentioned on /. only a year or two ago as just emerging from the beakers in the lab I'd say that what amounts to a practical 16-32MB DIMM isn't bad at all. They still make them that small today. And they were as big as it got only a few years ago.

      Many of the architechture problems in scaling up RAM sizes were already solved for normal DRAM. So, all they need to fix to catch up is just shrinking the MRAM components. And if the overall technology scales better it could pass DRAM and become the memory of choice. My guess is keep an eye out about 5 years from now...

    11. Re:16M? by Pxtl · · Score: 1

      In this veign, this could be even worse for crashing. For a good example, look at Palm OS software. On the Palm, many programs don't really have much of a "save" function - they just stay in memory. Restarting the machine is a very rare event. The problem is that a handful of programs barf at the thought of crash/restarting - when you restart, you lose your current state, because it goes through its initialization process all over again. Its stupid, but it happens.

      So, think about this in terms of PCs - you have many programs on your PC that are no longer designed to reboot - they just expected you to keep the machine running. Then, when MS-Word 2010 crashes the machine and you restart it, you find that your IM has lost all its settings.

    12. Re:16M? by corngrower · · Score: 1

      It may not be big enough for PCs but it is certainly large enough for many embedded applications. Sure PCs could use some non-volitile ram, but woud it be necessary for their entire memory?

    13. Re:16M? by cyfer2000 · · Score: 1

      It is good enough for using in Palm and something like "iPod tiny".

      I am not a semiconductor guy, but I happened to write a project report about GMR and MRAM last year. And with same 0.18micron line width, Motorola produced 4Mbit MRAM. So what's the magic stuff making the difference between the chip from IBM and motorola? Could someone explain to me? the size of MTJ?

      --
      There is a spark in every single flame bait point.
    14. Re:16M? by Anonymous Coward · · Score: 0

      Pft. Kids these days. "What good is 16M."

    15. Re:16M? by Rei · · Score: 1

      If you had something like this, why exactly would you still need a journaling filesystem? A journaling filesystem, to the best of my knowledge, works by storing on the disk (in the log) what it is about to do before it does it, so that if your system crashes in the middle of an operation, it can figure out where the dangling inodes belong. Why write what you're about to do before you do it if your memory will survive a crash?

      You know, I bet one of the first applications of this memory (apart from the obvious things like digital cameras, etc) will be raid cards. Who needs a battery-backed write cache when you can shut your memory off and still keep the data? :)

      --
      I'm an owl exterminator!
    16. Re:16M? by Anonymous Coward · · Score: 0

      Congratulations on the First post. My naem is Buck and I am here only to be Fuck ahahahahaha lololzzzz

    17. Re:16M? by Mycroft_VIII · · Score: 1

      I was thinking along the lines that if you lost power suddenly on a write, a smart journaling file system MIGHT be able to recover the unwriten portions of data and finish the write on power up.
      But the more I think about it, I think it might be simpler if the recovery was handled by HD firmware and the apropriate data so the filesystem can double check things would stashed aside with a flag of some sort set. Otherwise there would have to be provisions to not overwrite anything in cache till the OS's filesystem gave the hd o.k. on an unexpected power loss.
      That kind of thing in general sounds like a good aplication for a fast nvram tech, recovery data and info for sudden power down or otherwise non-gracefull hard re-boot situations.

      Mycroft

      --
      https://signup.leagueoflegends.com/?ref=4c3ed6600b6ea
  2. No Subject by Anonymous Coward · · Score: 5, Insightful

    Last time I checked, most of the software crashes aren't caused by memory randomly disappearing.

    1. Re:No Subject by TheLink · · Score: 2, Insightful

      I think a lot of people have been trolled by the story.

      Hmm, slashdot's filters are pretty annoying too. I have to type slower in order to post successfully. Gack.

      --
    2. Re:No Subject by Anonymous Coward · · Score: 0

      Feel lucky you never used any Microsoft operating systems.

    3. Re:No Subject by John+Courtland · · Score: 2, Informative

      No shit. I wonder what kind of havok a shitty OS will wreak on an NVRAM system? I hope there is always a way to reset the banks, because I don't trust much of anything, especially Windows, to behave well enough to stay "running" like that with no "failsafe" power-cycle option.

      --
      Slashdot is proof that Sturgeon's Law applies to mankind.
    4. Re:No Subject by 12357bd · · Score: 1

      Duplicate mem, store stable state in second copy, work on first copy.
      Expensive, but simple.

      --
      What's in a sig?
    5. Re:No Subject by Short+Circuit · · Score: 1

      Not to mention data security. Normally, you can at least expect your DRAM to be wiped when you reboot. That was why "cold boots" sometimes fixed Win95 better than "warm boots" ...

    6. Re:No Subject by arvindn · · Score: 1
      I think you missed the point. The submitter feels that if MRAM becomes widespread, you could recover from system crashes more easily because the memory is non volatile. This might lead to programmers becoming lazier and not bothering to fix bugs.

      Not that I agree with that viewpoint; just pointing out what I think was meant.

  3. huh? by pe1rxq · · Score: 5, Insightful

    How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?

    Probably very long......
    There are very little volatile-memory related software bugs.....
    HINT: You don't want your ram back in the same corrupt state it was in before the reboot.

    Jeroen

    --
    Secure messaging: http://quickmsg.vreeken.net/
    1. Re:huh? by Asic+Eng · · Score: 1

      There are some NVM-related bugs though. Programming Flash can be tricky, especially when you want to do advanced things like implementing a file system using Flash. Not what the submitter was thinking of, I believe - but MRAM could still help making programmers' lifes easier.

    2. Re:huh? by gfody · · Score: 4, Insightful

      How long before ______________ becomes the solution to crash-prone software rather than better programming?

      I'm sure it was just something he added to the article submission to try and sound smart. After all.. it does make sense for a lot of other articles (faster cpus, faster memory, severely high level programming languages, etc etc).

      --

      bite my glorious golden ass.
    3. Re:huh? by Threni · · Score: 2, Insightful

      >I'm sure it was just something he added to the article submission to try and
      >sound smart

      All the more ironic that it had the opposite effect! "Oh, I dunno..just put something about Microsoft...no, bad programming...that's better." "But how does a different type of RAM magically fix errors in program design?" "Shut up! This is my article and I'll write what I like!"

    4. Re:huh? by orangesquid · · Score: 1

      No. Back in the age of core memory, it was very common to diagnose system crashes by dumping core before re-initializing the system. When PCs crash, the information is gone because of the DRAM. This can help operating system development.

      Yay for core memory coming back! (sort of) *wink*

      --
      --TheOrangeSquid Is it any wonder things seem so awry? We swim in a sea of confusion and don't have to think to survive
    5. Re:huh? by Anonymous Coward · · Score: 0

      Information in DRAM doesn't disappear just because the program dies. The OS may clear the memory. Or if the OS fails, the BIOS may clear the memory. But it doesn't go away just because some program took a wrong jump somewhere.

      The contents of DRAM goes away when the power goes away, but not because of a software failure. And unless your software fault is in the ACPI driver, it will not make the power go away.

    6. Re:huh? by RalphTWaP · · Score: 1

      Thank god there was someone reading with some sense.

    7. Re:huh? by Grizzlysmit · · Score: 2, Insightful

      How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?

      Probably very long......
      There are very little volatile-memory related software bugs.....
      HINT: You don't want your ram back in the same corrupt state it was in before the reboot.

      Yep and wait till you see how many previously working programs start behaving as buggy as hell with nonvolatile memory, we're going to have to be far more careful about the init state of memory in a instant on world.
      --
      in my life God comes first.... but Linux is pretty high after that :-D
      Francis Smit
    8. Re:huh? by EvilTwinSkippy · · Score: 1

      Well hang on. Even during a reset the system still has power. You could devise a wrapper board to preserve the state of RAM between reboots, or more useful, detect a crash and write the state to disk, or listen for commands over the modem port. The Linux kernel has had debugging stuff like this for years.

      --
      "Learning is not compulsory... neither is survival."
      --Dr.W.Edwards Deming
    9. Re:huh? by SanityInAnarchy · · Score: 1

      Really? "How long before faster cpus become the solution to crash-prone software..." Huh? Maybe Windows is crashing now because.... my CPU is too slow???

      --
      Don't thank God, thank a doctor!
  4. Hopefully never. by Tokerat · · Score: 4, Interesting

    How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?
    Advanced hardware is no excuse for coders to get lazy. We have enough of that already, let's not make it worse by taking things for granted.

    That being said, imagine the power savings and lightning fast startup times! I'd love an "instant on" PC! ( or, erm...Mac :-D )
    --
    CAn'T CompreHend SARcaSm?
    1. Re:Hopefully never. by robvangelder · · Score: 3, Interesting

      I don't know about you, but the startup times for PCs just don't annoy me.

      It's a daily ritual for me:
      Turn on Computer
      Walk to kitchen
      Make Coffee!
      Walk to desk
      Log on

      I never even see the machine boot up.

    2. Re:Hopefully never. by wookyhoo · · Score: 5, Funny

      You turn it off in the first place? :o

    3. Re:Hopefully never. by foidulus · · Score: 1

      That being said, imagine the power savings and lightning fast startup times! I'd love an "instant on" PC! ( or, erm...Mac :-D
      You can already do this, it's called sleep mode :P

    4. Re:Hopefully never. by bhtooefr · · Score: 1

      imagine the power savings

      In SLEEP mode? Yes, there is some savings, but power's still going through the RAM. Maybe you want hibernation - suspend/sleep to disk. Just as stable as sleep on Windows (not very), a little harder to do on Linux, but takes a lot less power with a normal shutdown time and a VERY quick boot.

    5. Re:Hopefully never. by nacturation · · Score: 2, Insightful

      You upgrade hardware with the power on?

      Your hardware upgrade is a daily ritual?

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    6. Re:Hopefully never. by TheLink · · Score: 1

      Hibernation = very quick boot? That depends on how much memory you have doesn't it?

      Speed of typical single 7200 rpm drive = 50MB/sec.

      Assuming the typical naive resume:
      RAM = 512MB, resume from disk = 10 seconds.
      RAM = 1GB, resume from disk = 20 seconds
      RAM = 2GB, resume from disk = 40 seconds.

      A non naive resume would involve rapid compresion of the contents of memory and streaming the results to disk + checksum (you'd still have to allocate space for worst case scenario), but I haven't seen anyone do this yet. And you need a pretty fast compression routine- coz some CPUs can't even do 30MB/sec with the typical LZ style compression.

      --
    7. Re:Hopefully never. by jafomatic · · Score: 3, Insightful
      You two been married long? ;)

      (soooo offtopic, but I couldn't resist)

      --
      ::jafomatic
    8. Re:Hopefully never. by maxwell+demon · · Score: 1

      Having the computer running without doing anything costs power, therefore money. Yes, I also turn my TV off instead of just standby if I don't expect to watch TV again soon thereafter.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    9. Re:Hopefully never. by Anonymous Coward · · Score: 0

      Surely you don't need all the data though. The OS should just consider the disk image to be swap. Then it only needs to load on demand.

    10. Re:Hopefully never. by TheLink · · Score: 1

      It's similar but not really swap tho. Something like that might work - but may need a lot fancier cooperation from the O/S. If you want to use your bloaty app right after you resume you'd still have to wait for it.

      But the main problem still remains - drives aren't that fast - the drive speed improvements haven't been as impressive as the improvements in almost everywhere else - CPU, RAM, drive capacity etc.

      --
    11. Re:Hopefully never. by abe+ferlman · · Score: 1

      The money it costs to keep my computer on is worth far less to me than the ability to begin computing immediately when the need strikes me. If I used my computer less than once per day perhaps I could see it as worthwhile, but I think most slashdotters probably fit into the "it's worth a few cents to leave it on overnight so I don't have to wait while it boots and loads my browser/email/etc overnight" crowd.

      --
      microsoftword.mp3 - it doesn't care that they're not words...
    12. Re:Hopefully never. by Hatta · · Score: 1

      Not to mention the wear and tear on the hard drives.

      --
      Give me Classic Slashdot or give me death!
    13. Re:Hopefully never. by bhtooefr · · Score: 1

      Well, I think Linux hibernation actually sticks it in swap (meaning swap must be big enough to accomodate everything in swap plus your RAM).

    14. Re:Hopefully never. by TheLink · · Score: 1

      Hmm. But AFAIK in Linux total system memory = real mem + swap. In which case there could be probs right?

      For some other O/S total system mem = swap size. In these O/S the swap has to be larger than RAM to work and be useful. And in these O/S you could more easily do hibernation the way you mention.

      --
  5. Wouldn't fix crashing programs by SirCrashALot · · Score: 5, Insightful
    If a program crashes, its memory is corrupted so saving its state past a reboot wouldn't help. Assuming the system goes down, theres a chance that you might want to save some of the data but if it thats far gone, it might not be trustworthy.

    Looks cool for applications such as hibernate.

  6. I don't follow this statement by wankledot · · Score: 4, Interesting
    "...How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?"

    Someone explain to me how MRAM will help with stability if it is simply replacing the same type of functionality that good old fashioned RAM has.

    --
    My sig is blank, I typed this by hand.
    1. Re:I don't follow this statement by lightray · · Score: 4, Insightful

      Exactly.. MRAM will actually encourage better programming, since users will have no reason to reboot other than because of crashes; rebooting will be even more of an onus.

      Nonetheless, I don't know whether that particular aspect of MRAM will make any difference. I can't remember the last time I had to reboot Linux due to a software crash! Virtual/protected memory systems are very good about isolating applications from each other already.

      The real benefits of MRAM are far more exciting. Unlike conventional DRAM, MRAM does not need to be refreshed (it's nonvolatile), yet its fast enough and could be cheap enough to replace DRAM. The result is a huge POWER SAVINGS since you wouldn't have to use power to run the DRAM refresh cycles. Moreover, MRAM is simpler, so it could have higher integration densities, and thus would be cheaper.

      MRAM falls into the general domain of "spintronics" (which is the name given to technologies which exploit the spin of electrons in addition to their charge). One of the most exciting applications of spintronics is in reconfigurable computing. We could make "real" reconfigurable logic -- cheap nonvolatile FPGA's. Your processor could quite literally rewire itself on the fly, adapting to the task at hand. Very exciting.

    2. Re:I don't follow this statement by Mycroft_VIII · · Score: 2, Funny
      "Your processor could quite literally rewire itself on the fly, adapting to the task at hand. Very exciting."


      But only if we pull the chip out of his head, and set the switch to the learning mode that skynet had turned off.
      Sorry had to do it.

      Mycroft
      --
      https://signup.leagueoflegends.com/?ref=4c3ed6600b6ea
    3. Re:I don't follow this statement by Anonymous Coward · · Score: 0

      > Your processor could quite literally rewire itself on the fly, adapting to the task at hand. Very exciting.

      Um, I think we're getting dangerously close to Borg technology!

    4. Re:I don't follow this statement by Anonymous Coward · · Score: 0

      "Moreover, MRAM is simpler, so it could have higher integration densities, and thus would be cheaper."

      Simpler??? If it's simpler why only 16Mbit MRAM chips are in prototype phase while 1Gbit DRAM chips are in production?

      At current rate, it will take many many years until MRAM can compete with DRAM in price and density.

    5. Re:I don't follow this statement by Anonymous Coward · · Score: 0
      MRAM falls into the general domain of "spintronics" (which is the name given to technologies which exploit the spin of electrons in addition to their charge)

      Not the name given to technologies that seem to get marketed to death?

      /me ducks

    6. Re:I don't follow this statement by Anonymous Coward · · Score: 0

      Because the materials are new.

      The complexity of the structures that will be built is lower.

  7. Wha? by Anonymous Coward · · Score: 5, Insightful

    How is nonvolatile RAM supposed to prevent crashes? Crashes are the result of unexpected program interaction, hardware incompatibilty, or poorly-anticipated user input.

    1. Re:Wha? by Anonymous Coward · · Score: 0

      Or using Windows ME

    2. Re:Wha? by visgoth · · Score: 1
      --
      My patience is infinite, my time is not.
    3. Re:Wha? by pilkul · · Score: 1
      Crashes are the result of unexpected program interaction, hardware incompatibilty, or poorly-anticipated user input.

      That, or plain old programmer stupidity. If I had a dime for every time I wrote a program that crashed because of a silly off-by-one error...

  8. Programmer Error by LakeSolon · · Score: 5, Insightful

    "How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?"

    Never. Having the same bits in memory after a reboot doesn't help if you wrote the wrong bits in the first place.

    "On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."

    ~Lake

    1. Re:Programmer Error by nfabl · · Score: 1

      Wow, what a round about way to say "What the fuck?"

    2. Re:Programmer Error by jamesh · · Score: 1

      howabout because suddenly your 'secondary' storage becomes fast enough to periodically save your running state to. Every few seconds should be enough. Maybe write transaction logs inbetween.

      A crash? system reboots and picks up at the last stable point. Finding that stable point could be a bit tricky though... maybe some memory was incorrectly overwritten 5 minutes ago and is only just now causing a crash.

      But if a crash causes a system reboot which takes only the blink of an eye and picks up almost exactly where it left off, with almost no inconvenience to the user, is this going to be more or less incentive for programmers to fix bugs?

      Software could be promoted not on the lack of bugs, but on the speed of recovery when a crash does occur.

      The author of the original quote didn't necessarily mean it in a good way?

  9. Not a solution by Alioth · · Score: 5, Insightful

    Non-volatile main memory is unlikely to be a solution against crash-prone software. If the software crashed because there was a bug in how it handled the data in memory, if the data is still there and the application reads it again, it'll just crash in exactly the same place.

    In any case, an application crashing very seldom causes the machine to actually power down, and an application crashing and being restarted never gets to use the same memory the same way anyway, so the point is entirely moot. If your main memory is nonvolatile RAM, the advantage is you can design a system that can be powered down and suspended without having all that lengthy write of the entire machine's state to disk (and read when it comes back up again), which would be extremely useful on a laptop. If you can do this, you can have essentially uptime of years, so the incentive would be to write MORE stable operating systems and applications if the expectation is that even a laptop may go years between reboots.

    1. Re:Not a solution by Anonymous Coward · · Score: 0

      Um, if the thing is powered off, that counts as downtime.

    2. Re:Not a solution by Pogue+Mahone · · Score: 1
      if the thing is powered off, that counts as downtime.

      Only in your traditional volatile-memory view of the universe. If the machine can power up and continue from exactly where it left off in response to an external stimulus (keypress, network packet, whatever) in a short enough time, you'd never even notice.

      --
      Every bloody emperor has his hand up history's skirt [Peter Hammill/VdGG]
    3. Re:Not a solution by Alioth · · Score: 1

      Um, if the thing is powered off, that counts as downtime.


      You completely missed the point.

      If the machine state survives a power cycle though, it's vastly different to if it starts from fresh every power cycle.

      If a laptop is used 8 hours in a 24 hour period, and gets powered off 3 times a day, if the state isn't saved, it gets rebooted 3 times a day, starting from a clean state 3 times a day. If, however, state is saved and the machine is never actually rebooted, it can go years without a reboot - that was my point. An application might get a year of runtime without being restarted in a 4-year period without being restarted on a machine with non-volatile memory. It will need to be more stable - not less stable - to be useful on a machine that is designed this way.
  10. What? by bobintetley · · Score: 4, Informative

    How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?

    What? A crash-prone program is a crash-prone program, regardless of whether it vanishes or not when you turn the power off.

  11. Preserve corruption across power-cycle by noidentity · · Score: 3, Insightful

    How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?

    Good, now I'll be able to preserve memory corruption even after a power-cycle! Last time I checked, software crashes weren't due to the fact that DRAM loses its contents when powered down.

  12. irrelevant to crash-prone software by bollow+(a)+NoLockIn · · Score: 3, Insightful
    How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?

    If your operating system has crashed, it has crashed. You need to reboot it. MRAM cannot change that. The point is that with MRAM you should be able to switch off your computer and switch it on again later without reboot and without need to save RAM contents to disk at power-down and to retore them from disk after the system is switched on again.

    Hence if anything, this technology will increase pressure on operating system vendors to produce OSes which don't crash badly enough to require a reboot.

    --
    Under construction: swpat politics overview article
  13. Moving parts are soooo 2000 by robvangelder · · Score: 5, Interesting

    Once step closer to replacing HDD, CDROM, DVD and all those other "moving parts" storage devices.

    In 20 years, we'll all be looking back at DVD and CDROM like we do at Tape Cassette.

    Moving parts and things that go whirr make me cringe.

    I just want to plug it in and get instant access.

    1. Re:Moving parts are soooo 2000 by noidentity · · Score: 0, Troll

      One step closer to replacing HDD, CDROM, DVD and all those other "moving parts" storage devices.

      Funny you mention this, since as far as I know magnetic memory stores bits by altering the orientation of molecules, i.e. moving parts.

    2. Re:Moving parts are soooo 2000 by Anonymous Coward · · Score: 4, Interesting

      You can already have a solid state PC if you want. I've replaced a broken HD in an older laptop with Compactflash through a 2.5" CF-IDE adapter. I run Linux, with the root fs mounted ro and I only use small apps, so I don't need swap with 192MB Ram. My main workspace is in Ram on a tmpfs (the laptop battery acts as a UPS); when I'm done I save the essentials on a USB pen drive. For backing up bigger archives, I plug in a 2.5" USB HD. That's my only "moving parts" storage device, but I don't use it day-to-day.

      If you can live without bloatware like Windows, OS X or KDE/Gnome, it's easy enough to go solid state today. My CF card is bigger than the HD that I used to run Linux 2.0 with X and Fvwm 1.2 ...

    3. Re:Moving parts are soooo 2000 by gfody · · Score: 3, Insightful

      obviously, by moving he meant mechanical (gears, discs, heads).. subatomic movement happens fast enough that we don't need to worry about it becoming the slowest process by thousands of orders of magnitude like the current situation with HDDs. I would love it if everybody would just stop worrying about making cpus, gpus and ram faster and just focus on a new form of permanent storage that wasn't a million times slower than anything else in the system.

      --

      bite my glorious golden ass.
    4. Re:Moving parts are soooo 2000 by cpghost · · Score: 1

      permanent storage that wasn't a million times slower than anything else in the system.

      Yes, it would be great. Have you tried to dd a disk image onto a CF card? They are solid state, yet they have awfully slow writing cycles, compared to good old HDDs.

      --
      cpghost at Cordula's Web.
    5. Re:Moving parts are soooo 2000 by Anonymous Coward · · Score: 0

      turn off your flesh light! You have a problem.

    6. Re:Moving parts are soooo 2000 by nacturation · · Score: 1

      Yes, it would be great. Have you tried to dd a disk image onto a CF card? They are solid state, yet they have awfully slow writing cycles, compared to good old HDDs.

      Is there not a limit to the number of times you can write to a CF card? I've heard the figure of a few hundred thousand write cycles tossed around. I don't know if this is on the whole, per memory location, or simply an estimate based on typical usage and expected media lifespan. However, it might come into play depending on how write-intensive your apps are.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    7. Re:Moving parts are soooo 2000 by Anonymous Coward · · Score: 0

      100,000 cycles is typical.

      One of the problems with many 'standard' file systems is that they write 'last access time' fields to the FS, which causes wear, even if you are not updating the actual content. Specialized FLASH FS (FFS2 for example) do not update access times in order to avoid this problem. Of course, you also have to avoid putting swap there as well.

    8. Re:Moving parts are soooo 2000 by Rich0 · · Score: 1

      Sounds nice in theory, but prices on this will have to be WAY cheaper than RAM for it to work.

      If you have a 5 GB DVD movie, to replace that with regular RAM would cost you about $1000 or so. That vs a 50 cent pressed DVD. MRAM looks to be about the same price as RAM once the bugs get worked out.

      Sure, in 15 years you'll be able to buy 5GB of MRAM for 50 cents, but then our movies will be in 1 terapixel 3D, and will be stored on holographic cubes that hold 50 petabytes for 50 cents. And it will still cost a fortune to use MRAM for this.

      RAM solves the problem of speed at any cost. HD/DVD solves the problem of good-enough-speed storage at the cheapest cost. A smart IT solution of any kind will use each for what it is best for.

      If you have an AMD64 you can load 1TB of RAM onto a motherboard with longlasting-UPS backup and all and have more storage than just about any normal desktop system out there. And of course it will be blindingly fast. However, chances are that 95% of that 1TB of RAM will be idle at any given time, so you could get almost the same performance with a 1TB HD array and maybe 5GB of RAM (assuming non-wasteful cost is no matter and we want as much RAM as the OS can find a use for). The only difference will be a couple tens of thousands of dollars off the price tag.

      Unless MRAM becomes close to the cost of a HD platter on a cost-per-GB basis we won't see HD's disappear. And it would have to drop even further to replace DVDs. And they'll have to be light and durable (a DVD can take a fair amount of abuse and still work - an MRAM chip would need to be packaged in a fairly durable case - doesn't need to be 1" steel plate or anything like that, but it is still a factor - think CF card).

      There will always be a market for whatever gives the most GB/dollar.

    9. Re:Moving parts are soooo 2000 by clickety6 · · Score: 1

      But tape is still the most economical way to store large amounts of data - and often the most efficient for long term archive processes.

      --
      ----------------------------------- My Other Sig Is Hilarious -----------------------------------
    10. Re:Moving parts are soooo 2000 by Anonymous Coward · · Score: 0

      I think they will be concentrating on replacing RAM chips at first. Since MRAM chips are manufactured in a chip production process not entirely unlike the processes used for RAM and logic chips right now, and MRAM can already reach access speeds comparable to regular DRAM, it doesn't seem such a far-fetched goal. Here's to hoping...

    11. Re:Moving parts are soooo 2000 by Pozac · · Score: 1

      I believe access times can be switches off on all the current, major filesystems by use of the noatime option in fstab.

    12. Re:Moving parts are soooo 2000 by Anonymous Coward · · Score: 0

      According to AMD's site the most ram you can have in a two way Opteron system is 64GB, consisting of 8 4GB modules.

    13. Re:Moving parts are soooo 2000 by Jeff+DeMaagd · · Score: 1

      Nice fantasy.

      Silicon manufacture is one of the most inefficient and ecologically wasteful manufacture methods available because of the amount of water it uses and the caustics needed.

      A dual layered DVD costs somewhere around a dollar a piece NOW. Compare the 9GB it can hold with any kind of RAM storage now. I bet you don't have 4GB of RAM now, that would cost hundreds of dollars. And the next DVD format will hold about 25GB per layer. Mechanical storage has historically been the toughest thing to beat on cost, solid state being the most expensive. Silicon (or some other nano circuit fabbing process) has a long ways to go to catch up.

    14. Re:Moving parts are soooo 2000 by Trifthen · · Score: 0

      Errr... you are aware that CompactFlash has a limited amount of write cycles, aren't you?

      --
      Read: Rabbit Rue - Free serial nove
    15. Re:Moving parts are soooo 2000 by EvilTwinSkippy · · Score: 1

      Read the post. The root file system is read only, and his home directory is on a USB pen drive.

      --
      "Learning is not compulsory... neither is survival."
      --Dr.W.Edwards Deming
    16. Re:Moving parts are soooo 2000 by JCOTTON · · Score: 0

      Anyone can have a solid state computer. Just go back to DOS 3.3. Who was it that said "I don't know why anybody would ever need more than 640k"?

    17. Re:Moving parts are soooo 2000 by cyfer2000 · · Score: 1

      And the guys who found the Giant Magnetoresistive effect, which is the base of MRAM, are step closer to their Nobel prize.

      --
      There is a spark in every single flame bait point.
    18. Re:Moving parts are soooo 2000 by Kiryat+Malachi · · Score: 1

      And on the pen drive?

      Flash! With limited write cycles!

      --

      ---
      Mod me down, you fucking twits. Go ahead. I dare you.
      (I read with sigs off.)
    19. Re:Moving parts are soooo 2000 by Anonymous Coward · · Score: 0

      > And on the pen drive?

      > Flash! With limited write cycles!

      Read the post again. The home directory is on tmpfs (i.e. in Ram), and is written to the pen drive only once in a while. Modern flash lasts more than 10000 cycles. If you write it twice a day every day it will still last 10 years.

    20. Re:Moving parts are soooo 2000 by Rich0 · · Score: 1

      I believe the Athlon 64 has a 40-bit physical address bus. That means 1 TB of RAM. I doubt there is a motherboard that supports anything like that, but I don't think it is an architechture limitation. Presulably if there were any market for such machines somebody would come up with a motherboard that works.

    21. Re:Moving parts are soooo 2000 by Anonymous Coward · · Score: 0

      thousands of orders of magnitude

      I don't think that means what you think it means. The quantum of time and the age of the universe only differ by about sixty orders of magnitude.

    22. Re:Moving parts are soooo 2000 by Dr.+Spork · · Score: 1

      You're so 1337! This is the place for you, buddy. I can't believe you don't have an account yet!

    23. Re:Moving parts are soooo 2000 by Dr.+Spork · · Score: 1

      I used to think this until I bought lots of ram for my computer. Now the disk hardly does anything except load programs into memory, which doesn't happen that often. To me it seems the real challenge is to write software that intelligently predicts what data on the disk you might need to read next, and intelligently loads it into memory before you actually need it. There are some games that make me wait while the next level is being read from disk. But I have enough ram so that if it was loaded earlier when the disk was idle, it wouldn't have interfered with anything. As crazy amounts of ram become more common, this sort of background pre-loading will become a normal thing, and you'll hardly notice the slowness of the disk. For example, a 4Gig video game will fit into the memory in an average new computer of 2007. Sure, it may take a while, so that's why you start with the stuff you'll need first. The big bottleneck in a high-ram computer with proper software will again be the cpu, gpu and bus.

    24. Re:Moving parts are soooo 2000 by radish · · Score: 1

      So why bother with the pen drive? Just write to the internal CF card...

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

  14. instant on? by kjba · · Score: 1, Flamebait
    Applications for MRAM technology could include "instant on" PCs that do not have to be booted up

    Who cares about instant on? Using this advanced operating system called Linux my PC never needs a reboot.

    On the other hand, Windows users are gonna love this feature.

    1. Re:instant on? by OutRigged · · Score: 2, Interesting

      Isn't the whole idea of a reboot to unload and reload all operating system components? Thus resetting the system state from a crash or updating configuration or executable files that were in use. If magnetic RAM saves the state when it's off, how will that help Windows users or any computer user with a reboot? The only real benefit I can see here is power saving. If a program crashes the entire operating system, you'll most likely need to reload all the operating system components. Reloading a copy of the memory that's already crashed would be pointless.

      Then again, I'm probably missing something. I didn't rtfa, of course.

      --
      RaGe
      We're all just noise on the wires..
    2. Re:instant on? by Anonymous Coward · · Score: 0

      I think u misunderstand.
      Suppose u have a Linux PC fully booted
      and functional as say a webserver,
      then you can power off until someone makes
      a URL hit, and then with new specialized
      LAN cards could wake up and serve the page
      as if the PC was fully booted.
      Another possibility is that you are playing
      your favourite open sauce game of say TORC on Linux PC and you want to go for lunch but don't want to save
      or lose settings or anything. With MRAM,
      just power off, eat, and then power on when you come back. The game and computer would be
      frozen in the state it was in whilst powered
      down. Thats more convenient than saving,
      powering off and then rebooting and loading
      the saved settings.

    3. Re:instant on? by Anonymous Coward · · Score: 0

      MRAM would make a cool place to put a Filesystem journal or batch out writes to disk.

  15. What an asinine question. by torpor · · Score: 4, Interesting


    "How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?"

    Hello. What do you think -hard disks- are?

    I'll give you 5 seconds to come up with a list of operating system 'features' that have been 'standardized' which really resulted from this 'ideology' about how to not write 'safe' code and just let other parts of the system 'deal with it' ...

    Give up? Okay, I'll give you a few:

    1. Swap. Yup, if the program has no idea how much RAM it has or needs, and no idea how to manage it, and the programmer just wants it all ... there's swap. Otherwise known as 'virtual memory', or, as they used to say in the good ol' days "fail-safe swap-over".

    2. "Protected Memory". Yup. Same deal. Let the OS deal with 'bad programming'.

    Non-volatile memory has nothing to do with 'protecting from bad programming' and everything to do with writing 'true' persistent state machines... just like these two 'features'.

    In summary: If it wasn't for 'bad programming', operating systems wouldn't have anything to do ...

    Flame on.

    --
    ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
    1. Re:What an asinine question. by Anonymous Coward · · Score: 1, Insightful

      I think OS dealing with programmer stupidity is a good thing. You can't get the whole world to be excellent (far from that) so you might want to help the less qualified work too, so you can get faster movement in the computer world.


      Besides, you must know that componentisation and division of work allow everyone to be more productive. This does not necessarily mean bad programming.

    2. Re:What an asinine question. by torpor · · Score: 1

      I agree with you. I just don't see how 'non-volatile RAM' is supposed to be a 'protective measure' against bad programming. That is what an OS is for ...

      --
      ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
    3. Re:What an asinine question. by JiffyJeff · · Score: 2, Interesting

      Perhaps I'm speaking in the wrong forum, but in coding I often across events in which I have no idea how much data I'll be reading until I'm done.

      Shit, this is problem shared by kids' lemonade stands and database developers worldwide.

      The world is construed with constantly changing amounts of units. Ask just about any software engineer how many users use his system and he'll say "Ummm, I don't know."
      Is he "stupid" because he doesn't know? No, it's no real working model can predict the future of something whose uncertainly of use is based on the number of users who use it.

      As I proceed to digress, I have to admit that there are surely situations in which models fit very well, but think about the big picture. If you had to write a "simple" program to calculate 'pi' given any input.... could you do it? If you had to record transactions for a given bank for a given day -- could you magnify that for a million users for a year?... Or for a second?

      Expect the unexpected... And deal with it.

    4. Re:What an asinine question. by Anonymous Coward · · Score: 0

      In summary: If it wasn't for 'bad programming', operating systems wouldn't have anything to do ...

      Well, except for task management. And I/O handling. And IPC. Hardware abstraction. Filesystem control...

      Not to mention you've completely failed to understand the purpose of virtual memory and protected memory. Virtual memory allows you to use more memory than your system has available through RAM. This may allow you to run a program that sucks up 20 megs on a 16 meg system, but it also allows you to run 20 well-written one meg programs on a 16 meg system. Protected memory is a protection again 'bad programming', yes. It's a protection against the type of 'bad programming' that's just going to happen. Not because programmers are incompetent, but because it's a very easy error to make. Protected memory is also helpful as a security protection.

      Shame on whoever modded this idiot as interesting.

    5. Re:What an asinine question. by levin · · Score: 0, Offtopic

      Hello. What do you think -hard disks- are?

      A lot slower than MRAM and not truly practical as primary memory.

      Non-volatile memory has nothing to do with 'protecting from bad programming'

      It shouldn't, but that doesn't mean people won't use it to write one good recovery tool and then sloppy code from there on out. This was the original point of my asinine question.

      --

      `which fortune`
    6. Re:What an asinine question. by radish · · Score: 1

      Virtual memory/swap (call it what you will) is most certainly NOT something invented to allow for "bad programming". How many users with their 128mb systems want to run several large memory hungry apps at once? Do they want to be told they can't launch photoshop because they already have premiere and mozilla open? Of course not. Virtual memory allows for:

      a) Running apps which need more memory than tne user has, at the cost of a performance loss.
      b) Loading exceptionally large files into apps (think prepress image or video editing).
      c) Running an arbitrary number of apps at once.

      and most importantly...

      d) Design of apps which don't need to know what's going on around them. The last thing you need is for every app to have it's own paging system for dealing with when it can't malloc what it needs - they'd all compete with each other and you'd have chaos. Not to mention the likleyhood of some of them being buggy. The OS is there to provide a unified, efficient way of getting memory to apps.

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

    7. Re:What an asinine question. by torpor · · Score: 1

      You think MRAM is practical as primory memory?

      I understood your point: it was an honest question. But I would've pitched it more on the "what will OS'es do?" arena more than "solution to poor programming" direction ... I could see it actually being technically applicable to have MRAM management and 'state maintenance' a function of the OS, not further down the line in the programming realm.

      Perhaps we'll see 'services' added to OS'es that allow us to malloc() with a 'MRAM_PERSISTENT' flag ... ?

      --
      ; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
    8. Re:What an asinine question. by levin · · Score: 1

      You think MRAM is practical as primory memory?

      With read/write times approaching DRAM and this process which only utilizes three conductor layers, yes it will be as soon as fabs figure out how to shrink cell size just a little bit.

      I'm sorry to kick a dead dog, as it were, I should never have responded to any of these questions about my question in the first place (for some reason my five most recent comments, regardless of their relation--or lack thereof--to this story, were modded down one point after I responded to the people asking how MRAM might be used in relation to crashing software).

      I never proposed it as a solution either, I said people would try to use it as a solution just like people used a lot of memory when it first got really cheap instead of writing well optimized code. I also agree that a more interesting topic will be what good features OSes add, I only wanted to point out that there was a potential abuse in this new and presumably great technology; just like how the bottom falling out of RAM prices in general spawned a lot of bloatware.

      Anyway, I'm sorry that I ever put the damned question at the end of the submission in the first place, and I'm sorry if my reply came off as defensive, I'm just not the worlds biggest fan of being called stupid in a public setting.

      --

      `which fortune`
  16. Like TV! by earthstar · · Score: 0
    Applications for MRAM technology could include "instant on" PCs that do not have to be booted up, Beinvogl said. With their tolerance for high temperatures, MRAM devices could also open new opportunities in the automotive and industrial markets.

    That means i can switch on my comp like i do the TV!!thats pretty cool.
    in that case ,remote control would also be possible.and pressing "1" should take me to slashdot.org.
    nxt stage:"Computer ON"------"computer off" voice commands!
    Is this all fantasy or will it come true one day with the MRAM!
  17. Crash savedty by ooze · · Score: 3, Interesting

    Is not the main point of non-volatile memory. The two main advantages are significatly less power consumption (only put energy into it, when you want to change the sate, not on every single cycle) and having permanent storage at the speed of System Memory (may I see the time coming, when there will be no seperate permanent storage devices, like hds and all this periphery, with all the bus technology and other error prone parts?...It's a long shot, but this is an important first step)

    --
    Just because I can imagine doing a hippopotamus, doesn't mean I'd like to do it.
  18. Solution to crash-prone software by CompVisGuy · · Score: 1
    ...nonvolatile memory becomes the solution to crash-prone software rather than better programming...

    I don't see how non-volatile memory will cure crash-prone software. One of the main contributory factors to buggy code is memory leaks. Non-volatile memory would allow the invalid state of memory to be preserved between 'reboots', making defects in code more obvious. If non-volatile memory is adopted, then we'll need higher quality code than we have now.

    --


    "The noble art of losing face will one day save the human race"---Hans Blix
  19. Windows by Turn-X+Alphonse · · Score: 0, Troll

    They'll just make the ram blue with white text on it in the future. Windows can even crash a stationary car these days

    --
    I like muppets.
  20. One step closer... by Chrysophrase · · Score: 4, Insightful

    ... to the "immediately on" computer. Boot times reduced to next to nothing will be prove to be a giant leap in the usability of computers, I think.

    --
    "It usualy starts with some screaming. Afterwards there is much running around."
    1. Re:One step closer... by foidulus · · Score: 1

      ... to the "immediately on" computer. Boot times reduced to next to nothing will be prove to be a giant leap in the usability of computers, I think.
      We already have that to a certain extent....I close the lid on my iBook, and without even having it plugged in I can pop open the clamshell the next day, hit a key and after a few seconds I am back in business
      Vastly superiour to this windows hibernate crap...and you can even use the feature in linux, you just gotta run it on mac hardware.

    2. Re:One step closer... by Anonymous Coward · · Score: 0

      And yet we are still 50 steps further away, than we were back when the Commodore 64 ruled the world.

    3. Re:One step closer... by transient · · Score: 1
      --

      irb(main):001:0>
  21. Why would it make a programmer lazy by mcrbids · · Score: 4, Interesting

    Wouldn't non-volatile RAM actually make programmers more attentive?

    One of the most common programming errors is a memory-leak. Can you imagine what would happen if you couln't reboot the Windows machine to clear the memory for another few days?

    Non-volatile RAM may be the best excuse yet to switch to something more, ah... tightly coded!

    That said, I think that the current memory/disk model of computing is antiquated. Why distinguish memory from disk? Why not treat it all the same?

    A HDD is the base storage medium. RAM is a cache of that. L2 cache is a cache of RAM. L1 cache caches L2 cache.

    Why the distinction from HDD to memory? Instead of allocating RAM directly, why not follow the *nix philosophy of "everything is a file" and if you want a storage space for some temp values, open a file and write them in.

    The memory allocated for a particular process would then appear as a file (perhaps buried somewhere in /proc ?) like any other file. Then, determining which program was leaking ram could be done with a simple `ls -la`.

    Instead of flushing to special swap partitions, the memory files would simply be committed to disk when you run out of RAM. (moved down the cache chain from RAM to disk)

    Switching to a fundamentally different type of memory may be the right time to reconsider system architectures and challenge our conventional assumptions of computing, especially since memory leaks can be so severe, even in commercial software!

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
    1. Re:Why would it make a programmer lazy by Dracolytch · · Score: 1

      I think it's time for you to go back and study modern Operating System architecture, with particular attention to virtual memory. I'm at work, so I don't have a full lesson, but basically it boils down to this:

      Your system is inefficient, and slow. The problem has already been solved (fairly succesfully) with virtual memory. Instead of "Making all of RAM into files", VM takes some disk space, and turns it into (very slow) RAM.

      The focus with Virtual Memory is this: Don't just cache the things you need (You'll end up with a lot more reads/writes). Move the things you're less likely to need to virtual memory.

      ~D

      --
      This sig has been enciphered with a one-time pad. It could say almost anything.
    2. Re:Why would it make a programmer lazy by Anonymous Coward · · Score: 0

      Half of that is stupid / pointless, and the rest probably already exists (tmpfs).

      And finding a program leaking memory is already simpler than ls (ps / top).

      Nothing says "simple" like going through a filesytem layer to access memory.

      PS: cat /proc/kcore

  22. Fast and Low Power by Gigantic1 · · Score: 2, Insightful

    Hmm...fast and low power - I like it. I don't exactly know how it might be a substitue for my PC's RAM, but I can certainly imagine it being a great way to replace Flash and SRAM.

  23. That's not why programs crash by Thornkin · · Score: 4, Insightful

    Programs don't crash because the memory is cleared during reboots. They crash because they refer to memory that never existed in the first place.
    Perhaps nonvolatile memory will improve startup times (think super-fast hibernate) but crashes? Not a chance.

  24. Just you wait... by BortQ · · Score: 5, Funny

    The real future is in ENRAM. Give it all your money and then it crashes !

    --

    A Multiplayer Strategy Game for Mac OS X, Windows, and Linux
    1. Re:Just you wait... by Anonymous Coward · · Score: 0

      do not.. i repeat, DO NOT quit your day job

  25. Wouldn't this actually make the problem much worse by ArsenneLupin · · Score: 3, Insightful
    How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?

    At least now, when your Windows crashes, you can reboot your machine, and in extreme cases powercycle it.

    However, with such non-volatile RAM, this is a thing of the past: even leaving the machine unpowered for an hour won't erase the crashed program state...

  26. Somewhat stupid argument by burbilog · · Score: 2, Interesting
    One of the most common programming errors is a memory-leak. Can you imagine what would happen if you couln't reboot the Windows machine to clear the memory for another few days?

    Why everyone automatically assumed that memory can't be cleared upon reboot?! WTF???!! What you were smoking today? It's fucking RAM guys! BIOS could clean it for you during reboot. Or operating system could do it before loading itself.

    1. Re:Somewhat stupid argument by mcrbids · · Score: 2

      Why everyone automatically assumed that memory can't be cleared upon reboot?! WTF???!! What you were smoking today? It's fucking RAM guys! BIOS could clean it for you during reboot. Or operating system could do it before loading itself.

      Sooo... where's the advantage of NVRAM?

      So, we spend years and millions of dollars developing something that we then disable anytime it behaves differently than something widely available?

      With a minimum of profanity, PLEASE EXPLAIN TO ME WHY YOU'D WANT NON-VOLATILE RAM if it's going to be erased on boot anyway?

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    2. Re:Somewhat stupid argument by burbilog · · Score: 2, Insightful
      With a minimum of profanity, PLEASE EXPLAIN TO ME WHY YOU'D WANT NON-VOLATILE RAM if it's going to be erased on boot anyway?

      I'd want non-volatile ram for instant on-off like my Palm does without fear of loosing memory when battery goes dead. Instant power-on/power-off != reboot.

    3. Re:Somewhat stupid argument by jafomatic · · Score: 2
      PLEASE EXPLAIN TO ME WHY YOU'D WANT NON-VOLATILE RAM if it's going to be erased on boot anyway?

      You wouldn't. But that's not really the question, is it? The question (or rather, the answer) is that you would have a choice of powering down and emptying memory, or just powering down.

      I've decided to omit the "minimum profanity" you've requested, as there's no mention of the desired quantity or measurement listed in your post.

      --
      ::jafomatic
    4. Re:Somewhat stupid argument by Octorian · · Score: 1

      Precisely! And most embedded devices these days do it with battery-backed SRAM. This means that even when "off", they still sip power (albeit at a very slow rate). MRAM would have huge advantages in this market.

      Why does everyone assume every bit of semiconductor/electronics technology has to be for "their PCs"? Hello everyone! Those PC processors are actually in the MINORITY of parts shipped in the overall microprocessor market!

    5. Re:Somewhat stupid argument by Asic+Eng · · Score: 1
      There is not even a need to initialize memory at bootup. You just load what you need, no matter what the previous contents are.

      In case some people are confused: MRAM behaves just like SRAM with the only difference that the contents are not lost on power-down. Programming MRAM is not a special process (like for Flash) but a simple write to a memory location. I've already used it in the lab but at the time it was very slow (not surprising in a prototype). Still this technology could become very interesting.

  27. Re:Wouldn't this actually make the problem much wo by cpghost · · Score: 2, Interesting

    Exactly. The kernel's crashed state will be preserved, so you won't be able to reboot cleanly. Some kind of checkpointing (like in database servers) would be useful here: just reboot to the last valid checkpoint. Of course, this requires a lot more WRAM though...

    --
    cpghost at Cordula's Web.
  28. There's nothing new under the sun by ColourlessGreenIdeas · · Score: 5, Funny

    Yay! We're going to get instant-on computers, just like home computers in the '80s were. How are we going to achieve it? Some form of jumped-up magnetic core memory!

    --
    In soviet russia stale jokes recycle you!
  29. lost by slurpburp · · Score: 1

    I thought the whole point [of MRAM] was reducing power consumption. Am I mising something?

    1. Re:lost by Anonymous Coward · · Score: 2, Funny

      Yeah, you're missing an s :)

    2. Re:lost by cyfer2000 · · Score: 1

      the magnetic memory is also quick. Theoritically as quick as the cache used on your mother board.

      --
      There is a spark in every single flame bait point.
  30. Non-volatile needs better software by klagermkii · · Score: 3, Insightful

    If the big advantage of non-volatile RAM is the reduction in how many times you have to wait for your PC to perform a full startup and shutdown the last thing you want to have is your software being so crap that you have to reboot it all the time anyway.

  31. What about laptops? Or embedded systems? by Moraelin · · Score: 4, Insightful

    You see, there are perfectly good reasons to tunr a computer off, regardless of whether it's running Linux or Windows or Solaris or MacOS X. And then you'll want it to start as quickly as possible when you want it back on.

    Laptops are the prime example. You don't want it on all the time, when you don't need it. You want to still have some juice in the battery when you do need it. You'll also want it up and running as fast as possible when you do need it.

    Dunno about you, but I'd rather just start using it, instead of sitting and watching through 5 minutes of Linux loading everything _and_ the kitchen sink at startup, then loading KDE, then taking ages to start Open Office, etc. If MRAM lets me have it up and ready in 1 second, I'm all for it.

    E.g., there are computers in a lot of gadgets. Take my CD-based MP3 player, for example. Whenever I power it up, it takes a couple of seconds to basically boot and read the track list. If all that could stay in MRAM, and have it start playing the millisecond I hit that button, it would be a much more convenient gadget.

    And even with regular PCs, you have to understand that some people actually _use_ their PC. They don't just keep them for a retarded "my uptime can beat yours" contest. And, like any other tool, there are perfectly good reasons to turn it off when you're not using it any more.

    If nothing else, for the noise. Now this computer is a lot more silent since I replaced the fans with 12 dBA ones, and got Seagate drives. But all else being equal, I'd still _not_ have an extra source of noise near my bed when I'm trying to sleep.

    For a lot of people the electricity bill is a factor too. Yes, it's not a small fortune, but for a lot of people it matters. And it's still paying money for something they don't need. They're getting exactly zero use out of that computer running all night, so why would that be on their electricity bill?

    Basically all I'm saying is: next time make sure brains are engaged, before jumping in with the standard knee-jerk "Microsoft sucks" post. Yes, I know. It gives retards the impression of belonging to some big sad community. Makes you sooo cool if you're whining about Microsoft too.

    But sometimes it still can't hurt to pull your head out of your ass. There _are_ uses for some stuff (e.g., the MRAM we're talking about here) that aren't a Windows-vs-Linux thing at all. They're just as useful for either.

    Of course, that would mean actually thinking and actually doing a real analysis, instead of just reaching for the fashionable dogma. But I'm sure you'll get the hang of that, eventually.

    --
    A polar bear is a cartesian bear after a coordinate transform.
    1. Re:What about laptops? Or embedded systems? by Anonymous Coward · · Score: 0

      Dunno about you, but I'd rather just start using it, instead of sitting and watching through 5 minutes of Linux loading everything _and_ the kitchen sink at startup, then loading KDE, then taking ages to start Open Office, etc. If MRAM lets me have it up and ready in 1 second, I'm all for it.
      The technology already exists to do this. Get an iBook/powerbook. Load Linux on it. Now open up all your favorite apps. Now close the lid, and go to work. Come home, go to bed. Wake up the next morning and open the lid.
      Viola, all your apps in all their glory!

    2. Re:What about laptops? Or embedded systems? by Mr_Silver · · Score: 1
      E.g., there are computers in a lot of gadgets. Take my CD-based MP3 player, for example. Whenever I power it up, it takes a couple of seconds to basically boot and read the track list. If all that could stay in MRAM, and have it start playing the millisecond I hit that button, it would be a much more convenient gadget.

      A good example is mobile phones. My Nokia 7610 takes about 40 seconds from power on to being usable. Similar start up times exist for the SonyEricsson P800 and P900.

      Personally, I would prefer it to be no more than 5 seconds, although I don't really have a particulary compelling reason why the extra 35 seconds means so much, other than it's a little annoying.

      --
      Avantslash - View Slashdot cleanly on your mobile phone.
    3. Re:What about laptops? Or embedded systems? by Kiryat+Malachi · · Score: 1

      Easier.

      Get an iBook/Powerbook. Don't load Linux. Open everything you want. Close the lid.

      Come back a day later, open the lid. Apps! OS X ain't so shabby either.

      --

      ---
      Mod me down, you fucking twits. Go ahead. I dare you.
      (I read with sigs off.)
    4. Re:What about laptops? Or embedded systems? by ckaminski · · Score: 1

      REmember that there's also radio protocol handshaking going on with your local cell towers, stuff that's happening in real time when your phone is already on.

    5. Re:What about laptops? Or embedded systems? by Hatta · · Score: 1

      I can do this with my dell cpx-j. I never reboot it. I've left it over 5 days with no problem. It's old too, it's a piii 600 system. Sorry fanboy, but suspend is no big deal.

      --
      Give me Classic Slashdot or give me death!
    6. Re:What about laptops? Or embedded systems? by Kiryat+Malachi · · Score: 1

      How long does your Dell take to come up from sleep? Mine takes about 15-30 seconds, depending on the attached peripherals (if I sleep it undocked, dock it and wake it up, it takes longer to wake up, if its just open close its usually 15). My Powerbook takes roughly 2 seconds.

      The Dell is a 1.2GHZP3. The Powerbook is a 400 MHz G3.

      I'm no fanboy; I own more PCs than Macs and mostly use PCs. But I give credit where credit is due.

      --

      ---
      Mod me down, you fucking twits. Go ahead. I dare you.
      (I read with sigs off.)
    7. Re:What about laptops? Or embedded systems? by Hatta · · Score: 1

      I just timed it twice. 5.6s and 5.3s. Under linux. And that's suspend, not standby.

      --
      Give me Classic Slashdot or give me death!
    8. Re:What about laptops? Or embedded systems? by Kiryat+Malachi · · Score: 1

      I see about 2s for OS X. The times I gave for my Dell are for Windows; it's a work machine, it has to be a Windows machine.

      But the point was - you buy an iBook, it comes with OS X. There's no need to go installing something new.

      --

      ---
      Mod me down, you fucking twits. Go ahead. I dare you.
      (I read with sigs off.)
  32. Memory errors are RAMPANT--one every 90 minutes! by NigritudeUltramarine · · Score: 5, Insightful

    There are very little volatile-memory related software bugs.....

    Oh, are you SURE about that? You should research such statements first, my friend, rather than assuming.

    Take a look at this review from last year of power supplies by Anandtech.

    They ran a six-hour memory test 54 times--and found that with 512MB of RAM, after each six hour test there were an average of four bits that had flipped! That means there is a memory error on a 512MB PC--on average--every 90 minutes!

    If that error occurs in a code segment in a driver, you may get a system crash. In a Windows DLL, perhaps some system instability. In an application, perhaps an application crash. If it's in a data segment, your important manuscript may suddenly lose a paragraph or skip a couple pages as a linked list pointer jumps to the wrong spot, or you may find a bunch of junk replacing normal text.

    Memory errors are a serious problem that very few people acknowledge. Why people still buy non-ECC RAM is beyond me. (Of course, even with ECC RAM, there are still various places inside the PC where failure can occur--along the various buses for exmaple, which don't all have ECC. So this is only part of the solution.)

    More reliable RAM would definitely be a step in the right direction.

  33. It is much more disrruptive technology then that by salec · · Score: 5, Interesting

    The magnetoresistive cell can change the way ANY sequential logic circuit operates. It can make much denser CPUs, ASICs and FPGAs, because now you can make the clock input be THE power supply line.

    It can also make your timepiece battery last ... well, longer.

    You just need to look at it in a different view then Yet Another Non-PowerCycle-Erasable Storage.

  34. EROS by nacturation · · Score: 5, Interesting
    The EROS project (Extremely Reliable Operating System) is an attempt to achieve this -- continual persistence with fine grained capability-based security. Essentially, *everything* is serializable to disk and is done so periodically (eg: every 30 seconds). This has the benefit that you can have the power go out unexpectedly, reboot the system, and only lose half a minute worth of work as all your apps will be restored to their last state. An amusing anecdote about the predecessor to EROS, KeyKOS, from this page... true story:
    • At the 1990 uniforum vendor exhibition, key logic, inc. found that their booth was next to the novell booth. Novell, it seems, had been bragging in their advertisements about their recovery speed. Being basically neighborly folks, the key logic team suggested the following friendly challenge to the novell exhibitionists: let's both pull the plugs, and see who is up and running first.


    • Now one thing Novell is not is stupid. They refused.

      Somehow, the story of the challenge got around the exhibition floor, and a crowd assembled. Perhaps it was gremlins. Never eager to pass up an opportunity, the keykos staff happily spent the next hour kicking their plug out of the wall. Each time, the system would come back within 30 seconds (15 of which were spent in the bios prom, which was embarassing, but not really key logic's fault). Each time key logic did this, more of the audience would give novell a dubious look.

      Eventually, the novell folks couldn't take it anymore, and gritting their teeth they carefully turned the power off on their machine, hoping that nothing would go wrong. As you might expect, the machine successfully stopped running. Very reliable.

      Having successfully stopped their machine, novell crossed their fingers and turned the machine back on. 40 minutes later, they were still checking their file systems. Not a single useful program had been started.

      Figuring they probably had made their point, and not wanting to cause undeserved embarassment, the keykos folks stopped pulling the plug after five or six recoveries.
    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    1. Re:EROS by Atario · · Score: 1
      From the EROS site:
      EROS does not yet have a self-hosted development environment. We are actively working on bringing up a POSIX-compatible environment, but do not expect that this will make it into the first release. The irony is that we may get Java development support in first (!).

      The EROS group currently cross-develops from LINUX. We run RedHat 7.0 (cutting over to 7.1 shortly), but any ELF-based LINUX system should do. Building the EROS system requires G++ 2.7.2 or later. Because EGCS has broken for years, we use cross compilers rather than reusing the native Linux compiler.
      How come they don't try to add their ideas to Linux rather than making it a whole competing system? I'm sure everyone in Linux-land would love to have this sort of bulletproof goodness added to their favorite OS...?
      --
      "A great democracy must be progressive or it will soon cease to be a great democracy." --Theodore Roosevelt
    2. Re:EROS by booch · · Score: 1
      How come they don't try to add their ideas to Linux rather than making it a whole competing system?

      Two reasons. First, development on the EROS predecessor systems began before Linux existed. Second, the architectures of the systems are very different. It would probably not be feasible to "tack on" the EROS features. I'd love to see it though. It'd be awesome to have such resilience. Maybe there's some way to make it happen, but I think it would take a lot of work to make such radical changes to Linux's architecture.
      --
      Software sucks. Open Source sucks less.
    3. Re:EROS by nacturation · · Score: 1

      This article describes the quite fundamental differences between what each OS does. It's a very interesting read.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    4. Re:EROS by Anonymous Coward · · Score: 0

      This is an examply of a hearsay ...

      Back in 1990, the danger was the hard drive, and when you unplugged the computer ... it's likely that the head would scrape the surface and damage it. Damage anything you are writing there, irrespective of what you're writing, which could just as well be the "save" data. What you need to have, to escape this, is a battery backup that will give the system a signal, as well as time to "save" its state.

      Anyone believing that any "computer" people, were stupid enough to unplug their running production systems, without such safe-guards ... shouldn't be working in logic system, any more than guys who're likely to do the stupidity act itself. Even in modern times.

  35. How 'bout core? by Octorian · · Score: 3, Interesting

    You know, the core memory of "way back when" was also magnetic, and nonvolitile. Actually, it was destructive-on-read, so you only had to refresh a bit it when reading it. Otherwise, you could turn the machine off and it would keep its contents.

    (No, I'm not that old. But I had some friends in college who played around with an old PDP-11/45 we found, which used core.)

    1. Re:How 'bout core? by Anonymous Coward · · Score: 0

      This actually is EXACTLY the same technology, only scaled down on a chip

  36. Re:Memory errors are RAMPANT--one every 90 minutes by pe1rxq · · Score: 1

    You described a harware bug (last time I checked RAM was still considered hardware).....
    I was talking about a software bug.

    Jeroen

    --
    Secure messaging: http://quickmsg.vreeken.net/
  37. Re:Memory errors are RAMPANT--one every 90 minutes by maxwell+demon · · Score: 1
    Why people still buy non-ECC RAM is beyond me.

    I at least don't consider any data too safe before it hits disk anyway. The risk that it gets destroyed due to user error (like me accidentally hitting the wrong key), program bug, failing hardware, power outage, ... is IHMO still larger than the bit flip problem (especially since there's a high probablilty that a bit flip either does a minor error (like changing a single character in a document), or causes a program to crash (if the error is inside program code, inside vital data structures, in return addresses or function pointers, and quite likely even if it's in data pointers or indices). The probablity that it causes large harm to my in-memory data without me noticing it (as in suddenly losing a paragraph), so I save the error to disk and am therefore losing the previous (unaffected) version is IMHO relatively low. I guess there's a higher risk to lose the data on the hard disk due to a hard disk failure, or a corrupt file system (but then, that's what backups are for).

    Now if I'd use my computer to control a nuclear power plant or medical equipment, I'd certainly use ECC-RAM only. But then, I'd probably use more reliable components all over the place.

    You don't secure your house against airplain crashes either, do you?
    --
    The Tao of math: The numbers you can count are not the real numbers.
  38. Re:Memory errors are RAMPANT--one every 90 minutes by rugger · · Score: 4, Interesting

    Err, then the PC and ram Anandtech have been using are dodgy.

    Due to the design of Dynamic RAM chips, memory bit flip errors are not influenced by how long the memory sits "idle". I emphise idle here because Dynamic ram is never really idle. Each cell in a DRAM chip contains a capacitor and a transistor. If a DRAM cell is left to its own devices, the capacitor soon discarges and the cell looses its state. To stop this from happening, in the background, the RAM controller on the chip is constantly recharging the capacitors. Each cell is read and rewritten about every few milliseconds.

    Because DRAM chips are never idle, the whole methodolgy of the anandtech test is WRONG, and the most obvious conclusion is that anandtech is using dodgy ram, or is simply pushing the RAM beyond their specs to forcibly generate errors.

  39. Re:Memory errors are RAMPANT--one every 90 minutes by NigritudeUltramarine · · Score: 1

    You described a harware bug (last time I checked RAM was still considered hardware)..... I was talking about a software bug.

    Every time a bit flips in a code segment, what do you think happens? More likely than not, a bug is introduced into the software at that address. A JZ instruction turned into a JNZ, for example (0x74 into 0x75). Memory errors do indeed cause software bugs.

  40. Re:Memory errors are RAMPANT--one every 90 minutes by Atzanteol · · Score: 1

    Memory errors do indeed cause software bugs

    And how exactly is one expected to code against this? Again, it's not the *developers* fault that memory returned a different value than was stored there.

    --
    "Ignorance more frequently begets confidence than does knowledge"

    - Charles Darwin
  41. Re:Memory errors are RAMPANT--one every 90 minutes by NigritudeUltramarine · · Score: 1

    Now if I'd use my computer to control a nuclear power plant or medical equipment, I'd certainly use ECC-RAM only. But then, I'd probably use more reliable components all over the place.

    Well, I do use my PC for software development, and I surely don't want to be shipping buggy software to customers because I saved $2 buying non-ECC RAM. Really--$2. That's all the price difference is these days. Check out Crucial or NewEgg. There's no reason to go non-ECC. ECC isn't any slower (paranoid folks will tell you it is; not true--266 MHz is 266 MHz, and CAS 2 is CAS 2), and the reliability is tops.

    It's funny you mention things like a "corrupt file system" being a larger risk--most modern operating systems (including Windows and Linux) use a large amount (often most, if you have a lot) of your RAM as a disk cache. If a bit flips in one of those areas, you are very likely to end up with corrupt data on your drive, such as a corrupt inode. Where do you think such errors come from? They don't come from the drives themselves, which rely extensively on Reed Solomon ECC.

  42. Sensitive data lying around after turn off? by doshell · · Score: 4, Insightful

    Perhaps I'm being too paranoid, but I see some potential for abuse here. Imagine a program that deals with passwords or credit card numbers... They could be still lying around in your non-volatile memory after the machine is switched off.

    An intelligent program should then zero out those passwords before freeing memory. Even so, would this kind of storage suffer from the security issue already discussed here and here (ability to retrieve data from many previous writes)?

    --
    Score: i, Imaginary
    1. Re:Sensitive data lying around after turn off? by Asic+Eng · · Score: 1
      I guess you could tackle this by doing a memory initilization sequence when shutting down. If you use the MRAM to suspend-to-MRAM (like you would do suspend-to-disk now) you could just require a password when waking up.

      In any case once you have physical access to the machine you can get at almost anything which is on the harddrive - there is cache on that one, too.

    2. Re:Sensitive data lying around after turn off? by rtaylor · · Score: 1

      This problem (due to swap) exists today as well. Any program that doesn't clear sensitive memory spaces after using them runs the risk of having their information gathered.

      It's one of the reasons that OpenBSD (and I believe FreeBSD now?) can use encrypted swap files.

      --
      Rod Taylor
    3. Re:Sensitive data lying around after turn off? by stratjakt · · Score: 1

      They could be lying around in your swap file at any given time right now. This is nothing new.

      --
      I don't need no instructions to know how to rock!!!!
  43. Re:Memory errors are RAMPANT--one every 90 minutes by pe1rxq · · Score: 2, Insightful

    So according to you when I trip over the power cord and all software disappears from RAM its a software bug?

    The HARDWARE failed and thus its a hardware bug.
    (In the power cord example its an operator bug)

    Jeroen

    --
    Secure messaging: http://quickmsg.vreeken.net/
  44. how soon? by zmollusc · · Score: 1, Insightful

    Will this stuff be here before Bubble Memory? I have been waiting for bubble memory for a long time now.

    --
    They whose government reduces their essential liberties for temporary security, receive neither liberty nor security.
  45. Re:Memory errors are RAMPANT--one every 90 minutes by NigritudeUltramarine · · Score: 5, Interesting

    And how exactly is one expected to code against this?

    It's not difficult.

    Just add ECC in software.

    I've done this before in some of the software I've written for hospitals and banks; it's been a design requirement for the software to detect when there is a failure, and to correct if possible.

    And, yes, failures ARE detected, AND corrected.

    The way it works is you divide memory up into blocks (for example, 512 bytes of 1KB). You do this for both your data and code. For each memory block, store the ECC data (usually, in a separate area of memory, so it's non-intrusive to the program design).

    A thread runs in the background, often on a second CPU, continuously checking the program's data and code to ensure that the ECC data is valid. When an error is detected, it is logged and corrected if possible.

    When modifying data, a flag is set for that memory block that it has been altered; a new ECC value is calculated as soon thereafter as possible. (This is done automatically by setting the CPU to generate an exception when writing to a particular segment. It's a feature built into Intel processors and available through high-level calls in both Windows and Linux.)

    I'm sure you remember the Java exploit from a couple of years back, where the security model was bypassed completely by blowing a hairdryer on the RAM until a byte code error was induced in very-carefully-constructed code. Software ECC is the kind of thing you need to do to mitigate those types of attacks.

  46. Re:Memory errors are RAMPANT--one every 90 minutes by NigritudeUltramarine · · Score: 1

    No. Why would you say that?

    I'm saying it's a software bug when your code reads:

    JNZ 112

    when it was supposed to read:

    JZ 112

    If the programmer explicity wrote it as "JZ 112", it's a bug in the software due to the fault of the programmer. If the machine randomly flips a bit and switches it, it's a bug in the software due to the fault of the memory.

    Just because memory caused the bug in the software to appear doesn't mean it's not a software bug. Memory isn't any less capable of adding bugs to software than an incompetent programmer is.

  47. Re:Wouldn't this actually make the problem much wo by Elledan · · Score: 2, Informative

    No need for something so complex. All one has to do to recover from such a state is to extend (or emulate one of volatile RAM's 'features', if you wish) the 'reset'-function:

    The moment you push the 'reset' button, not only does the system reboot, but the memory is also wiped, after which a non-corrupted copy is loaded from the 'HDD' (or whatever is used for storage).

    So in other words, the 'power'-button would be used to power the system down, while the entire state would be preserved (like the hibernate feature).
    The 'reset'-button would literally reset the system to its default state, just like when you boot a system employing volatile RAM.

    --
    Site & blog: http://www.mayaposch.com
  48. I rarely hear of RAM as the failure by erroneus · · Score: 4, Insightful

    While it's possible, RAM is a hardware failure and can rarely be connected with software.

    On the other hand, our handy ability to shut down and clear out bad programming is a luxury that might become more difficult with the new RAM technology.

    This could mean that viruses and other malware could remain even more resistant to removal than before!

  49. Re:Memory errors are RAMPANT--one every 90 minutes by Anonymous Coward · · Score: 0

    More reliable RAM would definitely be a step in the right direction.

    The RAM isn't less reliable because it is non-volatile, you idiot. For all you know, this MRAM could have 10x the failure rate of DRAM.

    Also, that Anandtech review obviously used crappy RAM or some eleet overclocked piece of shit computer: ECC RAM will pick up flipped bits and they are reported. Now, on a solid system with 16GB of good ECC RAM, errors just don't occur anywhere near that frequency.

  50. Re:Memory errors are RAMPANT--one every 90 minutes by NigritudeUltramarine · · Score: 5, Informative

    No, that's wrong. The truth is that errors in dynamic RAM can be introduced on each refresh. As you said yourself, dynamic RAM needs to be refreshed every few milliseconds--read and rewritten. Each time that happens, it's possible for an error to be introduced. If the refresh circuitry reads the value incorrectly, you get an error. If it writes the value incorrectly, you get an error. The longer the RAM sits around, the more refresh cycles, so the greater the chance for errors. If the voltages aren't stable enough, for example, you'll find a "1" bit refreshed with slightly too low of a current so that when the next refresh comes around, it's read as a "0" as it's been discharging over time and falls just below the threshhold to be read as a "1".

    As far as errors not being introduced when the memory is "idle," you're thinking of static RAM. Static RAM doesn't need to be refreshed, and thus actually CAN be idle. So it holds a huge advantage here. Without the refresh cycle, there's no place for errors to be introduced except during the actual reads and writes by the processor.

  51. Re:Memory errors are RAMPANT--one every 90 minutes by NigritudeUltramarine · · Score: 1

    The RAM isn't less reliable because it is non-volatile, you idiot.

    Not true. See this post for details on how having to refresh memory introduces errors. NVRAM is inherently stable because it doesn't need to be refreshed every few milliseconds, so you don't have the possibility of the refresh cycle introducing errors.

    ECC RAM will pick up flipped bits and they are reported.

    Right, that was exactly my point; there is no reason that we shouldn't all be using ECC RAM, yet there are still dumbasses out there who insist on saving $5 on their $1000 system by buying non-ECC RAM.

  52. Re:Wouldn't this actually make the problem much wo by ArsenneLupin · · Score: 1
    The 'reset'-button would literally reset the system to its default state, just like when you boot a system employing volatile RAM.

    ... if your system has a reset button. I own a Laptop which lacks one. So, if it gets stuck, powercycling is the only choice. However, occasionally, the power button crashes too, so the only choice is to pull the plug (which, on a Laptop, is easier said then done, because you need to remove the battery as well...)

  53. Re:Memory errors are RAMPANT--one every 90 minutes by NigritudeUltramarine · · Score: 1

    Sorry--that should have read "512 bytes or 1KB" ... not "512 bytes of 1KB." Too many typos means it's time for me to head to bed....

  54. Please explain by polyp2000 · · Score: 1

    How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?

    I dont understand how non-volatile memory would solve the problems of crash prone software. Okay so it might make the problem of recovering lost work after a crash that little bit easier. I fail to see how its going to solve the problem of crashing though.

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
  55. There'll be uses for this stuff... by Julian+Morrison · · Score: 3, Interesting

    ...but they won't be the same as uses for RAM or for hard disk.

    Using it for RAM would be silly - RAM is supposed to be transient, keeping it around would be a security and stability loss.

    Using it for hard disk would be silly - the price per megabyte would be ridiculous unless you're doing stock-market data crunching or some such.

    Some uses I can immediately see for it:

    - boot the OS, and save a snapshot for an instant reboot

    - use it to store persistent caches of binaries, libraries, etc

    - use it for filesystem and database journals

    - do RAID4 and use it to hold the parity volume

    1. Re:There'll be uses for this stuff... by addaon · · Score: 2, Insightful

      How would it be a security loss? Any program concerned about security today is already aware that any of its memory may be swapped out at any time... and that swap files can, on many architectures, survive between boots. The only safe way to ensure that stuff you write in memory is not persisted, today, is to clear it by hand. How is this different with MRAM?

      How would it be a stability loss? I just don't see it... all this talk about 'but when you reboot, you'll be in the same state.' No, when you reboot, your memory will be in the same state, and your processor will be in the reset state. Does ANY software on ANY platform using DRAM assume that memory is initialized to a known state at startup?

      --

      I've had this sig for three days.
    2. Re:There'll be uses for this stuff... by Anonymous Coward · · Score: 0

      "Using it for RAM would be silly - RAM is supposed to be transient, keeping it around would be a security and stability loss."

      No, RAM is supposed to be memory that you can randomly access. Transience has been a necessary evil.

      Many posters here seem to assume that putting MRAM in a machine would magically remove any ability to clear the memory. I mean, c'mon. Even if the OS didn't make it easy to do, you KNOW it would be no time at all before 50 zillion utilities were written that would do the job.

  56. Re:Memory errors are RAMPANT--one every 90 minutes by 12357bd · · Score: 4, Insightful

    Without the refresh cycle, there's no place for errors to be introduced except during the actual reads and writes by the processor.

    What about external influences (heat, cosmic radiation, etc)?

    --
    What's in a sig?
  57. Nice wool, ESD that RAM! by Anonymous Coward · · Score: 0

    Pete Burris, president and namesake of Alpaca Pete's, a retail chain and website that sells rugs and clothes made from the woolly South American alpaca, buys finished products almost exclusively from a group of about 4,000 Peruvians from the island of Amantani, located in the middle of Lake Titicaca, the highest-elevation lake in the world. Aside from a small tourism business, Burris says, his Alpaca exports constitute one of the only local sources of employment.

  58. This might actually cause more crashes. by zerofoo · · Score: 2, Informative

    One of the interesting aspects of MRAM is the ability to not lose system memory "state". You turn off the machine, and the contents of memory remain for the next session.

    Can you imagine a windows XP "state" that has never been rebooted? How about a continually running process that has a memory leak?

    Eventually all machines need to be rebooted (some much less than others). That means re-creating a "clean" system state in memory.

    -ted

    1. Re:This might actually cause more crashes. by iggymanz · · Score: 2, Insightful

      back in the day of magnetic core, you could boot and choose whether you wanted to execute a little routine that would shuffle zeros from one location to the next to clear out the machine, or continue running with what you had (any other slashdotters out there ever work on IBM 1620 or 1720 or magcore models in the 360/370 line?) I think it's funny that this is once again may be an option.

  59. Re:Wouldn't this actually make the problem much wo by Elledan · · Score: 1

    You make it sound like it's impossible to add a reset button.

    --
    Site & blog: http://www.mayaposch.com
  60. What I'm really waiting for... by checkyoulater · · Score: 1

    Is for a PC equipped with AAMRAM. Nothing like having an Air to Air attack missile doubling as RAM on my motherboard. That would certainly make software developers think twice about releasing buggy code.

    --
    Is that a real poncho? I mean, is that a Mexican poncho or is that a Sears poncho?
  61. Re:Wouldn't this actually make the problem much wo by dj245 · · Score: 1
    However, with such non-volatile RAM, this is a thing of the past: even leaving the machine unpowered for an hour won't erase the crashed program state...


    Two solutions really, I'm no CS major, but I think they ought to work.

    Solution 1: A button on the motherboard (or jumper, or on the front of the case) that clears the memory. I'm not sure what exactly it would want to write. 1's? 0's? 1/2s?

    Solution 2: Bootmenu. Even old versions of Windows know when you didnt finish your bootup sequence and give you a menu to delete the hibernation data. To be safe, perhaps displaying this every time the computer is dehibernated would be a good solution.

    Solution 3: Combination of 1 and 2.

    --
    Even those who arrange and design shrubberies are under considerable economic stress at this period in history.
  62. No hard disks. by 12357bd · · Score: 1

    Call me when I can get rid of my hard disks, it's been a looong time since I wondered about 'static' ram computing machines.

    --
    What's in a sig?
  63. Re:Memory errors are RAMPANT--one every 90 minutes by Glock27 · · Score: 1
    Due to the design of Dynamic RAM chips, memory bit flip errors are not influenced by how long the memory sits "idle". I emphise idle here because Dynamic ram is never really idle. Each cell in a DRAM chip contains a capacitor and a transistor. If a DRAM cell is left to its own devices, the capacitor soon discarges and the cell looses its state. To stop this from happening, in the background, the RAM controller on the chip is constantly recharging the capacitors. Each cell is read and rewritten about every few milliseconds.

    Yes, and if the state is flipped by an outside influence before the read, the new "read and rewritten state" will be incorrect.

    This is known to happen randomly from natural radiation (mainly cosmic rays). That is the main reason ECC memory exists (as the grandparent pointed out). You should do a little research before loudly proclaiming your incorrect thesis next time.

    --
    Galileo: "The Earth revolves around the Sun!"
    Score: -1 100% Flamebait
  64. HOW DOES THIS BASH MICRO$LOTH OR WORSHIP APPLE? by Anonymous Coward · · Score: 0

    in other words, WHO CARES?

  65. Re:Memory errors are RAMPANT--one every 90 minutes by Anonymous Coward · · Score: 0

    These powerpoint slides describe the "hairdryer attack" in question, for the curious.

  66. rather than better programming by thing2b · · Score: 0, Offtopic

    If you want "better programming", send your programming jobs to new zealand and not india

    --
    Webmaster of Infoweb
  67. Re:Memory errors are RAMPANT--one every 90 minutes by astrosmash · · Score: 1

    Then what's a hardware bug? A crack in the computer case?

    But that's beside the point.

    The article implied that non-volatile memory was somehow a solution to poorly written software, which is preposterous. You're saying that memory that doesn't fail is a solution to memory that does fail, which goes without saying.

    --
    ENDUT! HOCH HECH!
  68. Re:Memory errors are RAMPANT--one every 90 minutes by pe1rxq · · Score: 1

    Funny, you are arguing against yourself:

    With 'NO' you imply that me tripping the power cord wasn't a software bug....
    Now lets have some fun with the rest of your post:

    I'm saying it's a software bug when your code goes blank and stops when it was supposed to make sense and execute.

    If the programmer explicitly blanked the RAM it's a bug in the software due to the fault of the programmer. If the user randomly pulls the plug, it's a bug in the software due to the fault of the user.

    Just because the user caused the bug in the software to appear doesn't mean it's not a software bug. Users aren't any less capable of adding bugs to software than an incompetent programmer is.


    You just gave me a great excuse: 'It wasn't me.... blame the software guys..... Its always a software bug'

    Jeroen

    --
    Secure messaging: http://quickmsg.vreeken.net/
  69. Re:Memory errors are RAMPANT--one every 90 minutes by Anonymous Coward · · Score: 0

    You don't get it. What it implies is that there's a greater chance of error by refreshing an "old" value then a "new" one. The problem is that there is no such thing as an "old" value since the memory is never "idle".

    I don't know how MemTest86 works, but, according to AnandTech, the delay between tests is several seconds. During those several seconds, there's a lot of refresh. If there's a problem once in a while with a refresh, then it will happen wether the memory was written 6 seconds or 6 hours ago. This means that running a test that last 6 seconds over and over for 6 hours should result in about the same number of error than running one test that last 6 hours.

    I would really like to know where I can find the modified MemTest86 used to do this test because I think the AnandTech's article is, for the least, doubtful.

  70. Actually... by ltwally · · Score: 1
    Actually the article said 16 Megabit (ie. 2 Megabytes), which is even smaller than I assume you're thinking -- that being a 16 Megabyte chip.

    However, this is not so useless as you think... modern memory is not installed in single chips (at least not for PC's); modern memory is installed in sticks, which are comprised of many chips. While 2-megabytes is still too small for even a stick to hold much, it's not so far away from practical uses. When we start seeing 64Mbit chips then you'll know it's just around the corner before they appear on desktop systems.

    Until then, a non-volatile 2-megabyte chip makes a great solution for cache memory inside instant-on products, like MP3 players :)

    --



    /dev/random
    1. Re:Actually... by Asic+Eng · · Score: 1

      Also, MRAM could be especially for devices like memory sticks and MP3 players because it is much faster to program than Flash. No page-erase, no programming sequence needed - just write the values you need and you are done.

  71. Re:Memory errors are RAMPANT--one every 90 minutes by Anonymous Coward · · Score: 0

    i usually just assume that if someone has physical access to the machine's cpu or memory (ram or hd) then there is no way to protect that machine from being exploited.

  72. Re:Memory errors are RAMPANT--one every 90 minutes by afidel · · Score: 3, Informative

    Yes and it just gets worse as chip densities increases. That's why IBM invented Chipkill (which is essentially RAID-5 for ECC RAM banks). The error rate for 1GB ECC memory-equipped server is 9 outages per 100 servers over 3 years IBM whitepaper, pdf. Non-ECC ram is probably rediculously high!

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  73. Re:Memory errors are RAMPANT--one every 90 minutes by trentblase · · Score: 1
    yet there are still dumbasses out there who insist on saving $5

    They're not dumbasses so much as slightly ignorant. They expect their RAM to operate correctly. And why shouldn't they?

  74. Lazier? by RLW · · Score: 1

    Can software developers get any lazier ?
    The ones who aren't lazy are too busy reading slash dot.
    It's a double whammy.

    1. If architects made buildings the way programmers write code then the first wood pecker to come along would destroy civilization.
    1. Re:Lazier? by RevAaron · · Score: 3, Insightful

      The ones who aren't lazy are too busy reading slash dot.

      Umm... I'm not sure in what world you live, but Slashdot isn't the meeting place for the world's best and most ambitious programmers. *We* are the lazy ones, reading /. when we should be working.

      --

      Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
    2. Re:Lazier? by RLW · · Score: 1

      You got me there. I guess I should have said lazier and laziest. Not sure though which is lazier and laziest. Oh well, it's good work if you can get it! /.ing from 9-5 is great!

  75. MRAM as crash solution by levin · · Score: 0, Troll

    The RAM doesn't crash the computer, but if you don't loose everything in RAM when the computer DOES crash for some other reason (by crash I mean something that needs a reboot here, not when your web browser craps out) then there isn't as much of an incentive to write software that doesn't do this.

    --

    `which fortune`
    1. Re:MRAM as crash solution by JCOTTON · · Score: 0
      loose = not tight
      lose = not found

      Got it?
  76. Re:Wouldn't this actually make the problem much wo by levin · · Score: 0

    Not really a problem; The memory doesn't get reset but the processor's registers will (unless they use magnetoresistive registers too for some reason). So basically, yes, the memory will have all the same stuff, but the processor wont be looking in the same place to fetch instructions after you reboot it.

    --

    `which fortune`
  77. Re:Memory errors are RAMPANT--one every 90 minutes by Vellmont · · Score: 1

    That means there is a memory error on a 512MB PC--on average--every 90 minutes!


    No, that means if you're running an extremely intensive memory tester that's changing ALL the memory every few seconds you'll have a memory error every 90 minutes. To interpret the memtest86 results you have to understand a bit about how memtest86 works, and how memory failures occur. From the memtest86 readme:

    Memory chips consist of a large array of tightly packed memory cells, one for each bit of data. The vast majority of the intermittent failures are a result of interaction between these memory cells. Often writing a memory cell can cause one of the adjacent cells to be written with the same data. An effective memory test attempts to test for this condition.

    In other words you can't extend the results of memtest86 to the real world. Most of the time all of your memory isn't being constantly written to, it just maintains its current state.
    --
    AccountKiller
  78. Re:Memory errors are RAMPANT--one every 90 minutes by pslam · · Score: 1
    No, that's wrong. The truth is that errors in dynamic RAM can be introduced on each refresh.

    I think you're mistaken about the cause of DRAM errors. It's not the refresh which causes errors - it's errors in the charge stored in a cell.

    The refresh effectively "rounds" the charge back to the nearest bit. If there is enough error in a cell, it will flip states. Without external influences, the chances of an error being of magnitude large enough to flip a bit is not zero, but so small that you could get away with saying "it never happens". But, for example, a stray cosmic ray has a chance of imparting enough charge to change the level beyond a threshold for that bit sense. The refresh then "rounds" the charge and effectively causes the bit to flip. It looks like the refresh is causing the error, but really the information was already lost when the cosmic ray hit, and there's nothing it could have done.

    The point is Anandtech seem to have the wrong method, because letting DRAM lie in refresh for extended periods should make absolutely no difference to the chances of an error. It's going to be refreshed every 64ms (for the Micron SDRAM I was interfacing recently) regardless of whether you're accessing it or not.

    The fact that Anandtech are also making conclusions about hardware buying based on statistics as worthless as their 0-8 errors over a tiny number of trials is also quite ridiculous, and reassures me that they don't know what they're doing.

  79. Re:Wouldn't this actually make the problem much wo by Asic+Eng · · Score: 1

    No, it's just RAM. All you have to do is tell your computer that you want to reboot. RAM does not have to be initialized to all 0s before booting. You just set the program counter to the boot sequence and off you go - your OS will be loaded into RAM (no matter what sort of RAM, and no matter what the contents are which are overwritten).

  80. hrmm by athlon02 · · Score: 2, Interesting

    From the article: "Before we go to commercial production there remains a lot of work to do."

    Man I wish they'd just release some anyways. I don't care if the 1st generation is 1.42 microns^2 per cell, I'd just like to have the stuff. I've been waiting on the stuff ever since I first heard about it ages ago. But it's good to see they are still moving forward.

  81. Re:Memory errors are RAMPANT--one every 90 minutes by maraist · · Score: 1

    Sorry, but you aren't reading the article correctly.

    Bit-errors are "hardware" problems, not software problems. By definition, a software problem is due to incorrect coding - it assumes hardware that perfectly conforms to spec, and with zero error. It would be impossible to write software (on modern hardware at least) that compensates for all bit-errors. Yes we have ecc memory and caches, but they are only one component. Now reliable hardware errors can be corrected for in software (the division error in old pentiums, for example). Also high-probability error-points (such as inter-machine communication) is designed with explicit redundancy/error-correction/detection. BUT this is data, not the base instruction. I am not aware of software solutions to correct for software instructions. (Ok, perfectly redundent CPU's which an I/O comparator, but this doesn't solve the problem of the DRAM bit-errors).

    As for SRAM, in the CPU, that's even more volitle than DRAM. It has much higher current requirements, and thus has a higher probability of heat-related errors. They change values more often than main-memory, and have MUCH higher performance requirements. Most SRAM has ecc these days.

    The static part of SRAM just means it's continually held at a certain logic-level. But in modern CPU's that's contingent apon a steady input voltage. With millions of taps on the voltage (and especially with over-clocked CPUs with faster than spec switching times, and often over-pumped voltages) the probability of a temporary voltage drain on on of millions of taps is very high.

    With DRAM, there is a very controlled simultaneous refresh of a row (or column, don't remember which). Depending on the technology (I believe SDRAM falls into this category, but I'm not completely sure; yes I know S means Synchronous, not static), micro-caches (read as static ram) exist for the purpose of fast column accesses. When switching rows, the cache is written back in parallel to the row. When a particular row has aged too long, general memory access is halted so that a quick DRAM -> SRAM -> DRAM can occur (e.g. a refresh). This all happens transparently within the DRAM (though depending on the technology, the memory-controller may have to send the appropriate signals).

    My point there is that in these types of memory architectures, refreshes are no more dangerous than regular memory reads.. The only possible danger here is if a particular memory cell will expire (discharge) sooner than spec, but isn't caught during testing because it happens to be refreshed in the wrong order; it's thus a time-bomb waiting to be accessed in the right order in production-environment. But such a situation is reproduceable.

    One other note.. I said DRAM is a symmetric operation.. This is because in modern DRAM the entire row is read or written to at a time (tens of thousands of bits). In SRAM,only a single cache-line (roughly 128bits) is read/written at a time. Further, in some architectures, there is simultaneous access to different sections of the cache (2 read, 1 write caches, for example). A registry is the ultimate cache with many potential input and output ports to each and every bit...

    --
    -Michael
  82. Re:Memory errors are RAMPANT--one every 90 minutes by EvilTwinSkippy · · Score: 1
    And don't forget about mundane things like a moron using a tape eraser nearby, or in extreme cases a wireless access point or a cordless phone putting out a dodgy signal.

    You are storing information in magnetic fields. There are LOTS of things around the house that produce magnetic fields. It's doesn't take much to knock it one way or another.

    --
    "Learning is not compulsory... neither is survival."
    --Dr.W.Edwards Deming
  83. Helpdesks Against MRAM by srenker · · Score: 1

    They'll have to start doing more than telling you to reboot.

    --
    My new /. login is fabu10u$.
  84. Re:Memory errors are RAMPANT--one every 90 minutes by rugger · · Score: 1

    But, DRAM will hold its state without a refresh for MUCH longer then the time the chip actually spends between refreshes. This ensures that a cells don't discharge too far and loose their correct state. An DRAM chip that refreshes every 64ms will have cells that could hold their state for 200ms or longer.

    There are external events that can cause a bit flip, but their occurance is so exceedingly rare, I would be suprised if more then one such event happened per year to people.

  85. Dumb Slashdot "discussion starter" strikes again by Junks+Jerzey · · Score: 1

    How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?

    Seriously, Slashdot would be so much more interesting if editors just posted news stories without the little editorial riders. Sometimes these are from the submitters, sometimes from the editors, but they're almost always either biased, inflammatory, or just plain wrong. Enough already!

  86. Nah by Anonymous Coward · · Score: 0

    You won't see better programming until it starts chasing us down the streets and completely ruining great literature.

  87. And MRAM will fix this in WHICH manner? by Svartalf · · Score: 1

    All MRAM does is make it non-volatile. It doesn't prevent or even ameliorate the problem you mentioned- it's not more reliable in the sense you're looking for.

    --
    I am not merely a "consumer" or a "taxpayer". I am a Citizen of the State of Texas
  88. Re:Dumb Slashdot "discussion starter" strikes agai by Anonymous Coward · · Score: 0

    Absolutely agreed, would give you an "Insightful" if I had points.

    This article could have occasioned some interesting discussion about real applications of MRAM, but instead we've got dozens of redundant comments pointing out the idiocy of that line in the writeup.

  89. Already doing it by Anonymous Coward · · Score: 0

    Two words: auto-save

    We're using non-volatile memory as a solution
    to crash-prone software. We're just not using
    MRAM yet.

  90. Re:Memory errors are RAMPANT--one every 90 minutes by warrax_666 · · Score: 1
    Well, I do use my PC for software development, and I surely don't want to be shipping buggy software to customers because I saved $2 buying non-ECC RAM.

    Umm... dude. You using ECC RAM is not going to protect users of your software from memory-related bugs(*). Your users using ECC RAM is going to protect them from memory-related bugs.

    Don't get me wrong: Using ECC is always better than using non-ECC (it isn't really all that much more expensive), but you seem to be under the impression that non-ECC memory errors are more likely to corrupt your data than simple programmer errors in the OS, your filesystem code, your revision control system, etc. That impression is wrong.

    (*) Unless you are talking about the extremely unlikely scenario of a memory-related bug causing random chances to your source code and another memory-related bug causing the revision control software (you do use RCS, don't you?) to not notice the random change when you do a "$RCS diff". Programmer error in the $RCS source code is far far far more likely to screw up your source than any random bit-flip error in memory.
    --
    HAND.
  91. The refresh cycle... by Anonymous Coward · · Score: 0

    isn't what introduces the errors. It's random changes in the stored charge induced by the environment (e.g. cosmic rays and other electromagnetic radiation).

  92. Memtest 86 by DigiShaman · · Score: 1

    Try running memtest86 on any custom box and you will be suprised at the amount of problems you will find. I would say, at least 1 out of 50 boxes have some form of memory related issues. Obviously this has nothing to do with programming as the article states. But even with RAM stats programmed in SPD, the motherboard may still not handle them very well. I'm not sure that MRAM will help any if at all with industry compatibility issues among all vinders...but this is a very real issue that needs to be delt with!

    --
    Life is not for the lazy.
    1. Re:Memtest 86 by jp10558 · · Score: 1

      I've run memtest86, and the new memtest86+ on multiple computers I've built and never had a memory issue show up on it.

      This may be because I use Crucial RAM instead of the cheapest on pricewatch, I don't know.

      --
      Opera, Proxomitron-Grypen,GPG 0x0A1C6EE3
    2. Re:Memtest 86 by DigiShaman · · Score: 1

      Ya, you shouldn't have problems with Crucial. But the problems I found are with those new hotrod chips. For example, Corsair doesn't adhear to JDEC specifications from what I understand. Thus, will require memory timing tweaking to get it stable. But if I'm going to build a server or any custom box for a user, I was total stability or I KNOW if will byte (pun intended) me in the ass later.

      If your a customer of mine that wants a customer gamerz box with the fastest components on the market, you will pay extra for the extreme testing it will go through. And I mean, a total week of burning that yeilds zero problems in memtest86.

      --
      Life is not for the lazy.
  93. Re:Memory errors are RAMPANT--one every 90 minutes by Anonymous Coward · · Score: 0

    What? It gurantees that his code wasn't fucked up because of a hardware memory error at compile time (therefore causing a problem in the binary). I think that's all he ways saying.

  94. Re:Memory errors are RAMPANT--one every 90 minutes by warrax_666 · · Score: 1

    Ah, of course, sometimes I forget that not everyone releases their code as source. :)

    But regardless, the probability of such an error occurring is still far lower than that of another piece of system software introducing errors.

    For example, if doing a static compile, there are probably lots of bugs hiding in libraries, and any of these is more likely to cause problems for his users than some random memory error.

    Hell, even compiler bugs are probably more likely (e.g. gcc >=3.2 is notoriously buggy on Pentium4).

    So, just to be absolutely clear about what I was saying: He's effectively guarding against a failure which is so unlikely that it can be considered irrelevant when considering the stability of his software.

    --
    HAND.
  95. Re:Memory errors are RAMPANT--one every 90 minutes by poot_rootbeer · · Score: 1

    If it's in a data segment, your important manuscript may suddenly lose a paragraph or skip a couple pages as a linked list pointer jumps to the wrong spot, or you may find a bunch of junk replacing normal text.

    Memory errors could also convert a NOP instruction into a HCF and burn down your house!

    A lot of things COULD happen. But when was the last time any of your examples HAVE happened to anyone here? Show of hands? No one? Huh.

  96. Re:Wouldn't this actually make the problem much wo by poot_rootbeer · · Score: 1

    However, with such non-volatile RAM, this is a thing of the past: even leaving the machine unpowered for an hour won't erase the crashed program state...

    It'd be easy enough to make it so that it you hold down the power button for, say, 10 seconds, the MRAM will be flushed and the machine will go through its "long" boot process.

  97. Doubtful about memory being that faulty. by jupiter909 · · Score: 1

    I have had my previous computer on for 400 days just as a test of reliability. If memory errors are the cause of so many 'problems' why did my machine not fall over in over 400 days? Am I just lucky to have gotten 'good' ram.

    1. Re:Doubtful about memory being that faulty. by wwahammy · · Score: 1

      Good guess, I have a computer with cheap RAM and its not that reliable. I'm lucky if I could make it a day.

  98. Re:Memory errors are RAMPANT--one every 90 minutes by rsmith-mac · · Score: 1

    If you take a look at the actual test results for their power supply overview, you will see that the number of errors varies widely among the different power supplies. As such, I submit that the RAM itself, which was not being overclocked in any way, is perfectly fine, and otherwise there should have been more consistency among the errors.

  99. Re:Stable State? by Anonymous Coward · · Score: 0

    And how do you choose what/when is a steady state ready to save?

  100. Re:I for one by Anonymous Coward · · Score: 0

    Totally agree. That was superlame.

  101. Re:I for one by Anonymous Coward · · Score: 0

    Goodness me this is atrocious. Come on, you can do better than that fucker.

  102. Re:Memory errors are RAMPANT--one every 90 minutes by Ancient+Devices+King · · Score: 1

    Do you realize just how small that error is? That's roughly one part in 4294967296 per 90 minutes. Even if you assume that the system takes up the entire 512mb of ram, the chances that that's going to hit something critical are minimal. If you start worrying about that small an error, you've got much bigger problems to worry about.

    --
    -"It seems like you're trying to exploit a security hole. Would you like help?"
  103. ECC cost by phliar · · Score: 1
    What I remember of my computer hardware classes (a long, long time ago), ECC memory is self-contained: the memory sub-system implements it, it's transparent from outside. But I see that for some reason, x86 motherboards are either designed for ECC or non-ECC RAM. WTF? Why should the motherboard care that the memory is very reliable?

    Or is the x86 motherboard design so crappy that the memory controller is actually on the motherboard, and the RAM sticks we buy are just the chips, no control? If that's the case, it's not just a question of ECC being "just a couple of dollars more"; I never see consumer motherboards advertising ECC support.

    --
    Unlimited growth == Cancer.
    1. Re:ECC cost by cubic6 · · Score: 1

      Memory controllers have been on the motherboard side for a long time, at least on x86. In fact, some of the recent chips have actually integrated them on to the processor. Having the memory controller on the RAM stick would make RAM sticks very much more expensive to produce, and the margins are already razor-thin.

      --
      Karma: Contrapositive
    2. Re:ECC cost by phliar · · Score: 1
      Memory controllers have been on the motherboard side for a long time, at least on x86. ... Having the memory controller on the RAM stick would make RAM sticks very much more expensive to produce, and the margins are already razor-thin.

      So ECC RAM is not just a question of "$3 more", then? I've never seen a $100 motherboard with ECC support -- only the "server" boards, which probably have a fatter margin as well.

      (I would love to have ECC. In fact when I first heard x86 systems didn't, I was shocked, shocked, I tell you!)

      --
      Unlimited growth == Cancer.
  104. Re:Memory errors are RAMPANT--one every 90 minutes by YU+Nicks+NE+Way · · Score: 1

    Priceless! I was trying to figure out how the hell this could possibly work, until I hit the last paragraph.

    Somebody mark the parent as the best troll of the year! (look at the name of the comment's submitter if you're wondering why I think it's a troll, not just a clever posting.)

  105. Re:Memory errors are RAMPANT--one every 90 minutes by ultranova · · Score: 1

    A thread runs in the background, often on a second CPU, continuously checking the program's data and code to ensure that the ECC data is valid. When an error is detected, it is logged and corrected if possible.

    When modifying data, a flag is set for that memory block that it has been altered; a new ECC value is calculated as soon thereafter as possible. (This is done automatically by setting the CPU to generate an exception when writing to a particular segment.

    So the program runs with the wrong values for a time. Any operations done between the last succesfull check and this check has to be undone and redone (because they could be tainted because of the wrong values). And if a memory error happens in the code of the checking/correcting thread, the program crashes anyway, because the recovery system has been damaged.

    Wouldn't it be easier and less error-prone to just restart the program when an error is detected ?

    It's a feature built into Intel processors and available through high-level calls in both Windows and Linux.)

    Is it available to normal (non-root) user processes under Linux ? What is this interface called ?

    I'm sure you remember the Java exploit from a couple of years back, where the security model was bypassed completely by blowing a hairdryer on the RAM until a byte code error was induced in very-carefully-constructed code. Software ECC is the kind of thing you need to do to mitigate those types of attacks.

    No, to defend against these types of attacks you need an elaborate an arcane defensive measure known as a locked door :).

    I'm reminded of all those stories I heard about machines behind firewall after firewall and password after password, which someone, dressed as a janitor, simply carried out of the building...

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  106. Re:Memory errors are RAMPANT--one every 90 minutes by Fweeky · · Score: 1

    I read somewhere that the typical bit error rate for normal non-ECC memory is one flip every 3 months or so. Sounds reasonable given the stability of my non-ECC systems.

    Certainly 90 minutes is a joke; an overnight memtest86 will easily show decent quality memory's a lot more stable than that.

  107. Might make MRAM *less* reliable than DRAM by Atario · · Score: 1

    Since there's no error correction going on, and no active refreshing going on, lots of small "pushes" could accumulate and cause the state of the MRAM bits to change more often than those of DRAM (which, at least, restore an almost-one to a one and an almost-zero to a zero on each refresh).

    Unless there's some physical mechanism in MRAM that accomplishes the same thing?

    --
    "A great democracy must be progressive or it will soon cease to be a great democracy." --Theodore Roosevelt
  108. MRAM instead of better programming? by MeatNoodle · · Score: 1

    How long before nonvolatile memory becomes the solution to crash-prone software rather than better programming?

    Errr.... Wouldn't non-volatile memory make life harder when programs crash? Say Windows wipes out on a computer with MRAM. Turning the machine off and then back on wouldn't erase the crashed image in memory, and you'd restore right back to the crashed state. Sounds like software (well, OS and drivers anyway) would have to be much more robust than they are today.

    P.

    --
    "That's exactly what I said, only different."
  109. Forget OS rebooting, the use is in data access by AmVidia+HQ · · Score: 1

    Right now data has to be kept on disk, and disk access is 1000x slower than RAM. If NVRAM comes at competitive price and reliability, it can mean a large difference in everyday desktop use (loading any application in millisecs), and ALL the difference in databases, where all data can be kept in memory, regardless of its size.

    The big difference is in how programs no longer needing to differentiate between slow disk storage and fast ram access, when you can have all the data in 1 quick cache.

    If you are afraid of programs or the OS losing stability after staying in RAM for a long time, then make a "stable snapshot" in NVRAM somewhere, and reload it when things get unstable. Almost instant "reboot".

    --
    VIVA1023.com | Political Fashion.
  110. Re:Memory errors are RAMPANT--one every 90 minutes by hippycow · · Score: 0
    That's still not a software bug.

    If you drop your computer in a swimming pool, the software will probably stop working correctly. Does that mean you need to go review and debug your code to find the "software bug" that caused the problem?

    Anyone who's had much experience with the Windows hibernate feature (especially the first year or so it was released) knows that a fresh batch of 0's and 1's on each boot works more consistently.

    "Memory errors are RAMPANT" -- Oh my gawd! How will I sleep tonight?

  111. Re:Memory errors are RAMPANT--one every 90 minutes by NigritudeUltramarine · · Score: 1

    Priceless! I was trying to figure out how the hell this could possibly work, until I hit the last paragraph.... Somebody mark the parent as the best troll of the year!

    Sorry I wasn't able to respond sooner (I really was asleep), but I didn't make that up.

    Here are some links about it the hairdryer attack.

    CNet News

    Some professor's lecture notes (Google Cache)

    It's quite real. If you deny that such attacks exist, you're living in a fantasy world.

  112. Re:Memory errors are RAMPANT--one every 90 minutes by NigritudeUltramarine · · Score: 1

    Wow.

    You really don't understand what a "bug" is, do you? You should pick up a nice technology dictionary some day when you get a chance.

    Well, that and perhaps get a bit of an additude adjustment.... Bugs can come from many places other than the original programmers.

  113. Re:Memory errors are RAMPANT--one every 90 minutes by Anonymous Coward · · Score: 0
    Non-ECC ram is probably rediculously high!

    I should ridicule you for that ridiculous spelling.
  114. It's a * loss because by Julian+Morrison · · Score: 1

    security loss:
    - passwords and sensitive data will persist in /proc/kcore indefinitely
    - powering down the machine will no longer prevent people snooping what you were doing beforehand
    - I encrypt my swap. It would be a bitch to have to encrypt most of my RAM as well.

    stability loss:
    - any sort of "instant on" would be vulnerable to "repeating the mistake"
    - any sort of "instant on" would be a virus writer's wet dream.
    - it's a whole lot quicker and easier for a runaway process to overwrite and erase all the nvram, than to overwrite all the data on the hard disk.

  115. Re:Memory errors are RAMPANT--one every 90 minutes by Anonymous Coward · · Score: 0

    And, yes, failures ARE detected, OR corrected.

    Damn. Looks like a bit flipped.

  116. Re:Memory errors are RAMPANT--one every 90 minutes by Anonymous Coward · · Score: 0

    That doesn't follow.

    memtest86 can't write to "all of your memory" at once. It just writes one word at a time, like any other program.

    The text you quote mentions that an adjacent word can be corrupted when a different one is written. True enough. That can happen on any single write. memtest86 checks to see if it happened. Non-test software does not, so you'll never know. Memory is rarely allocated so that you skip every other word to avoid errors in adjacent cells.

    The reason memtest86 does lots of writes is to make the intermittent error show up often enough that you might see it in a reasonable amount of time.

    Even an "idle" program (and OS) is continually updating a lot of RAM locations.

  117. ECC memory isn't the final solution ...! by quarkscat · · Score: 1

    ECC memory is good for detecting and correcting
    single bit errors only. A random cosmic ray
    traveling at near light speed can flip a bit
    in otherwise perfectly good memory. Even rad-
    hardened memory is not impervious to continued
    cosmic (or other) radiation. This MREM memory
    offers an improved operating environment for
    reliable computing, BUT until memory is designed
    to detect AND correct multiple bit errors (such
    as the use of Hamming Code in hardware), truly
    rock solid computing will not have arrived.

    Better memory hardware does NOT in any case
    guarantee better code -- the old axiom about
    GIGO (Garbage In == Garbage Out) still applies

  118. Hard Disk Cache by wwahammy · · Score: 1

    I think the first major use of MRAM would be in the hard disk cache. They're pretty small (2-8MB) so you wouldn't need much and they make a huge difference in your computer's speed BUT if the power goes out or your computer crashes completely you lose whatever's in it.(Not common but does happen and the situation can be severe). If it was non-volatile the computer just could finish the operation after it is restarted and the data wouldn't be corrupted or, at the very least, less likely to be corrupted.