28

PSA: RAM Disks are amazing.

So, I've just discovered something which I haven't really thought of before-- RAM disks.
Pretty self explanatory, a disk which uses RAM.

Obviously SSDs are fast but HOLY FUCK THIS IS BEAUTIFUL!!
IT IS INSTANT-FUCKING-TANIOUS.
Imagine an SSD stuffed with caffeine and then given steroids. It is wonderful.

If you spare RAM I must recommend you at least try it:
https://sourceforge.net/projects/...

Comments
  • 3
    Why tho. Isnt M.2 or SSD raid0 fast enough?
  • 1
    @Gregozor2121 I haven't looked into it recently, but I'm fairly certain it would be on par (or close) to the latest NVMe M.2 SSD that have average read/write speeds of 3,400 Mb/s and 2,500 Mb/s.
  • 4
    @Gregozor2121 @Jilano
    https://transcend-info.com/Support/...
    DDR4 is far faster, 17GB/s (Bytes not Bits) at its slowest.
    (136 000Mb/s)
  • 6
    @24th-Dragon Yes, as far as I know this works by first copying all required files from the actual harddrive/SSD after boot, and then the stuff stays in RAM until you shutdown.

    So basically you force it to keep stuff you deem important in RAM.
  • 2
    @24th-Dragon

    You dont use it for storage but for performance increase. They have to use normal hdds for ssd to save data permamently
  • 5
    @RantSomeWhere it is nothing new,
  • 9
    Aaand then your power goes out
  • 3
    Yeah, I created ram disk with some command on Ubuntu to test browser image loading.
  • 2
    @irene told me about tmpfs long ago, it's a similar concept, and bloody fast, been using it heavily.
  • 1
    @deadlyRants so, basically forced caching? or am i completely off track here?
  • 4
    This is nothing new? initramfs?
    Puppy linux has used them forever, too.

    They even exist in Windows lol
  • 0
    @Root never had any idea about them haha
  • 2
    I had a RAM disk on my Atari ST, and the DOS crowd had something similar with config.sys hackery. That was before 42% of the DR members were even born.
  • 3
    Yeah RAM disks have been around for a long time. If you think about it, they’re the logical inverse of virtual memory: one is using hard disk to give you additional working memory, the other is using memory to give you super fast “storage”.

    There’s also memory-mapped files which are similar but act by mirroring files in memory.
  • 0
    @irene it also saves the sd card in your raspberry
Add Comment