Slashdot Mirror


Why Not Solid State Hard Drives?

I never quite thought I'd see this in my life time, but RAM is now cheaper when it comes to memory-per-unitofcurrency than hard drives. Of course, those of you who have noticed this have also wondered, quite reasonably, that it might be cheaper to start building Solid State Hard Drives entirely out of RAM, rather than using the standard ole platters. Is there anyone in the market who also has noticed this and is attempting to market a product that will fill this need? Remember this puppy from 2 years ago, and this story, mentioned a year ago? While the first one was a bit of a laugh, the second article does mention a limit to the lifetime of the current MO Hard Drives. Are we closing in on that limit, now? Update: 10/11 2a EDT by C :I apologize for not catching the erroneous statement above, earlier. What I had meant to say was that since RAM is at its cheapest point in price in recent years, not to say that it was cheaper per-unit-of-currency, which is absolutely false. Chalk this one up to too much creative writing in college, lack of sleep, and a long frustrating day. Thanks to brian@pongonova.net for pointing out that error.

waterlogged asks: "I was just wondering if anybody has heard of a cheap ram based network drive? Seems to me with the ram prices being at about US. $12.00 for 128 megs that someone hasn't developed a battery backup version of this to plug into a network or even a bus. A gig worth of 8ns seek time storage for $120 anyone? That would just about eliminate any wait in loading programs."

BigSlowTarget asks: "There are some previous articles on Slashdot about vendors selling solid state drives, but they all seem to be quite expensive - particularly given the slide in the cost of memory. Has anyone hacked together a solid state drive to take advantage of $60/GB memory prices? I'd really like to be able to boot and run at solid state speed without spending thousands."

Jah-Wren Ryel asks: "In case you haven't noticed, RAM is incredibly cheap, you can put a gigabyte of PC133 RAM into your machine for less than $60. A year ago, that would have cost more like $600. So now it is feasible for one to have a 10-15GB RAM disk, except for one thing - most motherboards won't support more than 2GB total (4 dimm slots x 512MB per dimm). It seems like it wouldn't be too hard to design a PCI card to hold 20-30 dimms and make that available through a hardware windowing scheme (like EMS/EMM back in the old 16-bit days). With the right drivers it could be used as a big RAM disk or for buffercache. Is there such a product out there? The closest I have seen are solid-state disks that sit on the other end of a scsi bus, are too expensive, and aren't anywhere near as fast as a PCI implementation could be."

So what technical details (and the issues of volatile data and price) may be preventing the construction of RAM based drives, and is there anything else that may be preventing some entrepreneurial soul from bringing such a thing to market?

