I can't think of any works using 1.5TB of RAM, especially with macOS. Can anyone explain and tell me which software and work require tons of RAM space up to 1.5TB with macOS?
One thing I wish is there were some RAM disk tools.
But SSDs cannot handle the super fast random accesses like RAM can. Sequential throughput is great, but lots of random read/writes are significantly slower than RAM.
So if you have a lot of random accesses, like for database work, having a giant RAM disk for the that, with some kind of write-out caching to a fast SSD would be pretty great.
It would be cool to have like a UPS battery backup for the motherboard itself too.
There is - MacOS comes with ramdisk utilities. For development you could have a master database in RAM and replicate to another database that’s on the disk, intermittently copying out the changes or dropping the data on restart - depending how important the data is.
I've had workflows that benchmark *slower* from a RAM disk.I'd love an app that basically on boot, copies and entire drive over, and then boots and runs from ram.
I've had workflows that benchmark *slower* from a RAM disk.
The reason is that RAM disks are CPU heavy - the CPU is working to transfer each of the bytes.
Real disks (particularly PCIe disks) offload all of the data transfer work to the DMA engine - zero CPU involvement until the drive signals "done".
If your application is heavy on both CPU and "disk", the RAM disk can steal cycles from the CPU and slow the overall speed.
One thing I wish is there were some RAM disk tools.
But SSDs cannot handle the super fast random accesses like RAM can. Sequential throughput is great, but lots of random read/writes are significantly slower than RAM.
So if you have a lot of random accesses, like for database work, having a giant RAM disk for the that, with some kind of write-out caching to a fast SSD would be pretty great.
It would be cool to have like a UPS battery backup for the motherboard itself too.
In terms of speed (and speed is good) we have in an ordered list (an incomplete list at best)
Processor performance
Processor cache (L1, L2, L3, etc)
Memory (RAM)
Fast i/o devices such as SSDs
Flash-based devices
Spinning disks (single spindles and multiple spindles using RAID)
Networks
Tape media
Command line or 3rd party tool, but the command line is just one line.What is the app or is it some command line tool?
I'd love an app that basically on boot, copies and entire drive over, and then boots and runs from ram.
$ diskutil erasevolume HFS+ 'RAMdisk' `hdiutil attach -nomount ram://1048576`
Started erase on disk3
Unmounting disk
Erasing
Initialized /dev/rdisk3 as a 512 MB case-insensitive HFS Plus volume
Mounting disk
Finished erase on disk3 RAMdisk
$
Yes, the bane of RAM disks.Reboot and you lost it all.
Yes, the bane of RAM disks.
Cores is certainly something that could affect things. If you have lots of cores, losing one to RAM disk data copies wouldn't be significant.That's a great point. I wonder if it may depend somewhat on how many cores you have perhaps too? How many full time cores would it take to move memory around? So perhaps less impact on a high core machine? Or if each core has to arrange it's own memory, then perhaps more. So yea, depends on the nature of the applications you're running, I suspect.
It does seem to need the super-capacitor or an alternate power source to keep data intact after unexpected power failures.Evidently , it doesn't need a battery .
This all seems like a really long-winded way of stating that there are no obvious reasons to install that kind of memory in a machine running the typical video-, photo- or audio-applications as advertised by Apple and generally associated with the platform. 😇
The way this and the original post are written seems to doubt that Macs have applications outside video/audio that benefit from having lots of RAM, even with the examples from users above. Apple's website actually advertises Mac Pro performance for Matlab, Mathematica, and development build times in addition to video/audio/photo. This shouldn't be surprising since Macs have long been popular in many scientific and technical fields, even before Apple switched to a Unix-based OS that gained mainstream application support, which made Macs a no-brainer. The latest Mac Pro just means there's now less of a need to use additional machines (cloud or local) for some high memory jobs as well.This all seems like a really long-winded way of stating that there are no obvious reasons to install that kind of memory in a machine running the typical video-, photo- or audio-applications as advertised by Apple and generally associated with the platform. 😇
640K is all anyone will ever need 😁