PDA

View Full Version : RAM Disk


ccd1
Fri 2nd Aug '02, 5:05pm
This is for all you Linux users.

How many of you use RAM disc? For those of you that don't know, it's something that grabs a portion of your RAM and treats it like your hard drive (which makes it super-fast).

Any draw backs to it?

rylin
Sun 4th Aug '02, 10:19pm
any data on the ramdrive will be lost when the machine powers off

eva2000
Sun 4th Aug '02, 10:29pm
yeah if the machine shuts down the info on the ramdrive is gone..

i used a ramdrive on winxp pro for a while but if i crashed and had to reboot i lost the data... so ended up moving it back onto disk :rolleyes:

rylin
Sun 4th Aug '02, 10:35pm
I've kind of fixed this for myself though,
every minute, the data on the ramdisk is copied back to HD.

i suppose it would be possible to write a small daemon with filesystem hooks, noticing if a file changes (and if it does, copy it to a alternate location)

on reboot, the latest copied version is restored onto the ramdrive

eva2000
Sun 4th Aug '02, 10:48pm
yeah the ramdrive software i used in winxp has manual backup to disk function :rolleyes:

ccd1
Mon 5th Aug '02, 2:36am
cant you just use shadowing and every time the computer boots the files you need are transferred to the RAM?

Floris
Mon 5th Aug '02, 2:50am
I have mine setup for certain temp files.
Not all system temp's are written there :) We do not want to encourage corruption. It helps a little on those old servers with lame hd's and specs.