183 of 652 comments (clear)

  1. Needs constant power by mutt+lynch · · Score: 3, Insightful

    You would still need a stable flow of juice to keep from losing everything in case of a blackout or something. I'll stick to the platters for now.

    --


    icksnay on hacking my boxsnay.
    1. Re:Needs constant power by Another+MacHack · · Score: 5, Funny

      If only there were some sort of device which could store electrical power for later use.

    2. Re:Needs constant power by Mirus+Nex · · Score: 2, Informative

      A long time ago, in computer years, the Apple //gs (still have one) had a couple of cards available for it that were "RAM drives". AIR, they had a rechargeable battery and kept the RAM refreshed while the power was off. This was way back when RAM was over $50/MB and I think they were limitted to 4MB or 8MB, but back then that would hold tons of pirated software. :) So, this idea is certainly not new...

    3. Re:Needs constant power by goodwid · · Score: 2, Interesting

      It shouldn't be that hard to rig up a UPS and a drive dump to store the data during periods of non use. So if you have 20Gb of solid state data, just have a set up that would back that up when it's not in use... so you still get the speed of the RAM but also have the reliability as well.

      --

      The net interprets censorship as damage and routes around it. -- John Gilmore
    4. Re:Needs constant power by stubear · · Score: 2, Interesting

      How about a standard Lithium Polymer rechargable battery? The battery would never need to be replaced, could be outfitted onto the solid state drives with little or no problems and could offer battery backup when the system is off or during a power outage.

      Computers could also be designed to bypass the hard drives when the system power is off. I doubt a hard drive would utilize much energy.

    5. Re:Needs constant power by benjaminbishop · · Score: 2, Interesting

      Actually, there are a number of ways to ensure that the data is non-volatile. Flash or battery backed RAM come to mind. Bitmicro (www.bitmicro.com) is a vendor that currently sells non-volatile flash based drives. I checked them out a little while ago, but found that it was a bit too pricey for me still.

      I'd suggest getting a smallish (1gb or so) flash drive for your windows/linux/amiga/whatever partition, and use some monstrous drive to store all your media files.

    6. Re:Needs constant power by DNS-and-BIND · · Score: 2

      Writing 30Gb data takes a while, even on the fastest bus.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    7. Re:Needs constant power by Jennifer+E.+Elaan · · Score: 2, Informative
      Actually, SRAM (static RAM, like the CMOS) is much faster, that's why it's used for on-die caches. It's also many times as big, so we get the nasty compromises of DRAM (dyanmic RAM, it loses it's data every ~60msec, so you constantly need to scan through and refresh it).

      Unfortunately, DRAM would be a really serious issue, since even a small (100K) chip can draw a good solid amp or two during a write or refresh operation (their power usage is very "spikey", meaning most memory chips have lots of big capacitors around them to handle it).

    8. Re:Needs constant power by dasunt · · Score: 2


      I was thinking something similar, but have a delayed write to the hard drive. After all, a lot of writes aren't permanant, and the trick would be to only archive the data to the hard drive after it has existed on the RAM drive for awhile.


      It needs a good hack. 1st one would be to mirror the hard drive in RAM. 2nd one would be the delayed write to the hard drive. Of course, with the delayed write, unexpected power failures would result in data loss.

  2. A long time coming by Slashdolt · · Score: 3, Funny

    I've been saying this for years. Eventually, we need to scrap the spinning platters. Unless I have a butt-load of MP3's and other things I don't really need, I can easily fit most of my stuff into 4GB or less.

    1. Re:A long time coming by srvivn21 · · Score: 2, Insightful


      Hopefully, this technology will still be made available to those of us who don't need a 100GB hard drive.


      Unfortunately, that is very unlikely due to economies of scale, and price compression. Take a look at hard drive prices. Try to find a 10GB hard drive these days, and you are likely going to pay more for it than for a 40GB drive.

      In the same line, look at the prices for currently manufactured drives, and processors. The price for the newest is astronomical. The price for older stuff drops, but not linearly. It slowly hits a plateau (it's nice that the whole curve seems to be lowering) currently near the $30 mark.

      There just isn't a market for "slow" (less than 600MHz) processors or "small" (less than 20GB) hard drives. While I really like the idea of an UDMA100 4GB drive, (solid state would be even better), there just isn't a viable market for such devices.

    2. Re:A long time coming by SnapShot · · Score: 5, Interesting

      You point is correct but the parent's point is correct as well. We may have 40GB drives, but we are only using a small amount at any given time. Using the strengths of RAM with the strengths of HD's we could see some really interesting hardware. It seems like the middle road (similar to what another poster mentioned) is to substancially boost the amount of RAM used as a disk cache. Add some pseudo-AI drivers and you end up with a situation like this.

      User starts Word. As the application is loading and initializing and as the user is working, the hard drive is automatically loading all dictionaries, the other Office programs, the equation editor, the charting program, the clip art, the help files, all .docs you've ever edited, all .txt files, local .html files into your 2 GB RAM buffer on the hard drive. You may never, ever use Word to edit html files, but since RAM is so cheap it doesn't matter.

      A complete directory of all files is also stored in the drive's RAM buffer. Searches become instananeous.

      As you save files, the saved files are mirrored back to the platter to ensure against power failures, but they are also saved in RAM (with a battery backup) to ensure against head crashes.

      Now that the hard drive has memory to burn (so to speak) it stops being a mere storage device and becomes a "autonomous storage unit" that has it's own CPU to assist the computer in it's search for information. Seagate, Maxtor, and all the other drive manufacturers who are about to declare banckrupcy start marketing "ASU : Storage for the 22nd Century" in partnership with the struggling memory companies (who would love to have another market for the slower / cheaper memory technologies).

      The technology companies are saved thanks to my idea (until, of course, we find out that Rambus actually owns the patent on ASU's and they start sueing everyone ;-)

      --
      Waltz, nymph, for quick jigs vex Bud.
    3. Re:A long time coming by Metrol · · Score: 3, Insightful

      While I really like the idea of an UDMA100 4GB drive, (solid state would be even better), there just isn't a viable market for such devices.

      That's only considering a total replacement of one technology for another. In the same way that hard drives didn't make tape drives obsolete I doubt that solid state would make something else less desirable. For example, a 4 Gig solid state drive would be plenty for the vast majority of users to load their software onto. Data could then go to the old platter style hard drive. With a combination of the two you would see some truly astounding system performance increases.

      The good news is that the Unix directory structure already provides a great deal of seperation between user data and the programs that access it. The bad news is that Windows does no such thing across the board. Whether you care about Windows or not, it is the OS that's driving the majority of the hardware market out there.

      I'm no fan of Apple, but they may be the only folks out there that might pull something like this off. Assuming OSX utilizes a similar seperation between software and data, they have the hardware and software ability to work something like this.

      --
      The line must be drawn here. This far. No further.
    4. Re:A long time coming by tmark · · Score: 2

      Now that the hard drive has memory to burn (so to speak) it stops being a mere storage device and becomes a "autonomous storage unit" that has it's own CPU to assist the computer in it's search for information.

      I don't understand why you would *want* your hard drive to do this. All this is work best done with 'real' RAM; i.e. one the application itself has access to. How is the drive supposed to know what it is supposed to cache/retrieve; and how is it supposed to know where it is supposed to find it ? Functionality like this belongs - with some limited exception - in the application itself. It only sometimes makes sense for this to happen in the OS; but I can not ever imagine when you would want your hard drive to govern how it uses what is essentially system RAM in the fashion you describe (ignoring special cases where you are buffering for hardware reasons).

    5. Re:A long time coming by Salamander · · Score: 2
      User starts Word. As the application is loading and initializing and as the user is working

      This has been tried, and doesn't actually work as well as you might think. The problem is that all of that prefetching fills the cache with unneeded blocks, to make room for which you had to evict other blocks that you actually might have had a use for. It's really the same problem that the VM system has right now in deciding which blocks to keep and which to throw away, except that when you try to do it at the drive end you have even less information to work with when making these decisions.

      The only case where this seems to work is when your available RAM exceeds your total (extended) working set, but at that point you're deriving such tiny marginal value from each additional block's worth of RAM that it's not even worth the low price you paid for that RAM. The principle of a "sweet spot" still applies.

      --
      Slashdot - News for Herds. Stuff that Splatters.
    6. Re:A long time coming by unitron · · Score: 2

      In Windows relying on things to be stored in places that make sense can often lead to severe disappointment.

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

    7. Re:A long time coming by mrogers · · Score: 2
      User starts Word. As the application is loading and initializing and as the user is working, the hard drive is automatically loading all dictionaries, the other Office programs, the equation editor, the charting program, the clip art, the help files, all .docs you've ever edited, all .txt files, local .html files into your 2 GB RAM buffer on the hard drive.

      Erm... isn't this what Office does now? (Pre-loading everything when Windows starts.) And isn't it something Slashdotters love to complain about, because it makes Office a memory hog?

      You may never, ever use Word to edit html files, but since RAM is so cheap it doesn't matter.

      God damn it man, my crusade to rid the world of bloat has nothing to do with the price of RAM! It's a religious issue!

  3. Solid state drives. by billn · · Score: 4, Informative

    (heh. oops.)

    Cenatek seems to be on a good track with these. They offer a PCI card with a handful of DIMM slots, a slap on rechargable battery panel, which holds enough power to run a connected hard drive of appropriate size which will dump the contents of what is essentially a RAM disk, in the event of a shutdown or power loss. A little spendy still, for consumer use, but to see something like this backend busy websites, or store database file structures would be pretty slick.

    --
    - billn
    1. Re:Solid state drives. by Telek · · Score: 4, Interesting

      Why would you bother with one of these?

      According to their website, sustained data transfer rate is 80-100MB/s (umm, WHY would it vary if it's all solid state?). Add to the fact that the PCI bus is limited at 133MB/s and there's more than just 1 device using the PCI bus (and a lot of them aren't conservative when it comes to bus usage)...

      Or, for 1/4 the price you can pack together 2x75GB drives in a raid 0 array, get 30x as much space AND get the same bandwidth.

      No, right now there's not much point to solid state drives. Iff (sorry, math hangover, If and Only If) hard drive prices were to stay the same, and memory prices were to fall by an order of magnitude (lets say 10x) THEN I could see there being a market for this. But you'd also need to use either PCI-64 (533MB/s+) or get some other designed bus to support the much higher throughputs.

      But then again this just begs the question, what do you need that much more speed for?

      To take advantage of RAMdisks, you pretty much need to have your computer on all the time, or in standby mode when you're not using it. At this point, what do you need much higher disk bandwidth for?

      Loading your mp3s or movies?

      Loading office in 2s instead of 6s?

      running your games (oh wait, that's CPU/GPU intensive not HD).

      Quite frankly I don't see the technology or the market right now to create solid state HDs.

      --

      If God gave us curiosity
    2. Re:Solid state drives. by Telek · · Score: 2, Insightful

      look at the stats idiot!

      80-100MB/s sustained data output.

      Which is what 2 or 3 HDs on a software controlled raid can give you for MUCH MUCH cheaper.

      --

      If God gave us curiosity
    3. Re:Solid state drives. by Cuthalion · · Score: 2, Insightful

      Or, for 1/4 the price you can pack together 2x75GB drives in a raid 0 array, get 30x as much space AND get the same bandwidth.

      That may be better for some applications. No amount of RAID magic though can reduce the latency though (seek time). So this might be good for some database apps, but a RAID would be better for streaming the data. Though, I can't think of very many apps that require a single 80MB/s stream.

      --
      Trees can't go dancing
      So do them a big favor
      Pretend dancing stinks!
    4. Re:Solid state drives. by Telek · · Score: 2

      Yes yes yes, I'm aware of the potential benefits

      What I was stating is that the Cenetek is pointless. If they offered something that had the speed of RAM, then yes it would be pointful. But at 80-100MB/sec maximum, hard drives are the far cheaper and easier solution.

      Also the device said DRAM (and not SDRAM), I dunno if that was an oversight or if they're actually using the older ram model on that board (which might explain the speed problem).

      --

      If God gave us curiosity
    5. Re:Solid state drives. by Telek · · Score: 3, Informative

      Latency and Access time, you id10t.

      That was uncalled for...

      I HAVE a 4 disk IDE raid that gives me 75-90MB/sec sustained performance. At peak it can hit just shy of 100MB/sec. 4x75GB IBM drives on a HPT 380 IDE Raid controller.

      SO I don't know where you're getting your "stats" from. I can also get 20MB/sec sustained transfer rate off my 40GB IBM drive that I have right here in my system, single drive, I just did a file transfer yesterday to proove the same point (a copy from one HD to another at 19.8MB/sec for a 450MB file). That wasn't optimal conditions. The files and free space on both drives were fragmented. Under "optimal" conditions I can get 32MB/sec raw read rate off the drive itself. Off each of the 75GB drives I can get 45MB/sec raw read rate.

      And the cenatek solution that was posted gave 80-100MB/sec and was also extremely expensive. Setting that up for 4GB would be the 2/3rds of the cost for setting up my 300GB raid 0 array. 4x1GB SDRAM (if it uses SDRAM, the info only said DRAM) modules is $500 according to pricewatch and the controller itself is unknown (I can't find any vendors selling it) but I'd assume to be around $100-$200 range). So say $600 for the 4GB ramdrive solution, $900 for the 4x75GB raid solution. So it's 50x more expensive (per MB) and the only thing that it gives me is less access time.

      And the "data sheet" (LOL!) reports that the rates (80-100MB/sec) is "thousands of times faster than standard hard drives" (exact quote)... So apparently they think that 80kb/sec is the usual read rate for a hard drive these days. Even in their actual breakdown they conpare "100,000 sector reads/writes per second compared to 5,000 to 6,000 I/Os per second for a standard disk drive". Oh, they're talking about FLOPPY DRIVES... Well OK then, yeah then it is thousands of times faster...

      --

      If God gave us curiosity
    6. Re:Solid state drives. by Telek · · Score: 2, Insightful

      I can't think of very many apps that require a single 80MB/s stream

      Neither can I, which is why you're not going to notice much of a difference by using a RAMdrive quite yet, and as I worked out it's actually 50x more expensive (per MB) than a 4x75GB HD + HPT 380 Raid controller solution, and the only benefit it gives is less latency.

      --

      If God gave us curiosity
    7. Re:Solid state drives. by Telek · · Score: 2

      I spend a great deal of my life waiting on compiles. That's why I want a RAM drive.

      As a test, make a ram drive and copy all of your files there to compile, and time it versus the hard drive.

      Hmm, not that much faster eh? Definitely not the 10-20x faster than you were expecting.

      I tried this before too and didn't get that big a speed difference. That's because it's mostly processor speed. Your disk cache will help you greatly on queing up the next files to compile while the processor is chugging, and keeping everything optimized on the hard drive will also cut down on your speed.

      But regardless. At 50x the price per MB for a 4GB ram drive versus a 4x75GB HD solution + HPT 380 raid controller, it's simply not worth it, except in very few cases.

      --

      If God gave us curiosity
    8. Re:Solid state drives. by pz · · Score: 2, Interesting
      You'd bother with one of these if you had multiple tens of GB of data which need to be quickly analyzed. Admittedly, that's a niche market, but one that definitely exists. For example, in my scientific work recording neural signals we will routinely be generating 100GB of data *per day* which will need to be analyzed and digested down to perhaps 100MB for archiving. While it would be nice to keep the original 100GB of data, the sheer volume of it, and the relatively low information density precludes that. We therefore snip out the interesting bits, perform various analyses and save only the results.


      A solid-state disk drive with, essentially, zero *seek* time makes this not just a more pleasant experience, but possible. (Okay, so that's an overstatement, we hadn't planned on using SS drives, but the idea does warrant examination!) Remember, there's data transfer rate as well as seek times to worry about, and, to the best of my knowledge, disk drives currently for sale do not max out the available transfer bandwidth. So, with a SS drive, we'd win on seek time and transfer rate, despite the various bus limitations.

      --

      Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
    9. Re:Solid state drives. by tcc · · Score: 5, Interesting

      --
      To take advantage of RAMdisks, you pretty much need to have your computer on all the time, or in standby mode when you're not using it. At this point, what do you need much higher disk bandwidth for?

      Loading your mp3s or movies?

      Loading office in 2s instead of 6s?

      running your games (oh wait, that's CPU/GPU intensive not HD).
      --

      FORGET ABOUT HOME USE, think a bit.

      There are limiting factors with hard drives, mainly LATENCY issues, this might not be a problem for you or any home users, but for some specific scenarios, it is, and a BIG one. I give you a specific case where I could benefit from such a system:

      Without going in too much details, I work with a lot of files, my workstation generates over 200,000+ files for a single simulation, no it can't be put in a database for now, it has to be accessed from different software with no database support, every other part of the software is optimised to know exactly which file to open, using the maximum of memory, cropping useless data, etc etc... everything is maximized to a more than good level. The only bottleneck I have in my system right now is the drive's latency issue, and beleive me, if I could go down from the milliseconds to nanoseconds or microseconds, it would be over a tenfold increase in speed and I wouldn't need 10 machines running in parralel to do the job in one day (which unfortunately I don't have :)), one machine could replace them 10 with only that little step up. Thing is I can't afford 10 machines and the drive subsystem, nor current SSD solutions.

      Most application are bandwidth hungry, but there are some stuff out there requiring LOW LATENCY, and heck, if there wasn't a need for that, you wouldn't see solid state drives for 60,000$ out there. There's a need, but sometimes you're limited by your R&D budget and you'd gladly take an emmerging technology or home-made stuff if it means saving 80% of the cost of the equivalent part, and increasing your effeciency by a factor 10.

      I'll see your answer "if you need it, and it slows down you r&d, buy it, for the sake of the company" sometimes it doesn't work like that for cashflow reasons and you have to work with what you can get in your specific budget, the issue here (and title of this forum) is about cheap storage that would have a low latency and High bandwidth solution (with loads of storage). I'm sure I am not the only one that would GLADLY grab a 30GB solid state drive for a fraction of what it would cost me with the current systems (which are way overpriced considering the price of ram right now).

      There's a need for Solid State, while I understand that the gap between a home user and a workstation/server class machine is blending more and more, it's not because a home user wouldn't benefit from such a device, that it's not needed for corporate or R&d levels. Current solutions wouldn't be selling for 50K$+ if there wasn't a need for them... heck, they wouldn't exist.

      --
      --- Metamoderating abusive downgraders since my 300th post.
    10. Re:Solid state drives. by mindstrm · · Score: 2

      Ummm... although these are neat....
      They are not 'offering' them. They don't even have them for sale yet.

      It's just a simple device.. probably costs too much... you can only add up to 4GB...

      I can see some practical uses of it.. but they are basically using marketspeak to sell junk.

    11. Re:Solid state drives. by InsaneGeek · · Score: 2, Troll

      You must be king idiot then

      I'd really like to see you get a sustained 100MB transfer rate for Oracle redo logs with 9 drives (triple the amount you suggest), you'll never, ever do it. You must be one of those who believe that because an IDE drive says it can do 34MB/sec, I can throw another one onto the same controller and I'll have 68MB/sec for all my apps.

      I'm sorry but you really need to go back to drive technology 101, 80MB is a limitation for direct attached SCSI, 100MB is a limitation for fibre channel (soon to be 200MB and then up to 1000MB once standards are more ironed out). Each of those can do a sustained 80MB over *ANY* transation, Oracle db, mailserver, newserver, etc. no matter where the write or read is you'll max out the pipe from your computer to the SSD before you'll max out the SSD. You'll overrun your drive spindles before you'll ever run out of channel speed on any non-streaming type of application, just how fast do you think you can get data to the system when the head is on the opposite side of the platter???

      For streaming apps, sure you could do what you are suggesting (you'll probably need more than 3 HD's though), but nobody has ever that had a clue has ever suggested a SSD for those apps.

      Idiots like you shouldn't talk out there ass so much...

    12. Re:Solid state drives. by Telek · · Score: 2

      When you're streaming sixteen channels at 24/96 from 16 different microphones, trust me, speed matters more than anything.

      Ok, thanks. That actually helps my point, because just about any package that needs 80MB/s transfer rates is sequential, not random, and therefore a RAM based drive is no more helpful than a nice IDE raid array.

      --

      If God gave us curiosity
    13. Re:Solid state drives. by Telek · · Score: 2

      As I was saying, a 3 or 4 disk RAID IDE array can easily max out the PCI bandwidth capabilities. That particular SS device gave 80-100MB/s of transfer, which you can get more of on an IDE raid array. The only advantage is the seek time, which is definitely a niche market. I'm not saying that there is no market, I'm just saying that most people thinking that it'll help them at home or doing compiling are probably misstaken.

      --

      If God gave us curiosity
    14. Re:Solid state drives. by Telek · · Score: 2

      I was thinking. What I was implying is that for the vast majority of uses these devices will NOT help people. It sounds like it would help you a lot, certainly, but for the people who would love to get one of these for home or think that their compiling would go faster if running from that particular ramdrive solution, they are most likely misstaken.

      The only benefit that that particular ramdrive solution gave over a much cheaper IDE raid solution was to allow for very low latency. And without a better bus design (perhaps PCI-64) ramdrives won't help you with bandwidth.

      If Mobo makers upped the capacity of motherboards to allow for 4/8/16+GB onboard then you could no only have blazingly fast access to all of the data in ram, but you can suspend to ram and not worry about needing to shutdown, and attach some sort of battery to it to keep it alive while the power is out. I think that would be a far more practical solution, and much more usefull (no small bus transfer limitation, limited to memory bus speeds only)

      --

      If God gave us curiosity
    15. Re:Solid state drives. by Telek · · Score: 3, Interesting

      Even 20% speed increase in compilation time is worth it for me...

      Would it be? How long does a compile take? Do you do anything else during compile time that would take away time from the other parts of your day (like, oh, reading slashdot ;P)

      My full compiles take about 10 minutes for my module, and I do them maybe 5 times a day, max 10. Saving 2 minutes per compile will save me 10-20 minutes a day, which is nothing. I also do many spot compiles of individual files which take very little time at all.

      And during those 10 minutes I read my slashdot, I go to the can, I gab with some coworkers and impact their performance, I surf the web, I gab with my boss, I keep happy. I'm very HAPPY to be given a good excuse for many 10 minute breaks a day, I dunno about you =)

      --

      If God gave us curiosity
    16. Re:Solid state drives. by Telek · · Score: 4, Insightful

      You must be king idiot then
      I'm sorry but you really need to go back to drive technology 101
      Idiots like you shouldn't talk out there ass so much...
      You must be one of those who

      I'd call you stupid names back in return, but I don't stoop that low. Anybody who needs to do that (a) needs a lot more fiber in their diet and (b) needs to lighten up.

      I HAVE a 4x75GB IDE RAID 0 array, and can get a max of 98MB/sec read off of it, and a good 75MB/sec sustained. Off of a single drive I can get 45MB/sec max, 25MB/sec sustained.

      And I was implying that there are very few applications that need the use of that specific RAM disk over a much cheaper IDE raid array. If you had 4GB RAM on the mainboard, or 8GB or 16, then you would see a few more apps that would benefit from that performance. However just about any home user, and the vast majority of corporate users wouldn't benefit one bit from the use of that. There are very few uses that would benefit from a sustained 90MB/sec, however the very low latency is a big help.

      So I wasn't "talking out of my ass". Go shove your nasty attitude up someone elses ass. Like we don't have enough problems to stress over as it is. Lighten up.

      --

      If God gave us curiosity
    17. Re:Solid state drives. by hopews · · Score: 3, Informative

      The issue fixed with solid state disks are rotational latency and seek latency. When faced with a heavy random seek load, platter based drives waste immense amounts of time waiting for either the head, or the disk to be in the correct position to read data. Combined, this takes about 12 ms on a good IDE drive. By contrast, "finding" the correct spot on a solid state disk takes about 10 ns. Thus a random seek pattern on a solid state drive should run about 1,000 times faster. This is the sort of load placed by heavy use of database servers. Slashdot, for instance would benefit from this. Your quake game, would not as most of the reads would be sequential, not random.

      Check out Storage Review to see some i/o performance of platter based storage.

    18. Re:Solid state drives. by Xerithane · · Score: 2
      I'd call you stupid names back in return, but I don't stoop that low
      No... of course you don't.

      Thanks for the chuckle.

      --
      Dacels Jewelers can't be trusted.
    19. Re:Solid state drives. by Telek · · Score: 2

      For your information: I am not using it "incorrectly". If I were living 200 years ago then I would be, however since I am living in the year 2001, this is the correct usage.

      You forget that meanings of words and phrases change over time.

      The New Oxford Dictionary of English, for example, says it is "widely accepted in modern standard English".

      And at least have the courage to post as a real user next time.

      --

      If God gave us curiosity
    20. Re:Solid state drives. by Telek · · Score: 2

      If you've got something wrong with what I said, then quote it and state your displeasure.

      So, as they so humbly say, put up or shut up. Also, next time at least have the courage to post as a real user.

      --

      If God gave us curiosity
    21. Re:Solid state drives. by Telek · · Score: 2

      and you're apparently not reading my comments...

      I said numerous times that the only advantage is latency, and it's not going to speed up someone's game of quake or running their office applications or reading slashdot. There are very limited uses to solid state devices right now that warrant the price

      Am I clear this time? Good.

      --

      If God gave us curiosity
    22. Re:Solid state drives. by Telek · · Score: 2

      I'd call you stupid names back in return, but I don't stoop that low
      No... of course you don't. [slashdot.org]
      Thanks for the chuckle.


      Maybe I did that because of this comment, which was the parent to the one that you quoted.

      Thanks for the chuckle.

      --

      If God gave us curiosity
    23. Re:Solid state drives. by Telek · · Score: 2

      I don't think that is the case because of things like disk caches. While the CPU is busy computing the graphics for your level you can easily load up whatever portions of the level that you need to into RAM at the same time, so I'm not sure that this is much of an issue.

      --

      If God gave us curiosity
    24. Re:Solid state drives. by Telek · · Score: 2

      Telek, just shut the fuck up.

      Hey that's a great idea. When you can't win your argument by logic (or at least by talking about the same bloody thing that your opponent is talking about), just swear at him. You'll win that way every time.

      --

      If God gave us curiosity
  4. If it's DRAM by sulli · · Score: 2
    won't a loss of power wipe out all of your data? I remember that you could create a RAM disk on Macs many years ago, and it was kinda cool, until you realized that it would disappear with the inevitable "bomb" hard crash.

    Okay, add a UPS and all, but wouldn't this still be much less stable than a HD that you can pull out and ship across the country without it losing data?

    --

    sulli
    RTFJ.
    1. Re:If it's DRAM by rho · · Score: 2

      The biggest use of RAM drives on Macs were for Powerbook users. With a lightweight word processor (Word 5 *cough*) and a lightweight System folder, you could spin down your hard drive, dim the screen, and get gobs of battery time out of those old machines, and Oh! the blissful silence!

      You'd just want to save your files to the hard drive every now and then to prevent Murphy from visiting.

      --
      Potato chips are a by-yourself food.
    2. Re:If it's DRAM by Telek · · Score: 2

      hehehe I remember when I got 24MB of ram in my 486 dx2/66. It was so cool to be able to make a 16mb ramdisk and play Doom out of ram entirely =P

      --

      If God gave us curiosity
  5. RAM Drives. by Gedvondur · · Score: 5, Interesting

    RAM drives are a great idea, the problem is the IDE or SCSI bus. Seek times and retriveal times can be greatly reduced, but the total bandwidth is still a limitation.

    Seagate had developed years ago a standard called IPI, I think. It was for the 30 and 40 megabyte RAM drives that had developed. I know it never took off, but it was specificlly for static RAM drives.

    What would be really cool, would be RAM storage with an Infiniband interface. Its possible to use it for storage or for regular memory.

    1. Re:RAM Drives. by Mr+Z · · Score: 5, Interesting

      The main performance benefit of a RAID is in reducing the impact of seek time on overall throughput. You pay a little extra in transaction overhead to send commands to multiple drives (instead of a single drive) to gain the dual benefits of cutting the average cost of a seek down, and increasing your linear access bandwidth. (In other words, you do seeks 1/N as often, and your bandwidth for a linear read within a track is N times what it would be for 1 drive, for a RAID with N drives. At least, this is true for striping.)

      With a RAM disk, the cost of seeking is zero. Also, the bandwidth of the RAM already exceeds the available bandwidth of the drive cable. So, if you were to RAID your RAM drives, you'd still have the performance penalty of the additional overhead, but no gain due to hiding seeks or striping your bandwidth. The result would be a net loss in performance.

      Now, what might be interesting is a mirrored RAID, where one side of the mirror was a physical HD, and the other was RAM. Modify the RAID software to send all reads to the RAM drive by default. Ta-da! Instant hardware-backed RAM drive! Performance would be lower than a pure RAM drive, but you wouldn't need to do anything unusual to make the RAM's contents persistent. A power loss looks like a drive failure -- just replicate the other drive back to the RAM.

      --Joe
    2. Re:RAM Drives. by SubtleNuance · · Score: 2, Funny

      What about running the device over USB or IEE1394?

    3. Re:RAM Drives. by J.+Random+Software · · Score: 2, Informative

      Solid-state seeking has a cost, though much smaller (even relative to linear bursts) than moving parts. DRAM is arranged in a grid, but keeping each cell ready for instant access would be prohibitively expensive in space and power. Instead, each cell maintains a tiny charge, and each row and column has a sense amplifier to detect it that takes a little time to ready for use. The memory controller assumes you'll read columns sequentially--if you don't, you send a new column number and then wait CAS (column access strobe) latency (2~3 clocks) before data is available. Switching rows is even more expensive--you have to wait for both RAS and CAS. Allegedly the hit for truly random access to RDRAM is even worse, only partly because of the narrow bus.

    4. Re:RAM Drives. by Sloppy · · Score: 2

      How's that any different than just having a really big (disk-sized) disk cache?

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    5. Re:RAM Drives. by rnicey · · Score: 2, Interesting

      Of course a really good RAID controller has chunks of RAM doing just this. I've got one in the next office and it kicks butt. These have been around for ages, but of course the cost is the main barrier.

      It's interesting that the article talks of the wonder of RAM prices and can we do away with HDD. I'm rather more amazed at the engineering of HDD and the fact that you can get 100GB+ in something you can fit in your pocket. As soon as they come up with some mechanism for removing seek time (lasers and mirrors instead of metal arms for example) you might be wondering if it's possible to replace your RAM entirely with a HDD ;-)

  6. Huh? by BMazurek · · Score: 4, Insightful
    RAM is now cheaper when it comes to memory-per-unitofcurrency than hard drives

    Huh? Unless I'm completely out to lunch, I don't see this....

    Is my math wrong, or is Cliffs?

    1. Re:Huh? by jtdubs · · Score: 5, Informative

      You are right. Cliff is wrong.

      Given his figure of 128MB for $12, that's 10.66MB per dollar.

      From western-digital.com I can get a 40GB 7200RPM UATA/100 caviar harddrive for $117.00. That's 341.88MB per dollar.

      This puts harddrives into the lead by a factor of 32. So, until it's at the point where 128MB of RAM costs $0.375, harddrives still have the lead.

      Justin Dubs

    2. Re:Huh? by Anonymous Coward · · Score: 3, Funny

      Fool! All you have done is made everyone agree that your comment is worthy of being moderated up! You need to actually tell the moderators what to do, like this:

      This comment will be ranked +3, Funny.

    3. Re:Huh? by Paul+Komarek · · Score: 2

      That was beautiful, from so many angles.

      -Paul Komarek

    4. Re:Huh? by markmoss · · Score: 2

      Yeah, I wonder if Cliff mixed up the M's and G's.

      There is one way in which RAM can be cheaper. A small hard drive costs almost as much to make as a big one (you still need the spindle motor & controller, the head movement coil & controller, the case, and the IDE or SCSI interface). So you are probably never going to see hard drives retailing for under $100 except when someone's unloading obsolete drives at a loss. But you can certainly buy less than $100 worth of RAM, and if you don't use bloatware you can now do quite a lot in it.

      The other issue is that RAM tends to be volatile, and you've got to have some sort of non-volatile storage. In solid-state, the choices are battery-backed SRAM (several times as expensive as *DRAM, plus the battery), Flash (about the same as SRAM, with slow and tricky write algorithms), or EEPROM (much more expensive unless you only need a few bytes). There are several other technologies in development, but not entirely ready yet. So, if you want to replace your HD with RAM right now, you either pay a lot more than you'd expect from PC memory prices, or you still have some sort of spinning-platter drive. How about a CD-R/W to boot up and load the RAM disk?

  7. Ummm CMOS? by Slashdolt · · Score: 2

    How many times has your CMOS been wiped out? Sure it happens once in awhile, but that doesn't really have any safeguards. Keeping juice flowing into RAM shouldn't really take too much, but you wouldn't want to let it sit on a shelf for very long.

    1. Re:Ummm CMOS? by suwain_2 · · Score: 4, Informative

      Your CMOS is something different, actually. Most computers use "DRAM", which needs to be "refreshed" often, or it'll "lose it's charge"... ROMish stuff is SRAM, which doesn't need the stupid refreshes... But it's more expensive, so a a couple gigs of SRAM is sorta out of the question. :(

      --
      ________________________________________________
      suwain_2 :: quality slashdot p
    2. Re:Ummm CMOS? by wbattestilli · · Score: 3, Informative

      CMOS only consumes power on state changes. DRAM needs to be refreshed every few ms. Thus, the battery power required for DRAM would be much greater than that used to hold you CMOS settings in BIOS.

  8. Cenatek by [amorphis] · · Score: 4, Informative

    Cenatek may make exactly what you're looking for. It's a PCI card, and uses standard SDRAM sticks.

    From their site:
    The Rocket Drive stores data in memory modules (standard dynamic random access memory, or DRAM) rather than on magnetic media.

    1. Re:Cenatek by ivan256 · · Score: 2

      It also says that their device can support sustained transfer rates of 100MB/sec and that it's "thousands of times faster" than disks. With 3 striped disks over a 2Gb Fibre Channel link I can get 180MB/sec sustained. There is a huge difference between twice as fast and thousands of times as fast. I doubt that even their seek times are more then 10s of times as fast. The seek times may even be slower if you restrict your hard disk to reads and writes on the outer 4 GB of the platters on a 15,000rpm drive. Considering that harddrives are a proven technology, and hot swapable, and expandable to the terrabyte range, I think I'll stick with the disks.

      Maybe they are comparing it to floppy disks?

  9. The illegal use potential by thryllkill · · Score: 4, Funny

    L337 script kiddies would no longer have to worry about their Hard Drives telling the tale of all of their l337 ownz3r!ngs. As soon as the feds show up yank the plug.

    This would also work for War3z fiends. *again, yanks plug* "What do you mean piracy, I don't even have an OS on there."

    Seriously, I think it would only be useful if you could couple it with a RAID-like (I know it wouldn't be true RAID) system so if the power for whatever reason (Power outage, UPS goes bad, battery dies) you info wuold still be there, maybe a RAM-drive that does nightly/hourly back ups...

    --

    Note to self: No more arguing with the faithful.

    1. Re:The illegal use potential by ktakki · · Score: 2

      Two words: RAM remanence.

      k.

      --
      "In spite of everything, I still believe that people are really good at heart." - Anne Frank
    2. Re:The illegal use potential by heliocentric · · Score: 2

      Seriously, I think it would only be useful if you could couple it with a RAID-like (I know it wouldn't be true RAID) system so if the power for whatever reason (Power outage, UPS goes bad, battery dies) you info wuold still be there, maybe a RAM-drive that does nightly/hourly back ups...

      Why not just make a 40GB HD with 40GB cache? When an access is made on the same data already accessed it would just be found in the cache on the device, and (depending on your write-through, etc.. technique) this should be the same as a platter based divice in "RAID" with a RAM based device. You would have the same lag at initial load as the platter based device but your load time from that point on should only decrease. The data on the HD cache should be able to remained cached following the system soft-reboot, and possibly with a switch on the side, remain during a hard-reboot (useful for if you want to change the sound card and don't mind the pennies worth of electricity used) or turned OFF for when you go on vacation and there is no need...

      Heck, I'm sure you could get a nice cache hit ratio with only 10GB of cache on the 40GB HD. Those of you with 40 gigers, think about how much of that data is just mp3s and iso's and how much is OS, browser, etc...

      --
      Wheeeee
    3. Re:The illegal use potential by ktakki · · Score: 2

      Not a problem.

      To begin with, analysis is very difficult.


      But not impossible.


      Instead of removing power when you hit your panic button you start a series of RAM tests. Begin with multiple simple overwrites of 0, F, 5, A and then move on to walking 1's and walking 0's and pseudorandom data.


      Unless the first thing the SWAT team does before kicking down the door is to cut the power to your home or office. Unless that UPS doesn't work as well as you thought it would. Unless you're not there to press the panic button.

      I really didn't think data could be recovered from DRAM. But five minutes with Google disabused me of that illusion. And that's based on non-classified information. Who knows what they (there is no they) can do.

      If they want it bad enough, they'll find a way to get it.

      k.
      --
      "In spite of everything, I still believe that people are really good at heart." - Anne Frank
    4. Re:The illegal use potential by WNight · · Score: 3, Interesting

      This can be done, in a usable way, with a steganographic filesystem (one that doesn't just encrypt the files, but encrypts everything, so you can't tell if there are files (or a partition table, etc)).

      The other (slightly less secure) way is to use a network filesystem for storage, of encrypted files, and decrypt the files in memory on the diskless desktop computer as you were using them. That way the decrypted files couldn't be written out in swap, or any of the other common problems. Once the power was turned off, it'd all be gone. But unlike most systems, the decryption would all be done locally, preventing clear-text from ever being transmitted.

      Ideally your BIOS's POST routines would involve multiple writes to RAM, of patterns and psuedo-random data. So you'd just hit RESET and it'd perform a thorough wipe. (Theoretically data can be recovered from RAM once the computer is off.)

  10. New Math? by MacGabhain · · Score: 2, Redundant

    $20 gets you about 256 MB of ram. $200 gets you about 75,000 MB of HD space. Ten times the price gets you 300 times the MBs. What are you smoking, and can you give some of it to my credit card companies?

    1. Re:New Math? by fmaxwell · · Score: 2

      Not only that, but the prices are for cheapo RAM with no compatibility guarantee. If you buy from your OEM or anything with a compatibility guarantee for specific models it'll cost more.

      I have seen countless cases of generic, cheap RAM causing problems. I know screwdriver shops that got a bad reputation just due to the RAM they used (boxed Intel CPUs and Asus motherboards are not inherently unstable -- unless equipped with poor-quality RAM).

      I just pay more and order from www.crucial.com (which is a subsidiary of Micron). The frustration caused by system lockups, crashes, etc. means that paying $80 for top-quality RAM is a lot smarter than paying $40 for something that might work.

    2. Re:New Math? by mj6798 · · Score: 2
      You are better off putting the memory into your computer and using your operating system to cache data--that way, the memory is used where it is needed most.

      Of course, if you are hitting that dreaded 4 Gbyte limit, you can't do that (how could they have been so stupid to design a chip that could only address 4 Gbytes :-).

    3. Re:New Math? by bughunter · · Score: 2

      Not only that, but commercial RAM for desktop computers is "dynamic" RAM, meaning that as soon as the power goes out, POOF! No more data.

      So you need to add the cost of a regular HD anyway, as a backup archive.

      Well, gee, if you already have a regular HD, then your RAM drive doesn't need to be as big -- you can just page in the parts of memory that you need.

      Hey, wait a minute... they already do that. It's called a cache.

      So that option tree has already been explored to it's optimal solution.

      QED.

      --
      I can see the fnords!
    4. Re:New Math? by DNS-and-BIND · · Score: 2

      I paid $100 for two 256M sticks of RAM from crucial.com, and my Athlon 1.2GHz still crashes all the time. Shrug.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    5. Re:New Math? by selectspec · · Score: 2

      Yes, there is a new math. It's called Slashdalgerbra. Slashalgerbra has unique properties (mostly that are not inline with reality). When applied to accounting, Slashdalgerbra turns billions in loses into profits. When applied to software development, Slashalgerbra turns no intellectual property into patents and patents into public domain! When applied to age, Slashalgerbra always returns 13 years old. So of course with Slashalgerbra RAM is cheaper than HardDisk!

      --

      Someone you trust is one of us.

    6. Re:New Math? by penguinboy · · Score: 2

      It's also important to remember that, with the manufactoring processes used to build today's memory chips, several GB of RAM takes up a considerable amount of space - probably more than can be spared on the PCBs of today's hard drives.

    7. Re:New Math? by fmaxwell · · Score: 2

      I paid $100 for two 256M sticks of RAM from crucial.com, and my Athlon 1.2GHz still crashes all the time. Shrug.

      If RAM alone could eliminate all system crashes, then Microsoft could just toss in a couple of sticks with each copy of Windows. As I am sure you know, there are lots of possible reasons for system instability and flaky RAM is only one possible cause. Other causes can range from the software/OS running on the system to heat problems to noisy (electrically speaking) power supplies. Sadly, there's no magic bullet, but you can at least feel pretty confident that the RAM is not to blame and move on to other theories.

  11. Ram drives, nothing new by ackthpt · · Score: 3, Interesting

    We had a Megastore (core memory!) on a PDP11/45 (which was used as the swapping drive, hence upping the category to 11/50, IIRC) back in the 70's. My Nikon Coolpix uses flashram as a formatted dist, something I'm certain other's have noticed. Flashram is able to store and retain with the power off, but doesn't appear to transfer very fast. Using SDRAM would be fast, but only so long as: A) you have a constant source of current B) you don't test/clear on rebooting the CPU. Certainly old ideas, but as long as you can set up a big ramdisk in your OS and put your large temp/workfiles there, do it.

    --

    A feeling of having made the same mistake before: Deja Foobar
    1. Re:Ram drives, nothing new by ackthpt · · Score: 2

      Memory doesn't require a CPU, just support circuitry. Speed isn't an issue, as even our old core "disk" from the 70's would blow the doors off the fastest hard drive of today in terms of seek, read and write, since it has not mechanical latency. The same freedom would apply to a RAM disk, particularly made up of static or dynamic RAM. Flash and Bubble memory are just plain slow, also IIRC Flash can only be used so many times before it degrades. I'm pretty sure I've reused some areas of hard disks far in excess of the expected life span of Flash.

      --

      A feeling of having made the same mistake before: Deja Foobar
  12. it would have to be SRAM or Flash ROM...... by the_2nd_coming · · Score: 2

    or else it would lose all data if the power goes out. SRAM and Flash ROM are _MUCH_ more expencive per MB that a harddrive is and will most likly stay that way.....for god sake, a 64 MB flash card for your digital camera is $50-$70 can you imagine the cost of a 100GB flash drive?

    --



    I am the Alpha and the Omega-3
    1. Re:it would have to be SRAM or Flash ROM...... by the_2nd_coming · · Score: 2

      actualy, the data is not lost when the poer goes out, it is lost when poer is turned back on because the BIOS resets the flip-flops. all you need to do it have the firmware on the device not reset the flip-flops and your golden.

      --



      I am the Alpha and the Omega-3
    2. Re:it would have to be SRAM or Flash ROM...... by Old+Wolf · · Score: 3, Insightful

      Faster? Flash is hideously slow for random access, because it's impossible to set a bit to '1' without setting the whole 16k chunk (or whatever segment size you have) to all 1s

  13. Huh? by Reality+Master+101 · · Score: 5, Informative

    RAM is now cheaper when it comes to memory-per-unitofcurrency than hard drives.

    According to pricewatch, a 40 gig hard drive is $78. Let's say $120 for a good one. That makes RAM 20 times more expensive, at $60/gig.

    It's still really cheap, but let's not get crazy. :)

    --
    Sometimes it's best to just let stupid people be stupid.
  14. Linux is good at that... by jmv · · Score: 3, Interesting

    Can't comment for other OS, but Linux tends to be pretty good at using all the RAM you've got to cache disk data. Even though I rarely use more than 256 MB, upgrading to 768 MB made a significant performance improvement for me, as Linux quickly fill the remaining 512 MB with disk cache, without me bothering with setting up a ramdrive.

    1. Re:Linux is good at that... by WNight · · Score: 2

      Any modern OS should be fairly good at analysing usage and keeping the important things in memory. You're almost always better of just tossing in more RAM and letting it run.

      If you anticipate wanting to load something (Q3 maybe) you could have a login script that opened the file and read a few bytes every 8k or so, to make sure it got loaded into cache before you wanted to use it.

      For all but the most extreme things, RAM disks cause problems in the extreme cases. Let's say you have a 64MB RAM disk and 192MB of RAM left over. When you've got RAM left, this is fine, when you run out, the OS has to do a couple of things.

      1) Pretend it's only got 192MB - This means it'll thrash much sooner than it needs, negating any speed benefits.

      2) Swap out the RAM disk - This is just silly, but can happen. Again, no speed benefits, but less thrashing.

      2.5) Drop data from the RAM Disk when it duplicates HD data, restore it later. This is hard to do because the RAM disk is a special case for the MM to deal with, and negates pretty well all the speed advantage.

      However, if you'd just let the OS cache the data, it would still be there, until all RAM was used, at which point you're thrashing anyways and not going to notice the speed from the RAM Disk.

      If you can, you should find a way to ask the cache to keep certain files in memory, like the sticky bit. This suggestion lets it do what needs to be done, but gives it help in deciding which data goes, when something has to.

      The less nice way, but the only way on some systems, is to run a cron job which performs small reads from the file, using it often will convince the cache to keep it in memory except as a last resort.

      But yes, this boils down to "Let the OS do it" on decent OSes, and Linux is capable of this.

      The only exception is when you know (better than the OS) the important function of the computer, and every millisecond of latency counts in getting it working. For instance, if you were using your desktop OS to run anti-missile defenses, you might want the critical files in a RAM disk... Unless of course, the whole OS would slow down as a result... Filesystem tuning can be a black art.

  15. How about integrated buffers? by Quixadhal · · Score: 5, Interesting

    The problem of how to maintain power to all that RAM indefinately is still pretty tricky, but how about this idea. Why not put enough SDRAM on your hard drive to buffer the whole thing? Whenever you read anything off the platters, hold it in RAM, and whenever anything is written, page it back to disk as usual. Thus as you use your system, the speed will continue to improve (up to a point) without tying up system RAM.

    1. Re:How about integrated buffers? by benedict · · Score: 2

      Why put your cache on the other end of a slow IDE or SCSI bus from your CPU when you could put it on a fast system bus?

      --
      Ben "You have your mind on computers, it seems."
    2. Re:How about integrated buffers? by arglesnaf · · Score: 2, Funny

      I can't believe this was modded interesting. (Not because the poster didn't know, but that the moderator got away with it as well) (Then again I only knew this from an OS design course I took... =))

      Don't we sync disks in Linux/BSD/Unix before shutting down or unmounting a disk to flush the buffers?

      There is even an NT resource kit utility that causes these buffers to be flushed as well.

      The AT&T System V manuals describe a table to indicate what was in the buffers to insure files didn't get out of sync.

      Welcome to the technology of the late 70's... =)

    3. Re:How about integrated buffers? by Paul+Komarek · · Score: 2

      I'd be interested from a large memory point of view, something like a fast swapfile. Another idea would be to use such a device for machines that NFS mount their root directory; use cheap slow ram to act like the disk drive they don't have, in sizes that the memory bus can't address, and which generate little heat and *no* noise. Coupled with an air-cooled cpu and cool graphics card, this *sounds* really nice.

      -Paul Komarek

  16. Size does matter... by weez75 · · Score: 3, Insightful

    Imagine the size/number of boards that would be needed to get 80 GB of storage. It may be quicker but engineering something that is feasible would quickly drive the cost up so that it wouldn't be that cheap. Further, the cost to modify existing controller technology or making a RAM drive fit the current controllers available. Then there's all kinds of other technical issues like power.

    --
    Of course we torture people, we need the information --Gen. Pinochet
  17. Ramdrives Cheaper to Make In Software by EXTomar · · Score: 2

    If you ever played with a system with enough ram to support mounting a ramdrive on /tmp(and soft link to /usr/tmp etc...Solaris directly maps /tmp into virtual memory/swap??) you see a huge speed up increase for some takes that require generating temporary files.

    If there is such a huge speed up why not make devices that act like drives that are really memory? Becuase the software has already been written (ramdrive drivers) and it is faster and cheaper than implimenting a completely seperate piece of hardware and driver.
    Also consider the fact that you would have not only create hardware to plug into the SCIS/IDE system, the SCSI and IDE channel bandwidths aren't nearly as good as straight memory. Plus it is nice not to eat sometimes crowded cases with another piece of hardware.

    1. Re:Ramdrives Cheaper to Make In Software by mindstrm · · Score: 2

      So what you need is a PCI card or something that you can add a LOT of dimms to.
      You use it as a drive, and set it as your swap (and perhaps /tmp, etc) to gain a speedup.

      A better solution would be to have motherboards that can take many, many dimms on the main bus... but.

  18. Recovery by Darth+RadaR · · Score: 3, Interesting

    I think that you might need a RAID (or RAIM- M == memory :) for RAM in case one of those dimms decides to die on you. Buggered up platters can be rescued in some cases, but if RAM dies, there's no recovery.

    --
    /*drunk.. fix later*/
  19. Re:Sorry, you must mean by susano_otter · · Score: 3, Informative

    Argh. Forgot to preview. Here's the guys you mean: http://www.soliddata.com/

    --

    Any sufficiently well-organized community is indistinguishable from Government.

  20. flash drives by frknfrk · · Score: 3, Interesting

    i have been very pleased with my sandisk flashdrives. basically they are IDE-interface drives with flash memory instead of spinning platters. 0 ms seek time is nice, so is -silent- and -very very low power- storage. not to mention if you don't have to treat it like an egg.

    i've used both the flashdrive from sandisk, and the IDE flash drives from simpletech.

    the sandisk flashdrives have sizes from very small (4 MB) to big enough for your MP3s (2 GB). of course they get expensive at the high end :) best things about them are (1) can get them semi-cheap from ebay and (2) standard IDE interface.

    -sam
    --
    The REAL sam_at_caveman_dot_org is user ID 13833.
    1. Re:flash drives by frknfrk · · Score: 2

      check out the sites i linked to (if not /.ed). all kinds of technical specs, etc. also, you don't really 'flash' drives like this - you are probably thinking of CMOS or write-only images, etc. these are full-fledged read-write ide drives. i run bsd and linux servers on them. i suppose you could run any OS you wanted, as i said they are just IDE drives with flash memory inside instead of spinning magnetic platters.

      --
      The REAL sam_at_caveman_dot_org is user ID 13833.
    2. Re:flash drives by jandrese · · Score: 3, Informative
      Flash memory has a few disadvantages:
      1. It is slow to write to.
      2. It's fairly slow to read, although much better than the writes
      3. It tends to wear out after only a few tens of thousands of writes. Even the fancy new adaptors that spread writes out across the entire memory space get bitten by this
      4. It's more expensive than RAM (quite a bit more currently, but that may be an economy of scale).
      5. Most of them use PIO0 for access (at least the ones I've seen, some of them may support DMA, but I've never seen them). This means your processor has to spend a lot of time handling disk reads and writes. This is purely an engineering problem at the moment that would go away if anybody really tried to sell these as HD replacements, but it is still a problem for people using them today.

      I hope this was helpful.
      --

      I read the internet for the articles.
  21. MO? by pete-classic · · Score: 2

    I assume MO here means magneto-optical.

    Who the hell has an MO hard drive? MO WORM drives used to be pretty popular . . .

    Hm.

    -Peter

  22. Re:Not a problem by smallpaul · · Score: 5, Insightful

    Given the plummeting price of high density/small footprint hard drives, you could have both the volatile drive and the nonvolatile drive in a single low price unit, with backup to/recovery from the nonvolatile drive occuring automatically on startup and shutdown.

    It needs to be more often than startup/shutdown! Many of us don't shutdown for weeks at a time. You would want it to continually copy things to the disk when there is idle time. But then you're essentially using the RAM as a really big disk cache which is where we are already today.

    As I read the article, the whole point is to shift to RAM and save money at the same time. If you're buying the hard disk anyhow then you're shifting to RAM but not saving any money. And you may not be improving performance much over a massive RAM cache either. So I find it hard to be enthusiastic about this idea of backing up the RAM to hard disk.

  23. ATTO SiliconDisk by DeeKayWon · · Score: 3, Informative

    I'll be damned if I can find anything at ATTO's website, but they used to make the SiliconDisk II, essentially a SCSI hard drive made completely of DRAM (yes, it has power outage protection).

    1. Re:ATTO SiliconDisk by levendis · · Score: 2

      It was discontinued about a year ago.

      With hard drive speeds where they are nowadays, there's really no point to RAM disks, except in very specialize high-end applications (i.e. databases). Even in those cases, your probably better off with a machine that can handle huge amounts of RAM (Alpha, Sparc, and Itanium can all handle terabytes of address space, i think) and an OS that can do decent filesystem buffering.

      --
      ---- I made the Kessel Run in under 11 parsecs.
  24. R-A-I-D or R-A-I-D ? by green+pizza · · Score: 2, Funny

    Redundant Array of Inexpensive Disks

    or

    Redundant Array of Inexpensive DIMMs

  25. Re:Huh? [OT] by Telek · · Score: 4, Insightful

    The slashdot crew over the past few days/weeks have been extremely out to lunch, has anyone else noticed this?

    Example 1:
    but RAM is now cheaper when it comes to memory-per-unitofcurrency than hard drives -- cliff

    RAM is 30-40x more expensive than HDs, I don't know WHAT he was smoking when he thought that...

    Example 2:

    I suspect a fair number of people never try Linux or one of the BSDs because they're moderately happy with AOL as an ISP -- timothy

    how many people do you know who would be running Linux if it wasn't for the fact that they were using AOL? (Let me rephrase, how many tech savvy people are using AOL (that aren't forced to)?)

    And the anti-Microsoft hysteria has been especially harsh over the past few days. That article about File Extensions And Molopolies was so pathetic it didn't even qualify as satire. It should never have seen the light of day on either /. or Salon.

    And /. gets over 200 story submissions per day, and yet the average number of story postings has gone way down, now to about 10/day. What's going on here?

    --

    If God gave us curiosity
  26. They are available... by macemoneta · · Score: 2, Interesting

    These are an example (they even have Linux drivers), but an 8GB unit is still over $20k (see CDW). It's going to be a while until this is affordable (2 orders of magnitude price reduction).

    --

    Can You Say Linux? I Knew That You Could.

  27. Solid state...why? by ErikZ · · Score: 2


    To get solid state hard drive they must be more desirable than platter HDs. All that solid state has going for it is speed. It's far more expensive, holds less data, and unless you get the expensive chips, looses all data when the power is turned off.

    Current HD tech has HD's maxing out at 400GB. I'd perfer the robustness of solid state, but platter drives are simply better at this time.

    Imagine a solid state file server though! Sigh.

    --
    Democrats or Republicans. They are both taking us to the same place and they are not afraid of us anymore.
  28. You don't necessarily need a RAM disk by defile · · Score: 3, Insightful

    There are two ways you can do this.

    Way 1 -- Use a PCI card with 4GB of RAM on it as primary storage. At the end of the day, or week, or whatever, copy all of the data to more "permanent" storage. Like hard disks. This way a power loss (or battery failure) isn't too much of a nightmare.

    The drawbacks are that you need special hardware and you could lose days of work.

    Way 2 -- Cram your machine with as much RAM as possible. Which probably means 4GB. Configure your OS so that it uses about 95% of RAM as a buffer-cache.

    Data will be loaded from disk initially on demand (which means slow startup) but will almost always stay memory resident thereafter. The OS will also commit dirty pages back to disk from time to time ensuring that you don't lose anything important.

    This may be less doable with systems that insist on synchronous writes during file operations, but you can often disable these things if you want to take the risk.

    The benefit of this approach is that you don't need special hardware and you're less likely to lose data than Way 1. Which basically means you can and have been experiencing this now.

    If your system grinds disk consistently after several hours of use, it's a good indication that you should get more RAM considering how cheap it is.

    1. Re:You don't necessarily need a RAM disk by Skapare · · Score: 2
      Data will be loaded from disk initially on demand (which means slow startup) but will almost always stay memory resident thereafter. The OS will also commit dirty pages back to disk from time to time ensuring that you don't lose anything important.

      In Linux, this does not happen. Data loaded from disk often gets flushed back out because Linux doesn't restrict the amount of RAM that write operations may use. If you have 1GB and a process suddenly writes 1GB to 4GB of data, almost everything else will get swapped out. The non-dirty pages go first because they are cheaper (just steal them).

      If your system grinds disk consistently after several hours of use, it's a good indication that you should get more RAM considering how cheap it is.

      Unfortunately, with current versions of Linux in the 2.4 series, more RAM means more grinding. But lately things are getting better. Hopefully this gets fixed before everyone gets busy on 2.5.

      --
      now we need to go OSS in diesel cars
    2. Re:You don't necessarily need a RAM disk by defile · · Score: 2
      In Linux, this does not happen. Data loaded from disk often gets flushed back out because Linux doesn't restrict the amount of RAM that write operations may use. If you have 1GB and a process suddenly writes 1GB to 4GB of data, almost everything else will get swapped out. The non-dirty pages go first because they are cheaper (just steal them).

      1. I never explicitly stated Linux! (hooray for ambiguity!) I thought I was actually hinting at a BSD.

      2. The behavior you're describing is considered by practically everyone to be broken and is to be fixed (which >2.4.9 supposedly fix, but I haven't tried yet since I don't feel like applying ext3 patches)

      3. I myself didn't notice the problem until someone told me about it. Which describes MY typical workload. :)

  29. CD-RW Technology by wardomon · · Score: 2, Interesting

    I seem to remember that there was a company working on the idea about 2 years ago of using the rewritable film of a CD-RW as memory.

    --

    - - - If the sun is a star, why can't I see it at night?
  30. Cute. by Kasreyn · · Score: 2, Flamebait

    We understand the concept of the battery, smartass.

    We need a UPS instead. And the "u" part is the tough part.

    -Kasreyn

    --
    Kasreyn: Cheerfully playing the part of Devil's Advocate to hairtrigger /. flamers since 1999.
  31. Flash Drives by moonboy · · Score: 2



    Sure these are not cheaper by the MB, but they are incredibly cool!!

    --

    Co-founder and designer at Music Nearby: http://musicnearby.com
  32. Flash RAM is getting there by ckd · · Score: 2

    The last CompactFlash card I bought for my digital camera was well under $1/MB (actually about $0.67/MB).

    The first SCSI hard disk I bought for my Mac Plus was over $10/MB, and held less than 1/4 the capacity of that CF card. And it weighed 14 lb.

    Flash isn't cheaper than current technology disks, certainly; for the price of a 1/4 GB CF card you can get an 80GB IDE drive. But the growth of the digital camera and PDA markets has driven the cost/MB of flash down, and will continue to do so.

    What would be cool is a RAID controller for CompactFlash; plug in 6 CF cards in a space the size of a standard hard drive and have it do RAID-5 in hardware. Slower than stock RAM, but non-volatile. The catch there is the number of read/write cycles...and I'm not sure how much work has been done on improving that side of flashRAM performance.

  33. Fast virtual memory! by TeknoHog · · Score: 2
    So.. if you get yourself lots of RAM for a fast disk, then when you run out of working memory, just make some swap on that drive! It's almost as fast as real memory!

    Oh, wait.. why am I recalling the joke about a solar powered flashlight?

    --
    Escher was the first MC and Giger invented the HR department.
  34. Re:Reliable? by YanIsa · · Score: 2, Insightful

    What's the mtbf on Solid state drives?

    Well, it can't be worse than the MTBF of IBM GXP drives..

    Plus, it's pretty much a given that MTBF(device_with_moving_parts) is less than MTBF(device_with_no_moving_parts). You probably had more hard drives fail on you than memory chips, right?

    So I think the only problem regarding reliability is solving the power issue to the satisfaction of the average induhvidual.

    I think 10 more years max, and then it's the way of the dodo for our spinning friends.

    Yan

    --
    I think this line's only filler
  35. OS Stability by Alien54 · · Score: 2
    *again, yanks plug*

    of course, a system crash or a reboot would do about the same thing.

    This by itself would would preclude many script kiddies using notoriously unstable OSen, never mind systems that get infected by trojens etc.

    "issue the reboot command now!"

    heh

    --
    "It is a greater offense to steal men's labor, than their clothes"
  36. Which brings us back to ... by benedict · · Score: 3, Insightful

    If you're updating the platters in the background, then you're using the memory as a write-behind cache.

    Now explain to me how this is different from using main memory as a VM cache in unix?

    --
    Ben "You have your mind on computers, it seems."
  37. SSD's aren't new by fooguy · · Score: 3, Informative

    SSD's have been around for quite some time. Compaq had several commercial offerings based on Quantum's SSD. There are also several no-name companies that manufacture solid state drives (Memtech being just one: http://www.memtech.com/Prodinfo.htm).

    We actually got our Alpha vendor to let us try an SSD for 30 days. The drive was fast, but we found that we quickly saturated the controller (something a couple U160 drives can easily do). In that regard, it wasn't that fast at all.

    And, as has been said in other posts, it's not really economically fesible. We tested a 3.2GB SSD last Christmas that cost $25,000. For that application, we thought it was a good fit. But if you're concerned about capacity, we just bought some 180GB drives for our SAN for about $5,000.00 each.

    While the RAM and disk capacity available now is amazing, I don't think we'll ever see the dollar/cost ratio for RAM beat the dollar/cost ratio for disks.

    In 1994, which I had a 486/DX2 66 (which came with 4MB Ram), I bought 16MB of RAM for $560.00. Quake was 15MB, so I could load it into a ram drive and play from there. Guess what? It wasn't noticably faster than my IDE hard drive, but Windows screamed. =)

    --
    "All I ever wanted was to see Larry Wall give Bill Gates a Perl necklace."
    http://www.eisenschmidt.org/jweisen
  38. Polymer memory might drive RAM/HDD's away.. by Anonymous Coward · · Score: 2, Interesting

    There is a company in Sweden developing technology that might make both RAM and HDD's obsolete.

    The swedish R&D site:

    http://www.thinfilm.se/

    The norwegian mothercompany:

    http://www.opticomasa.com/

    Article about it (in Swedish however :-):

    http://www.nyteknik.se/pub/pub26_3.asp?art_id=16 01 2

    More material can be found by searching for Opticom, Plastic memory,thinfilm etc..

    Interfaces should not be a big bootleneck. Whatever technology used to create the RAM disc. ATA-100 (100MB/s) and SCSI U160 (320MB/s) should be significant. U320 and U640 will come within years.

    If the current number of RAM sockets are a limit.. one can always network some MB's stuffed with RAM. :-)

    pbRemove(a)ludd.NospamherEluth.RemovEthisse

    Anyone in need of computer consulting with unix or programming btw? ;)

  39. Missing the point of SSDD by MattRog · · Score: 3, Interesting

    You see solid-state disk drives used mainly in relational database management systems as a 'scratch pad' for highly-volatile data.

    In order to explain I'll have to do a quick primer on RDBMS' and how they handle memory management.

    As you're probably aware, there are a multitude of different operations you can perform on a RDBMS; UPDATE, DELETE, SELECT, etc.

    For more efficient queries the RDBMS will cache physical data structures in memory. It may cache parts of the index or recently accessed data. If the cache is full it will kick out the oldest, least used parts to make some room for the new stuff.

    To make a long story short, most servers have way more disk space than RAM. As such, it will use a designated 'temp' or scratch area for some of those sorts (and temporary tables) if there are more important things in RAM or it cannot all fit. In Sybase / MS SQL you create a special database for this called 'tempDB'. I'm sure DB2 / Oracle have similar data structures.

    Here is where solid-state disks enter the picture. You can buy a small solid-state disk (9GB or less) for cheap. You then 'create' tempDB on the solid state device. That way you can completely eliminate the relatively slow disk drive for things like sorting, temp tables, etc. and devote all of your RAM to caching database information.

    To me, this seems a lot better than using solid-state devices exclusively as a storage medium. Initially when you start up your RDBMS the cache is clean. After people run a couple queries the important (and most hit) indexes and data are cached any way so you do not have to worry about touching the disk unless you perform a write. However in most OLTP (online transaction processing; a la web app) it's mostly selects so you wouldn't receive the benefit of the solid-state device unless it wasn't in the cache.

    Most SSDD have a battery-backup in them in case of power failure and are generally mated to a corresponding hard drive. When the SSDD is idle it will flush the writes to the HD to keep the HD up-to-date. On a power failure it will immediately dump changed data to the HD (also battery-powered).

    For 'home' systems I can't imagine anyone using SSDD as their primary storage. It doesn't make sense - rarely does anyone perform anything that 'demanding' as to require solid-state drives. Plus, if you have a single memory error you would lose the entire thing (break one of your DIMMs and tell me what happens when you try and boot.) :D

    --

    Thanks,
    --
    Matt
  40. The price/performance sweet spot by Salamander · · Score: 2

    A disk array with a big front-end RAM cache effectively gives you RAM-like access speeds for cache hits. You can basically adjust the amount of cache to get as close as you want to RAM speed overall for your workload, while also taking advantage of rotating media's price and durability advantages. Ideally, either the cache is either battery backed or the array has enough of an internal power reserve to dump cache to disk even when external power is lost. This use of a large but safe RAM cache is the main thing that differentiates a Symmetrix or a Shark or a Lightning from some low-end POS that's really no more than a stack of disks with a plain old PC bolted on the front...and don't even get me started on the abomination that is host-based RAID.

    --
    Slashdot - News for Herds. Stuff that Splatters.
  41. Market saturation?? by sterno · · Score: 2

    Is the low price these days due to more efficient manufacturing or market saturation? If it's an efficiency thing then it might make sense to put the effort into doing solid state drives now. But if this a transient glut in the market, then by the time you have something that will do the job, memory may be prohibitively expensive.

    Personally I'm thinking just packing my system full of memory would be the best solution. As others have mentioned, an OS with good disk caching built in can be as good if not better than a RAM disk. It might be useful to have some way to expand memory through a PCI slot but it seems like, for now, solid state storage just isn't worth it.

    --
    This sig has been temporarily disconnected or is no longer in service
  42. its called by geekoid · · Score: 2

    ramdisk.
    Just load your programs into ramdisk.
    Have the data that needs saving tossed onto the hard drive periodically by a script that dumps the data that needs to be saved from a ramdisk directory, to a HDD.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  43. Holy fuck memory is cheap by sulli · · Score: 2
    Hey, thanks for the tip (shows how out of touch I am). 256MB for a Powerbook G3 for $89 at MicroWarehouse - awesome!

    (Oh yeah, RAM disks, cool. etc.)

    --

    sulli
    RTFJ.
  44. Re:Compact Flash by JesseL · · Score: 2

    Compact flash already acts just like a hard drive, it just doesn't use the same connectors. From a logical/electrical standpoint they are identical.

    --
    "Prefiero morir de pie que vivir siempre arrodillado!"
  45. Re:perUNITofCurrency is the key work. by Wakko+Warner · · Score: 2

    It depends on your definition of the job, doesn't it? If all you need to do is store 256MB of data then, by all means, buy a $20 256MB DIMM (and just hope you never lose power.)

    If, on the other hand, you need 100 GB of storage, you're not going to stock up on RAM, are you? In that case, both you and Cliff are still wrong: a usable amount of RAM is not cheaper than any new drive you could buy today to do the SAME job.

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  46. Volume differences: GB/cc by 4of12 · · Score: 2

    I just put 2 100 GB magnetic disks drives into my TiVo.

    I think 200 of the 1 GB SDRAMs would take up quite a bit more space, even if the slots were there.

    --
    "Provided by the management for your protection."
  47. There IS a SSD for PCI bus machines now. by davebarnes · · Score: 2, Informative

    Platypus Technology
    http://platypustechnology.com
    "Platypus Technology has designed a range of storage innovations that free applications from the bottlenecks caused by hard drives.
    You can run mission critical files from silicon, rather from rotating platters".
    The design appears to be quite nice.
    The price appears to be outrageous.
    From www.cdw.com
    "Platypus QikDRIVE8 1GB
    1GB PCI solid state hard drive card for PC and Mac workstations and servers $3229."

    --
    Dave Barnes 5 breweries within 6 blocks of my house
  48. OS Redisign by kruczkowski · · Score: 3, Interesting

    With this trend to continue, OSs should be redesigned. The hard disk has the advantage of keeping the data with no power, but the ram has speed. New pcs could have 3GB of ram and a 40GB ide HD for storage. When the pc boots it would copy the data into its ram and then execute all programs from ram, sure this would take a long boot but with new os to be stable this should not be a problem.

    We would have to do some serius os and user interface redesign. If the pc is used for video editing the samples could be kept in memory this would speed thing up a bit, but you would have to save the data to the HD eventualy.

    Another great application for this would be chase servers, imagin a organization that does video editing and all the clients have gigabit ethernet, implement servers that have 1TB of ram before the data storage server at night they could sync the data.

    Seriusly, we have to think about this, our current view on pc is that ram is way more that hd storage. Diskless clients could make a come back...

    --
    hmm... for fun I enjoy launching DDoS attacks against 127.87.42.5
  49. Solidisks, and other Solid State Technology by jd · · Score: 5, Interesting
    Solid State hard-drives date back at least as far as the late 1980's, when (I believe) Watford Electronics released a device called a Solidisk for the BBC Microcomputer.


    As such, they are fairly old technology, and most of the problems have been ironed out. The problem with power can be solved in a number of ways, for example. You can have battery-backed RAM, or you can have the "RAM" non-volatile by using a design that does not decay rapidly with time. (Flash RAM works this way.)


    Another problem has been the capacity of a solid-state hard-drive. This, as has been mentioned, has largely been overcome. I =STILL= believe that wafer-scale chips are the way to go, for this, though. You should be able to make wafers that are tens of terrabytes in capacity, by now.


    (The problem with making wafers has always been the purity and the defect levels. Purity just requires you to use something better than skimming. Double distillation, or atomic mass seperation, would give you near 100% purity. You then just cool the resultant in a vaccuum flask, so that the defect rate is negligable.)


    Getting back to the modern day, though - how to turn cheap RAM into quality solidisk. This involves making a card, with a whole load of RAM on it. Since you're using conventional RAM, you can't rely on modern-day core memory. This means the fall-back of using battery-backed RAM.


    You want TWO batteries, for this. One will be in discharge/recharge mode, the other will be in operational mode. When the batteries switch over, you want the recharged one to be switched first, so that the batteries are in parallel, BEFORE switching over the other. That way, there's no loss of power.


    When switching to discharge/recharge mode, the battery must be fully drained, to prevent "memory", where a rechargable battery fails to recharge correctly from a semi-charged state. Once drained, you recharge it to capacity.


    The switch-over should happen on one of two events:

    • The battery in use is under 25% capacity, OR has less than half the charge of the spare battery
    • The computer is switched on


    This guarantees that you have 175% - 200% of any one battery's lifetime, which should be ample for most purposes. The recharger should tap off the bus' power supply, with the batteries directly powering the RAM at all times. This avoids any problems of messy spikes somehow getting into the computer.


    If you want "extra-long-life" SSD technology, you are probably best off using very low-power RAM for the main disk, and using higher-power fast RAM for the cache. The lower the power of the main disk, the better. Static RAM is worth a glance, for this - I think it's usually more efficient than dynamic.


    Of course, the =ULTIMATE= solution is to go back to using core memory. (For those who never went to computer science classes, "core memory" is one of the earliest non-volatile digital storage systems. It was a form of magnetic storage, and used semi-permanent magnets to retain the data. Data could only be read by destroying the copy in storage, which mean that a read cycle also had a write cycle. It was slow, but when you had RAM that was guaranteed to retain data for over a century, who cared?)

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  50. How I would do it (i.e., properly) by hattig · · Score: 2
    1. Create a fast bus near the processor for solid state storage - it is silly having to go through IDE, then PCI, then the NB to the CPU for data, even with an IDE solid state disk.

    2. This bus could be HyperTransport from the NB to a HyperTransport enabled memory controller that can control up to 16GB of memory. This will give you massive bandwidth and low latency - the best of all worlds.

    3. 16 DIMM slots in a drive bay somewhere, or whatever. connect to the memory controller. Battery connected to power DIMMs in case of power down. Use DDR DIMMs, as they use less power. A large laptop battery should power 16 DIMMs for well over a day on their own.

    Alternatively, just set up a massive RAM drive and cache the HD into it... rewards uptimes of course!

  51. What's the point? by The+Panther! · · Score: 2, Insightful
    Let me first start off by saying, I thought this was a good idea once, too. Here's why it's a dumb one:
    • Ram is so expensive that having it sit idle is a waste of money and time.
    • Operating systems do an excellent job of keeping most recently used (and hence most likely to be used again) data in memory
    • Keeping files on a ram disk prevents the operating system from using it
    To learn this initially, I took a machine with 512mb of ram and made a 100mb ram disk partition on Win2k. I needed to speed up my compile times (>45 minutes) when using a bad cross compiler to the Nintendo Game Cube and a lot of templated C++ code (I didn't write it). After moving all the source code and object output files and executables to the ram disk volume, it turned out that it went even slower than before. This is because less ram was available, so it swapped out more frequently. Same principle applies when just adding more ram. The less you hit the hard drive, the faster your machine runs.

    The only reasonable purpose I can think of for a fast ram disk is if you can get some relatively slow ram on that device, which is cheap, but won't fit on your motherboard due to it requiring faster/more expensive ram, such as RDRAM or other exotica like ECC Registered SDRAM. But it's still cheaper to get a few hard drives.
    --
    Any connection between your reality and mine is purely coincidental.
  52. Solid State Hard Drives vs Ram Disks by Matthew+Luckie · · Score: 2, Insightful

    I see some people debating ram disks.
    The way I see it, the kernel is smart enough to use ram for buffering when it can - certainly smarter than a user creating a ram disk.
    If you need more performance, give your system more ram and let the kernel decide how much of that ram should go to a ram disk.

  53. Try DiskOnChip by hum · · Score: 2, Informative

    A family of high performance, single-chip flash disks are available in a wide range of capacities from M-systems.

  54. Why not use a software raid-like solution? by BierGuzzl · · Score: 2

    I'm listening to ideas about a pci card with ram sticks on it that backs up onto a harddrive in the event of power failure. Why the hell don't we just buy a whole ton of ram, make a ramdisk that's sync'd with a harddrive partition, so all the writes are written to a disk buffer and the ram while all the reads only access the ram. If we crank up the size of the write buffer, we've got some pretty impressive performance!

  55. Re:PerUNITofCURRENCY by MacGabhain · · Score: 2

    No, "per unit of currency" means per dollar or pound or franc or what have you. "Currency" means "money". Ram has *always* been cheaper per physical item - say, $200 for four 1MB 30-pin non-parity vs $450 for a 420MB hard drive in 1993 (when hard drives had been dropping in price for a couple of years while RAM remained stable at around $50/meg).

  56. Good topic. by tcc · · Score: 2

    I was wondering the EXACT same thing, I was recently browsing the net to find if anyone did such a project for his master or just like a hobby. Or even if there was someone that actually made a home-made device (I'd even go for that).

    C'mon, shouldn't be too hard to tie up a buttload of 128M+ DIMMs together and plug in a ATA100 interface and some FPGA for decoding/driving the memory? How come nobody did it? what are the big problems? I don't see any problems from my perspective it's just a load of addressing issues and plugging off the shelf parts together, the only "hard" part I could see is the timing to get the maximum throughput to max out the interface, but that's only a software issue.

    Heck someone that really wants could make the first low-cost IDE (or SCSI) board/case/adapter to which we would simply have to add ram... I'd pay a lot more than what the components are costing to get my hands on something scalable and cheap like that, and I am sure I'm not the only one.

    Just imagine something like.

    Model-1, 4 slots, accepts up to 1GB PC133 ram per slots, ATA/100 interface 1000$ (look at the price of the components for that kind of stuff and you EASILY beat the 3x the cost of the hardware to break a profit, even home-made you could make a LOT of money (and still beating the 300% law)

    Model-2, 8 Slots, blabla 2000$

    Model-2 Pro, Ultra160/320 interface 2500$

    Model-3, loads of slots, still WAY cheaper than the current available solutions, error correction, etc etc.

    Nice buisness plan eh? copy it, make a device and send me model 2 pro ;)

    --
    --- Metamoderating abusive downgraders since my 300th post.
  57. finally -- a use for AGP! by digitalEric · · Score: 4, Interesting
    &gt . . .or get some other designed bus to support the much higher throughputs.

    This is exactly what AGP was designed for -- high-bandwidth I/O to main memory, without blocking the PCI bus. Plus, the AGP GART can do most of the address translation you would need. All modern PC (and even Apple) chipsets have an AGP interface, which is wasted on a headless server. . . until now. AGP even provdes extra power (even the obscene AGP PRO), so that an onboard battery/HDD could be used to backup.

    &gt To take advantage of RAMdisks, you pretty much need to have your computer on all the time, or in standby mode when you're not using it.

    This is true. *or* you could have your computer net-boot from a a server with one of these. Even 100megabit transferring from memory will feel faster than a local hard disk. And gigabit over copper is becoming very affordabl these days.

    1. Re:finally -- a use for AGP! by Telek · · Score: 2

      I think that everything would be a lot better done if you just adapted the newer motherboards to being able to hav 4GB of memory. Suspend-to-RAM and suspend mode and you're done, AND you can use the memory for more than just storage space.

      And in case you haven't noticed, have you tried to use an PCI video card lately? There's a lot more going on there than just onboard stuff, there's a reason why it has that high bandwidth.

      --

      If God gave us curiosity
    2. Re:finally -- a use for AGP! by tzanger · · Score: 2

      This is exactly what AGP was designed for -- high-bandwidth I/O to main memory, without blocking the PCI bus.

      I've always wondered why I haven't found AGP data acquisition cards... AGP seems so wasted on most systems since your video drivers hardly pull anything from main memory unless you're in a 3D world and there's a million textures to pull.

  58. why not? by jafac · · Score: 2

    What would be great would be a cheap backplane card that plugged into either an IDE or SCSI bus, on which you could mount zillions of old 4 meg 72-pin simms which are now obsolete.

    I probably have a gig's worth of 4 and 8 meg 72-pin simms sitting around in my lab with no use other than collecting dust. It would be great if I could slap them into a device to use as fast storage. I guess the RAM companies would rather have us throw these old chips away and spend money on new RAM.

    --

    These are my friends, See how they glisten. See this one shine, how he smiles in the light.
  59. NOT a very smart choice by ttfkam · · Score: 2

    Most modern operating systems have an advanced file cache. If you think of your disk cache as a dynamic RAM drive, you're getting the idea. A dedicated file server will serve commonly used files at RAM drive speeds due to the file data already located in the server's RAM.

    Let's analyze the options.

    2GB Network RAM Drive
    Pros: None
    Cons: Very expensive for the storage while bound by network bandwidth. No advantages over a harddrive-based network drive with a healthy RAM cache. Data is volitile -- needs constant power.

    2GB RAM Drive
    Pros: Very fast access for non-sequential access
    Cons: Performance bound by IDE/SCSI bus. Low total storage when compared to hard drives. Data is volitile -- needs constant power.

    40GB Hard Drive + 2GB RAM
    Pros: Just about as fast as dedicated RAM drive access for most data sets. Hard drives 1/10 the cost of similar RAM-only solution. Very large sizes available. RAM cache adapts to filesets used. Data is non-volitile -- does not require constant power.Cons: Not as glamourous.

    Conclusion: Unless you have nothing better to do or have a specific need (space or vibration-resistance?), hard drives backed with a RAM cache win.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  60. You already have a RAM disk - file system cache by seanadams.com · · Score: 3, Informative

    I agree - even a SDRAM controller right on the PCI bus can't be as fast as the system's main memory.

    Linux, FreeBSD, and MacOSX (I dunno about Windows) all have excellent VM and file system caches (sometimes they're tightly integrated). If you have 4GB of RAM in your system, and your running processes have 64MB resident, then it's like having a 3.94GB RAM disk. That is, of course, unless you routinely access more than 3.94GB of files.

    This is why having lots of RAM is good, even if your processes don't use much.

    It's not prefect - I know that on FreeBSD 4, for example, if you have zillions of small frequently used files in the cache, and then you do a big tar, all those important little files will get pushed out of the cache in favor of the new file, which might only be accessed once. Also, the kernel will swap processes out to make room for file system cache, and there aren't a lot of knobs for tuning all of this. EG I don't think you tell the kernel "keep *all* my processes resident, even if they're idle... no really, I *do* have enough RAM!"

    Anyway I just don't see any use for standalone RAM disks. There are very few real-world applications that need *deterministic* 1ms seek times. If you rely on the OS you will generally get the best performance.

    1. Re:You already have a RAM disk - file system cache by bugg · · Score: 2
      To defer the progressive swapping that you're talking about:
      sysctl -w vm.defer_swapspace_pageouts=1
      Or to stop all swapping (less useful):
      sysctl -w vm.disable_swapspace_pageouts=0

      The VM subsystem is _very_ tunable. You should note that under most situations, this won't help performance and in fact hurt it (when the time comes that you do need to swap) - but if you really have lots of extra ram, try it out- it just might increase performance.

      There are a TON of knobs for tuning this. Oh, and by the way, check to see if you need the -w switch (it's being deprecated)

      --
      -bugg
  61. What are you smoking Cliffy.... by mindstrm · · Score: 2

    "I never quite thought I'd see this in my life time, but RAM is now cheaper when it comes to memory-per-unitofcurrency than hard drives. "

    256MB pc-100 dimms are like $20. That's $80/GB.
    That's $6,400 for 80GB of memory.

    An 80GB hard drive is about $250....

    So what the heck are you talking about?

  62. what do you mean? by mindstrm · · Score: 2

    Per unit of currency means simply Number of bytes per (dollar or peso or escudo or lira or rupee or colone or peseta or pound)

    What do you mean talking about MB for one and GB for another.. that makes no sense.. and would be meaningless.

    Cliffy's just wrong.

  63. This is done already. by mindstrm · · Score: 2

    It's called 'disk caching'. Linux does it. Windows even does it. Everyone does it these days.

    And maintaing power to all that RAM indefinitely is....... surprise, what a UPS is for.

  64. DiskOnChip by SubtleNuance · · Score: 2

    M-Systems offers offer some Flash-based "DiskOnChip" products used alot in embedded apps.

  65. What?? by mindstrm · · Score: 2

    Back then, wasn't ram like $50/KB??

    I recall 1MB dimms in 1992 or so costing $150

    1. Re:What?? by mindstrm · · Score: 2

      Yeah.. so I'm off.
      But $50/MB? IT wasn't $50/MB until... 93 or 94 methinks....

  66. Flash no good. by mindstrm · · Score: 3, Informative

    Aside from being expensive...
    Flash is slow to write to.... and is limited in the number of writes. Flash wears out.

  67. What you are describing.. by mindstrm · · Score: 3, Insightful

    is basically how caching works. It's already done.. it's not something new. Linux does it. Every OS does it.. even windows...

    The only difference is things aren't cached until they are loaded the first time.

    If your computer had 80GB of memory, you would invariably end up with most of your HD (at least, what you were using) cached.

  68. Re:Me! Me! by penguinboy · · Score: 3, Insightful

    All you people who keep talking about power loss, think rechargeable battery...

    Magnetic storage can sit (unconnected to any power source) for years and years and still maintain data integrity. Keeping several GB of RAM powered reliably and cheaply for that long may not be as practical.

  69. RAM = $60 / GB; DISK = $2 / GB by peter303 · · Score: 2

    Thats still a factor of 30!
    Only since 9-11, I haven't RAM less than $100.

  70. Re:FLASH file system.. by JCCyC · · Score: 3, Informative

    I read at a Flash RAM manufacturer's website that their devices reach MTBF in one million writes. If a sector gets written to once a minute in average, that's about two years. Too little.

  71. Correct. by mindstrm · · Score: 2

    They also have relatively slow writes, much slower than a platter I believe...
    And they are limited in the number of erase/write cycles. Flash wears out.

  72. Better yet - put the RAM on the drive by jmichaelg · · Score: 3, Informative

    Which is exactly what Western Digital did with their 100 Gig caviar drive. They've taken advantage of cheap dram to pump their cache up to 8MB from the usual 2 MB. The result is their 7200 rpm drive is outrunning 10k rpm drives and is quieter as well.

    More info on the Western Digital drive is available at storage review.

  73. Same digital VCR argument: tape vs disk by peter303 · · Score: 2

    Although disks are dropping to a couple of bucks per hour of programming ( one hour = two gigabytes => $4 ), tape cost is also dropping ( six hours per $1 tape => $0.15 ). Tape will always be an order of magnitude cheaper.

  74. Re:i remember doing this in dos by Old+Wolf · · Score: 2

    But whenever you make a programming fuckup in DOS, it hangs and you have to reboot... so how did you manage that? :)

    Oh, this reminds me of another question: how do modern OSs do memory protection? I don't think the OSs can run everything in VM to trap all memory accesses? or do they scan their code for addresses and test them as it goees? or what

  75. Redundant? by MacGabhain · · Score: 2

    While I found the previous "5 Insightful" rather off too, one would think that in order to be "redundant" a post would actually have to have been made after other posts on the same subject. Having a post at 1:51 following several starting at 1:49 doesn't really seem to qualify for that either. So 3 people modded me up for making the same really obvious observation as 5 other people at the same time, and then three other people modded me down for making the same really obvious observation as 5 other people at the same time.

    I'm starting to think that maybe Slashdot deserves to have articles that claim RAM is cheaper per MB than Hard Drives. It might even deserve to have Jon Katz as its feature writer.

  76. Parent misleading by timster · · Score: 2

    The CMOS has never been SRAM. SRAM does not have to be refreshed like DRAM but it WILL lose data if subjected to a sustained power loss. The CMOS these days is Flash RAM; on older machines it was some form of ROM. SRAM is used in modern systems only for CPU and memory caches. SRAM is VERY fast, whereas flash and ROM are both slower than plain old DRAM.

    --
    I have seen the future, and it is inconvenient.
    1. Re:Parent misleading by tzanger · · Score: 2

      The CMOS has never been SRAM.

      No, YOU are misleading. Hop on over to dalsemi.com and look up their RTC products. The DS1287 is a good example, as it was actually used in many many many computers.

      CMOS is SRAM. If it were FLASH you wouldn't need the battery to keep the settings, and if it were FLASH, you would exceed its MTBF very quickly with the second updates.

      Yes there are things called NVRAM which have flash under SRAM and the SRAM dumps to FLASH when VDD falls below a certain level but it's far more expensive since you have twice the storage with no benefit other than no battery (which again is useless for RTC function).

  77. RAM Disk Issues by mgooderum · · Score: 2, Interesting

    Agreed - we aren't there yet and I doubt that we ever will be. Platter disks are still lots more expensive than RAM. Quick check of my favorites shows PC 133 SDRAM at $.07-$.9 cents per MB and big IDE drives at $.002-$.004 per MB. That is roughly a 20X-40X spread. This is an order of magnitude improvement from the 300X or so spread mid-90's when memory was $100/MB and disk was about $350/GB.

    So hybrid RAM/disk solutions are desirable. But RAM does not automatically equal performance. I had an interesting conversation circa 1995 where Mike Karels (of BSD fame) talked about how you were lucky if hard drive caches didn't slow down the drive. The real performance of real file systems is a very complex problem. Subsequent to this we did some random benchmarking at the time and found about a 50/50 split where disabling the read cacheing would speed up rather than slow down real I/O performance. Part of the issue is that many drives embedded processors were not very fast so the hit of maintaining the cache was worse (since the disk to interface data path was usually a seperate fast path but cache would hit the embedded CPU).

    In most OS/Filesystem combinations a file open/inital access is very expensive - lots of little I/Os to chase directories and file allocation chains until you finally get the data - then maybe a big read-ahead for you buffer cache that may or may not get used. Most filesystems are better at some things at the expense of others. So whether some amount of caching saves you any real elapsed time on an actual I/O operation is highly variable. There's also been discussion about how many filesystems (like UFS) were originally designed to try to factor in optimizations to deal with things like rotational latency and transfer speed based on rotation - that all goes out the window with any modern hard drive using zone recording/constant angular velocity (see http://www.isi.edu/netstation/zcav/zcav.html).

    Right now transfer speed of the interface is a big limiting factor, as drive density goes up more and more drives can fill the pipe-at least on the outside tracks. So without new - and incompatible - interfaces you are likely to see less and less performance wins from a RAM based disk versus platter based.

    IMHO - I think real wins in storage performance need to come from greater abstractions in the storage model. Imagine a device that you gave a complete path to and it then gave you a byte stream - let it manage the consistency, metadata etc. In some ways this is happening. Look at NAS versus SANs.

    Network attached storage is better performance using interfaces with higher and higher bandwidths (GigE, USB 2, Firewire, Infiniband) so that it gets closer to performance with local storage.

    Meanwhile local storage looks more and more like a network and has more and more features than simple block read/write (look at Storage Area Networks) - so the convergence is close in many ways.

    I think real persistant storage will be using platters for a long time - until some new paradigm comes along. Look how long it's been since the venerable "Winchester" drives replaced drums, tapes, cards, etc. The RAM will be used where it's used today - as memory for CPUs to provide more intelligence and caching.

  78. Where did you learn math and english? by mindstrm · · Score: 2

    "Per unit of currency is a multi-national way of saying 'Per Dollar' or 'Per Pound' or 'Per Peso'.

    It means how many bytes you can store for $1.

    IT does not mean 'usable chunks'. It means exactl what it says. Per Unit of Currency.

  79. Americans have it lucky by G-funk · · Score: 2

    If you guys can really get a gig for $US60 I envy you. Here, one gig is $300 ($US140) at the very cheapest. Here, a 20gb drive costs $250 (US$120) 20gb of ram (using cheaper 512mb sticks at current prices) = $6,400

    We're not quite ready for solid state hdds, nobody would give up that profit margin.

    Still, at a gig for $60, you guys must have some expensive harddrives for it to be cheaper than disk space ;-)

    --
    Send lawyers, guns, and money!
  80. Two words: by Dwonis · · Score: 3, Insightful

    Noise Pollution

    1. Re:Two words: by Telek · · Score: 2

      Noise Pollution

      Interesting, I didn't think about that point, however my hard drives are usually very quiet and are only audable if you put your ear to the case or when they're seeking like mad. However you do have a point.

      --

      If God gave us curiosity
    2. Re:Two words: by Dyolf+Knip · · Score: 2

      My CPU fan makes more noise than my hard drive. I don't even want to talk about some CD-ROMS I've seen. They sound like jet engines when they spin up.

      --
      Dyolf Knip
    3. Re:Two words: by Dwonis · · Score: 2

      Yes, but every little bit counts. AND depending on your CPU and case, it's sometimes safe to disconnect the fan (including the PSU fan, but with that one you have to be careful).

  81. MRAM by mojo-raisin · · Score: 2, Informative

    Solid State Storage is coming in about 4 years. It's called MRAM (magnetic RAM) and is a form of RAM that does not need constant charge to hold information. It has the added benefit that it is faster than current electric charge based RAM. Most people do not want to have to deal with power loss destroying data, so current RAM willl never make a popular storage medium. MRAM is the answer.

    A wired article on it is here.

    Motorola and IBM are both working very hard on this.

  82. Re:Platypus has solid state disk WITH redundancy by craigb12345 · · Score: 2, Interesting

    I saw Platypus' (platipi?) products. They look like a great idea, but they seem a bit costly. I like the redundant deal, but I don't have any room on my desk for a 19" rack. I wonder if Cenatek's products have dual disk channels? Their product looks similar, but is cheaper. A plus for the Platypus, they are actualy for sale (although Cenatek says theirs will be on sale in November). I do a HELLUVA lot of compiles, and I will be purchasing an SSD as soon as they come down in price. I hate to wait for a compile while my hard drive thrashes so hard that my desk vibrates.

  83. one more thing - size by thepoolguy · · Score: 2, Interesting

    Another issue that has been overlooked is the size of the resulting RAMdrive. You can buy 3.5" drives at 75 gigs. All of the current products that I have seen are at least full sized PCI cards, or a PCI card controller connected to a seperate RAMdrive frame.

    The amazing thing about this is, the spinning storage is smaller that RAM drives. This is quite counter intuitive, but I believe that it demonstrates what engineering marvels a state of the art disk drive really is.

    I do believe that RAM drive/ RAM storage technology can achieve mich higher packaging densities, but not using today's off the shelf memory chips.

    -tpg.

  84. These devices *do* exist by RalphTWaP · · Score: 2



    But....

    They're expensive.

    Keep in mind that the answer to the question "why don't they" is almost always to be found in the finances of the question at issue.

    With that in mind, go visit here for exactly what you've all been looking for.

    Btw/ if anyone wants to donate me a few (say 136) of the beasties and an controller to go with them, I'd be most appreciative...

  85. Uhh.. by mindstrm · · Score: 2

    That's a fairly narrow view. Yes, for read-only applications, flash is FINE. Hell.. Proms would be fine, and much cheaper. What do you think flash is? it's electronicly erasable read-only memory....

    IF this is for a custom application.. fine. But if we're talking about a home PC.. they most certainly DO write to disk quite a bit. The discussion is about solid-state disks......
    Flash is not a viable alternative for solid-state disks.

    Disks write for both Swap, temporary files, etc. It hink you would be surprised how often your PC actually writes data to a disk.

    Plus.. the number of erase/write cycles is also limited.. the flash wears out over time;.

  86. Great for DDNS server zone transfer wite ops by gelfling · · Score: 2

    For large scale DDNS servers solid state disks are great for when you have to write huge zone transfer files very frequently!!!

  87. You don't really need battery backup by tkrabec · · Score: 2, Insightful

    You could just use a "ram drive" as a cache to reads off a hard drive and as a small buffer to write to the drive. With a good ups and shutdown software you could get the stuff written to disk before any major problems.

    -- Tim

    --
    TKrabec Pahh
  88. Re:Not a problem by biglig2 · · Score: 2

    Unless you have one with a backup battery like on a Psion 5Mx (my current pda) or the Jornada 56x (lust drool lust drool)

    --
    ~~~~~ BigLig2? You mean there's another one of me?
  89. Cheap RAM? by mjrnfr.com · · Score: 2, Interesting

    I remember way back some of the guys I worked with at DEC Research had an Evil Plan(tm) to try to buy a bunch of RAM that had been culled at a fab plant. Apparently there were plenty of chips that "almost" worked but weren't fast enough (e.g. 100ns RAM that didn't work at 100ns but worked fine at 300ns...) or didn't store all the bits - the idea was to run them slower and keep parity for lossage. Interesting idea, anyhow, though I bet it'd be hard to get a microprocessor maker to sell their "seconds" - since they're "garbage" at that point, though, you could get 'em cheap, in theory. ;) mjr.

  90. This could work, with some common sense by Junks+Jerzey · · Score: 2

    In the mid 1990s I did commercial video game development. The largest hard drive I had during that time was 330MB, and it was never more than about half full. At home I had an 80MB hard drive for the longest time, but it was never more than a third full. Now I have a 6 gig drive at home, of which maybe 2 gigs are used. Most of that 2 gigs is for Windows plus some big applications, like Corel Draw and Delphi. That machine is used for commercial graphic arts plus software development in Lisp. I set aside a 2G partition for Linux for a while (Red Hat 5.2), but don't use it much.

    My point? Solid state hard drives would work just fine, except that developers and consumers have gotten used to space being an infinite commodity. Games take 1 gig each to install. Windows XP takes over a gig just for the core OS. Now we have consumers buying 60 to 160 gigabyte hard drives. And the former is under $200. That much memory would cost thousands. But could I personally live within 1 gigabyte? Easily, provided I'm not using typical desktop OS that's designed to take up hard drive space (Windows, most Linux distributions, MacOS X).

  91. File System and Database Caching/Journaling win by billstewart · · Score: 2
    There are a number of applications, including journaling databases and file systems, which require data to be written to non-volatile storage before they continue, and providing microsecond-latency writes to battery-backed ramdisk instead of few-millisecond latency for spinning disks makes a hugedifference when you're trying to do thousands of transactions per second.

    One of the classic accelerators was the old Legato Prestoserve - it had a MB or so of battery-backed RAM, which was enough to provide a non-volatile buffer for the time it took for disk drives to write. Machines have gotten a lot faster since then, and disk drives now usually come with buffers of a few MB, but that kind of approach can still be a win.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  92. TMPFS, RAMDISK, Battery-backed RAM by billstewart · · Score: 2
    The old Sun /tmpfs filesystem design was good for storing files that you expected to use up rather than keep for long periods of time. Files might get paged out to swap space if the system needed memory and they hadn't been used recently, but very common behaviour was that they'd be created by one phase of a compiler run, read by another, and then deleted, before the system had to bother paging them to memory, and /tmpfs was smart enough to garbage-collect pages from deleted files so they wouldn't need to get paged out.

    I primarily use RAMDISKS on Windows to accomplish the same thing - it's a convenient place to stash files I don't plan to keep, such as MSOffice attachments in incoming email messages, as well as to stash data I don't want on real disks, like decrypted emails (yes, I know they can get paged out, and there's memory persistence, but KGB/FBI/NSA attacks are really low on my threat models compared to generic theft.) It's an amazing performance win for many Windows applications, and Windows is happier running them from "disk" than running them from the temp files used by email while keeping the email messages open.


    Both of those applications assume they're using main system RAM, and that they're relatively disposable - if the system crashes in the middle of a compile, you'll re-run the compile anyway. Some of the other approaches to RAM-disk boxes provide separate battery backup, which gives you persistence.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  93. Well.. by mindstrm · · Score: 2

    Yes. I think the real issue is this: You can only add so much ram to the common motherboard before running out of slots, even though you could easily afford to buy more ram. So.. the next obvious solution is some sort of expansion card that you can add more ram to. Of course, said card won't run at the same bus speeds, because it would be PCI or some such... so it doesn't make sense to use it as main memory. A good kludge would be to use it as a 'disk' and then use it for an ultra-fast swap (though not as fast as main memory, it would be way faster than disk access).

    Also.. as to why you need swap. Perhaps you don't; swap is just there because you CAN.. ie: if we ever run out of memory, we can start using the disk... makes good sense.

  94. Re:Two Grand for a 512MB SSD?! by Skapare · · Score: 2

    I didn't find any pricing. The store was open, but the shelves were empty. Don't they sell it as an unpopulated card?

    --
    now we need to go OSS in diesel cars
  95. Re:RamDisk by Skapare · · Score: 2

    At what price for an UNpopulated card? There's no advantage to the lower prices of RAM these days if the use for that RAM is in a device that the manufacturer is going to rape your wallet for. The ideal device will be one that plugs into a PCI slot, does IDE I/O exactly like any IDE controller (hence no driver needed), has jumpers or BIOS config to make it work on any standard IDE device address or IRQ (there's way more than just primary and secondary, and Linux/BSD supports them). Long persistent storage (e.g a battery) should be an option, and short persistent storage should work if you just reboot/reset w/o cutting off the power. If I need longer than that, I can buy some newfangled device that records data magnetically in circles on the surface of rotating platters.

    --
    now we need to go OSS in diesel cars
  96. Re:linux ramdisk limitations @ 512m by Skapare · · Score: 2

    I'm currently looking around for a Linux driver that can make a special RAMDISK out of whatever RAM exists beyond the point specified in mem= in the kernel parameters (append in LILO). If I can't find one, I may consider writing one.

    As for your reference to a huge initrd, why not try out my cdinit loader that is part of my BICK [Bootable ISO Construction Kit] project. It comes to life via a smaller than usual initrd (having only /dev/console and cdinit named as /sbin/init). It expects to be booted from a CDROM, so it looks around for that CDROM and loads a tar file from it into tmpfs. I originally used ramfs instead of tmpfs when I started writing it. If you're going to run from RAM, either of those might work out better than RAMdisk. Given enough RAM and a patch to the kernel to tweak some limits, you could load 600+MB (even more if uncompression is implemented) from the CD into RAM and run a rather substantial system (at the cost of several minutes load up time, depending on CDROM speed). Or hack cdinit to use other data sources, like the network. You're not stuck with using initrd.

    --
    now we need to go OSS in diesel cars
  97. Re:Quantum makes a 4GB solid-state drive: Rushmore by Skapare · · Score: 2

    It may be so $$$$$$ because of things like battery backup, low power RAM, and other crazy engineering marvels.

    What I'd like to have is a PCI card with 4 or 8 DIMM slots on it, that can emulate IDE at any addr/IRQ (not just primary and secondary), comes unpopulated, and supports all DIMM sizes for which standards are in existance. I think such a card should be doable under $200 in quantity, although it's hard to say what quantities the market will demand.

    --
    now we need to go OSS in diesel cars
  98. Re:Suspend to RAM by Telek · · Score: 2

    I was implying that if you have suspend to RAM then you don't need to worry about powering down or anything, and as long as you keep everything in RAM then hard disk access required to "boot" up the system again is next to nothing, thus giving even less importance to a 4GB "ramdrive"

    --

    If God gave us curiosity