I know you think they do especially because this has been pounded into our heads since the days of the 64kilobyte systems. Even with 4GB of memory some of these things are true and meaningful. But with 32GB or more almost all those rules and conventions fall on their faces and die. Tested, proven, experienced.
That's not what I think, it's how things work. Period. You can't change the way operating systems and applications use memory unless you create them yourself

It is what it is no matter how much memory you use. And it's a good thing because it allows applications to run smooth on low memory systems as well as on those with heaps of memory. No need to upgrade your system to be able to run something.
Using a ramdisk might help but you are still not solving the problem, only masking it. You'll also create other problems since ram is volatile. Reboots, system hang ups, power outages and so on will cause dataloss. If you do not have enough ram in your system you'll also cause out of memory errors. Thus you'll need more memory which is a problem because operating systems have limits (for OS X this is 96GB).
Mind you, people who use 32GB or more of memory do so because they need it. A machine that can use those amounts of memory isn't cheap and neither is the memory. Also something like ECC is going to be a requirement for such large amounts of memory.
Ramdisks should only be used as scratchdisk. They are risky which has indeed been tested, proven and experienced by many since the day it existed.
So it's a nice techy post but holds very little meaning for me and probably the same for most other users with 32 to 256GB or memory.
You can't use more than 96GB an a Mac running OS X. People with such amounts of memory do other things with it. Hardly anybody uses ramdisks any more.
If you want a smooth and good performing computer you'll need more than just ram. It requires to invest in cpu, disk, memory and probably some more components.
In the end the only thing that matters is how fast a task gets done.
Exactly. That's all users care about and probably should care about.
However, for people who want to use something like a ramdisk it is more beneficial to actually know how a computer works and what a ramdisk is and, most of all, what it isn't. What I see here is people trying to solve a problem the wrong way. They are digging a hole so they can use the sand to fill another hole. They forget that there still is a hole, it's just elsewhere now. If you have any kind of performance problem it is a wise thing to look at the entire picture, not just 1 part. Try to find out what is slow and why. Then you'll know what to do to fix it.
If I copy the source code to a ram-disk first, this is sequential read from the HDD and write to the ram-disk. Then I build the program, which creates the random read and write accessonly this time on the ram-disk. There, the difference between sequential and random access is negligible.
There are quite a lot of applications that do something like that automatically. Firefox is one of them. Mozilla advises against setting limits on this as well as using it on a ramdisk. Firefox will use memory when needed and use disk cache when needed. They let the OS handle it so it can balance the load of the machine. You want this so you can have other applications running smoothly at the same time as well. In some cases you do need to do this yourself but that's more for the experienced. As for compiling you could use something like memcache. Not in all cases because it can cause problems (which is similar to ramdisk; not everything likes being put in memory); macports is an example of that (some ports simply do not compile, they'll throw an error).
So, while a ram-disk is definitely no panacea, sometimes it can help to tweak performance (as in measured by the stopwatch).
Exactly. It has its uses but they are not as big and general as Tesselator is making us believe. This is why you should know what a ramdisk is and when you should use it.
[/quote]
A ram-disk (at least the built in ram-disk) does not make this last region of memory accessible. The memory for the ram-disk is taken from the memory which the system sees.
So you still can not use the last 32 GB of RAM (at least for now).[/QUOTE]
The link I posted has some details as to why it can't do this. It also explains why a ramdisk requires you to have a certain amount of ram; applications and such are not placed into ram, they are given a virtual address that is either in the active or inactive part of ram or in the pagefile/swap. If you don't have enough of those virtual addresses you'll run into memory problems. Although it's a good read it is quite technical.