"My experience in the past with RAM disk in OS X was that it would still write changes to disk"
It guess data could still be written to the page file, if there wasn't enough ram available for both the
system and the ram disk. Of course, the ram drive gets priority, which could aggravate ram
availability to applications if ram resources were becoming depleted.
" - and was basically hindered performance."
Increased page file activity and/or limited ram resources could definitely hinder performance.
I was just using a 2GB ram drive earlier today (SL 10.6.4). According to activity monitor, no page
outs were being employed. actual ram usage was less than 2GB total. I was only working with
300mb size files in the ram drive though. I guess SL only allocates the memory as needed for the
ram drive when it is needed. According to activity monitor, it only showed increase in used memory
when I began filling up the ram drive with files. As soon as I deleted (ejected) the ram drive,
the memory availability returned.
I use the ram drive for many things, but mostly for a temporary place to store data I am using
for encryption and the making of encryption keys. Once done, I can delete the drive and no traces
of its contents are left. SL also allows encryption of its page file, so if some data escapes into the
pagefile, it is at least the escaped data is encrypted.
Kj