RAM disk in OSX

twitchg3

Senior Member
Does ANYBODY know how to set up or create a RAM disk on OSX? I heard that its created by default for some reason, but if so, how do I access it, or install things onto it? Anybody have any info or websites about ram disks for OSX?
 
I was also wondering about the ram disk? would be possible to set as a swap file partition? Does osx even have a ram disk?
 
I was thinking about that swap partition deal but I dont know anything about that. The ONLY things I know about RAM disks are that in OS 9, it was simple through the Memory control panel. And then anything on that RAM disk was very fast. That would be nice to set up like a 200mb RAM Disk and install some programs on that. Imagine installing OSX on a RAM Disk =) That would be tight.
 
So, a swap disk is like setting up virtual RAM in OS 8+ right? That is not a use to me since virtual ram is basically HD space but with RAM. Makes it VERY FAST. So, a swap disk in OSX is not a solution. Thanks though.
 
Everything I have seen so far points to the removal of the RAM disk functionality in OSX... too bad, sometimes the Ram sik was perfect for work... especially video and audio editing.

Here's to hopeing that I am either wrong or that Apple will add it back in again.
 
swap disk = slow memory for your system

ram disk = fast disk space



you can easily spare lots of swap space from your drive, if you have several gigs, and it can greatly help your system to have your swap disk seperated from the rest of your disk by making a seperate partition. it improves performance of your system greatly. and it is a cheap price.

ram disk is much more expensive. you don t get much storage space, ram space is much much more expensive than disk space, and every meg of ram that you use for disk space costs you RAM you could use for memory which will slow your system. but if you have lots of ram to spare, and you can afford it, then you get a disk that is extremely extremely fast. for things like web caching, it can be really effective, if you can spare the ram. a lot of people really like this feature.

according to the darwin developer who posted on the thread i put up before, implementing an efficient ram disk is extremely difficult. so you hear it from the horses mouth. RAM disk is not available in OSX. i personally believe that apple will want to offer us at least every feature for OSX that was available for OS9, so i think it will come out eventually for OSX, though i don t think it will be soon. i don t personally have a use for RAM disk, ut it sounds cool, and i can imagine that when i need it, it will come in great use.

let s be patient, shall we?
 
I will both applaud Apple and scratch my head in wonder if a RAM disk feature is added to OS X. In OS 9, since everything was statically partitioned, and you could turn off VM, you had control enough for a properly implemented RAM disk.

However, in OS X you don't have the fine control. Two simple RAM disk implementations for OS X are the following: either just allocate a large hunk of RAM and use it as a disk, or hardwire a set amount of RAM for the disk. Either one has large issues. The first one can get swapped out to disk, slowing it down and negating the speed boost. The second can possibly cause RAM fragmentation is it isn't allocated at boot (very bad), and essentially lock away that RAM, and doing as another poster said: slowing down your system since more stuff is getting swapped out to disk.
 
I too would like to see a dedicated RAM Disk capability, but in the mean time, don't forget that OS X does a dandy job of caching disk read/writes on its own. A number of times I've been manipulating large files, and the first pass through is slow, but future passes are much faster at reading the data. Pretty nifty.

-Rob
 
Yea, OSX does a good job at caching things. Slow at first and fast after. Like opening applications: many bounces, then 2nd time and after less bounces. But, imagine installing OSX on a RAM disk and using that as a boot disk! Or imagine installing Photoshop on a RAM disk. That would be very very cool.. and fast. I hope apple gets it working soon.
 
You wouldn't be able to install OS X on a RAM disk, because OS X would have to be already running to manage the RAM disk... catch-22.

You do realize that by running Photoshop on a RAM disk, it lowers the amount of available RAM available for Photoshop and causes it to access the disk more often for it's RAM usage? Nearly negates (if it doesn't fully negate) the benefits of doing so. Photoshop is a RAM beast, and I would bet you need the full 1.5GB to prevent Photoshop from swapping out to disk and ruining the boost given to it from the RAM disk.
 
Back
Top