Slashdot Mirror


What Can You Do with Old Memory?

An anonymous reader asks: "I've just upgraded the RAM in a bunch of laptops and have several gigs of spare PC2700 memory sitting in a desk drawer. I also have another project which requires a large amount of low latency temporary storage. So, I figured this would be a great place to employ a dedicated hardware ramdisk but I am having a problem finding one that doesn't cost an arm and a leg, or preferably an empty unit that works with my spare memory. I have found many discussion forums which talk about building an IDE ramdisk out of commodity RAM, but have not found anyone that has actually done it. Has anyone on Slashdot found such a holy grail? Is anyone currently working on such a project? Do any of you have the engineering experience and interest to design such a device?" What novel purposes have you done with spare RAM that you haven't had the heart to throw away? "Before you ask, my primary server is maxed out on RAM at 2 gigs, and I am still filling up my 1 gig software ramdisk when I end up with an unusually large data set that needs processing. Yes, I am aware that an IDE device would be limited by the IDE interface for throughput, but I am more concerned with latency then throughput, and IDE is common and simple enough to connect to any of my desktop servers without the need for an add in card."

14 of 121 comments (clear)

  1. What do I do with old memory? by Pan+T.+Hose · · Score: 3, Funny

    I don't remember...

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  2. flooring? by jjirvin · · Score: 3, Funny

    get ahold of Tommy at This Old House and see if they'll do a geek show in which the put down a parquet memory floor /jji

  3. laptop ram? by Goeland86 · · Score: 4, Insightful

    man, if you don't wanna throw it away, sell it on ebay, and then with the money you make buy something adequate for it. I'll buy some of that ram myself, if you have a 512 meg bar.
    Seriously, that ram is worth cash, get the cash, then buy what you've been looking at that was out of your budget before.

    --
    ---- I am certain of only one thing : I know nothing else.
  4. Take it to you local computer surplus store by HotNeedleOfInquiry · · Score: 3, Insightful

    And just give it to them. Next time you need something, you'll be surprised at how generous they are. I've taken my old but serviceable stuff to the local surplus store for years. I've also received stuff I've needed for projects for pennies on the dollar.

    --
    "Eve of Destruction", it's not just for old hippies anymore...
  5. Donate it to someone who needs it! by jcbphi · · Score: 3, Insightful

    Its not so novel, but I'm sure there are plenty of schools, community centers, etc. around where you live that could always use spare hardware. A lot of the boxes these organizations receive are stripped down, and having extra sticks of RAM is very useful for them.

    My grandmother uses a computer built from donated parts that a local group provides for the elderly, and she's now able to talk with her 4 generations of family over email (which is pretty well spread around the world now). There are probably tax breaks for you too, but in general donating unused hardware to those that will use it is a Good Thing.

    1. Re:Donate it to someone who needs it! by jbn-o · · Score: 3, Informative

      I concur, please do consider donating the memory. I worked for a local place that refurbished donated computers and used them for a community networking initiative which provided poor people with:

      • a gentle introduction to using a computer (many hours of hands-on use with an instructor who can answer questions on-the-spot),
      • a computer system (including all the hardware and software they needed to do real tasks),
      • and a dialup account at the ISP operated by the organization.

      All of this was provided at no cost to the recipient. As I understand the financing, the place is run on a combination of grant money, selling dialup accounts and hosting, and donations. After building and testing a bunch of low-end machines used for these classes, my work there ended. It was a good karma job with good people working there and I would work there again if the need arose.

      As a former technician there, I would have been grateful to receive donated RAM for what is today considered old. I'm sure someone's machine would have used it (or some machine that will soon be donated there would use it).

  6. Suggestions by MBCook · · Score: 3, Interesting
    Well, my best suggestion would be to sell the stuff (eBay or a local shop) and use the money towards what you want.

    That said, if you want to do it yourself, there is one thing I think would work reasonably. Now the cost of doing this might not be low. I don't know. Here we go:

    There are tons of PLCs and ASICs and stuff on the 'net with lots of free code for 'em. There is free code to interface with memory modules so your chip could talk to ram and use it in a project. There is ALSO free code to talk to a hard drive (make a IDE interface) for your MP3 player or whatever. Now it seems that with all that documentation, it shouldn't be too hard to make a simple little state machine that translates incomming IDE requests to specific RAM addresses (a simple mapping from C/H/S or LBA to address should do it), fetch (or write) that data, and return it over the IDE interface (which you would have to make "backwards" from most on the web because you want to BE the HD, not talk to it).

    I would think you could get some good speed out of that, shouldn't be hard to make it faster than a simple hard drive. The biggest problem would be that it would need to be partitioned and formatted at startup, but that could be easily done in a script (and it's not like it would take long if you skip bad block scans and such).

    Someone may have already done this if you look hard enough.

    So that's my suggestion. Would be a cool little project, and it shouldn't be hard to put as much RAM in as you want, you just have to multiplex it. The biggest problem would be refreshing all that RAM if you multiplex it. But those are problems for you to solve. Now if you DO do this, PLEASE post results (or at least expiraments) to /., as I'd love to see what you come up with (even if you go with another solution all together).

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
  7. Re:You probably want static ram by jnik · · Score: 3, Informative

    SRAM (Static) actually keeps it's state when you power it off
    No. SRAM keeps its state as long as it's still powered. DRAM is in a state of continual decay, and must be refreshed on a regular basis.

  8. Use tmpfs by DocSnyder · · Score: 3, Interesting
    tmpfs consists of "file system cache" without a physical file system, stored in shared memory and pageable to swap space. Lacking real I/O, it runs like crazy and makes the slowest boxes fly. Export the file system via NFS or Samba/CIFS and use it for very fast network storage.

    # mount -t tmpfs -o size=$muchbutlessthenvirtualmemory tmpfs /work
    # mount -t tmpfs -o size=384M,nr_inodes=384k tmpfs /work

    tmpfs paged out to swap space on a real hard disk is still much faster then ext2/ext3/reiserfs/xfs/jfs/... on a hard disk partition. Without swap space, don't fill them up beyond your physical memory size minus about 32 MB for the operating system, or set the size limit to such a value.

    The only disadvantage of tmpfs is the complete loss of its content after unmounting it. And of course you'll have to fill it after mounting it.

  9. Making a dedicated RAM disk. by Yaztromo · · Score: 3, Interesting

    Here's my suggestion. Get an older system which has a motherboard which accepts the memory you have -- preferrably one with lots of slots. Install as much RAM into it as you can, along with a NIC.

    Install Linux or FreeBSD on it (if it has a hard drive -- if not put together a bootable diskette), and create a big RAM disk -- as big as you can. Set-up either NFS or Samba to allow network access to the RAM drive.

    And if you're going to use it for storing anything other than /tmp, put the system on a UPS. Nothing worse than losing a whole disks worth of data due to a minor brownout.

    Yaz.

  10. Same Question for Old CPUs by pipingguy · · Score: 3, Funny


    Once I upgrade the two AMD MP 1800+ processors from my current computer what do I do with them? I'm not an eBay person and I'd hate to just give them away to a local shop. Since these matched CPUs (supposedly) need specific, fairly rare motherboards and RAM, I figure that donating them to a local school or whatever might be a waste.

  11. ramdrive controllers by winterdrake · · Score: 3, Informative

    http://www.hyperos2002.com/07042003/products.htm

    HyperOs HyperDrive III, 16GB capacity, ATA100, rather pricey.

    http://www.cenatek.com/

    Cenatek Rocket Drive, various product versions, PCI instead.

  12. FreeCycle by Solder+Fumes · · Score: 3, Informative

    Freecycle is a neat community giveaway-fest run through localized Yahoo groups. I live in a town of 100,000 and the Freecycle group has 700 members. I've given away old monitors, tables, couches, even a car. I got a nice little dual-proc server. Right now I'm paring down what I have for an upcoming move, but it's a great place to get free stuff. I see bedframes, dressers, computers, bikes, clothes, it makes dumpster-diving obsolete.

  13. Re:You probably want static ram by lachlan76 · · Score: 3, Informative
    The problem is that the D in DRAM means Dynamic. When you lose power, you lose all the data. SRAM (Static) actually keeps it's state when you power it off, more like a hard drive does

    No. There are three main types of RAM:
    • SRAM
    • DRAM
    • NVRAM

    SRAM (Static) will keep its state as long as it is powered on.

    DRAM (Dynamic) will lose its state, and must be regularly refreshed as long as it is powered on.

    NVRAM (Non-volatile) keeps its state even when powered off.