With such a lot of RAM available for the kernel RAM-based file cache, data can be fetched from RAM at 7 to 8 GBytes/sec. This is some 8 times faster than reading data from the internal 1TB SSD, 23 times faster than reading from the LaCie RAID-0 Thunderbolt 1 drives and some 50 times faster than from the LaCie Porsche P9233 4TB USB3 drive.
--------------------------------------------------------------------With such a lot of RAM available for the kernel RAM-based file cache, data can be fetched from RAM at 7 to 8 GBytes/sec. This is some 8 times faster than reading data from the internal 1TB SSD, 23 times faster than reading from the LaCie RAID-0 Thunderbolt 1 drives and some 50 times faster than from the LaCie Porsche P9233 4TB USB3 drive.
--------------------------------------------------------------------
I apologize if the question seems silly to you.
May I ask how does one get the data from the RAM, as you say.
Is there a procedure to follow to reach that or simply having 64 GB RAM makes that data is not taken from the inner HD or at least some of it comes to the user from the RAM, maybe the last used (?). I have not enough knowledge to know what you mean and how to obtain it.
Thank you in advance for your clarification and have a very good New Year!![]()
When you read data/files from an SSD, a disk, download a file from the internet, transfer a file from another Mac or from a NAS server the data will pass into the kernel's RAM-based file cache. From there it gets transferred/moved to the Application's memory arena. This last part/phase is what I'm referring to. The RAM-based data can be moved/copied to the application's buffers at memory speeds (in the MP6,1 case it's around 7 to 8 GBytes/sec). In some cases, the data isn't moved at all and the Application is simply provided a RAM address pointer or a series of RAM address pointers to where the data resides so that the Application can read up the data when it wants.
Now for data that is frequently accessed it's highly likely it will already be in the kernel's RAM-based file cache. So access to this data will be at the 7-8 GBytes/sec.
The Kernel's RAM-base file cache is dynamic and grows and shrinks as Application memory/RAM requirements come and go. The more RAM you have the larger the kernel RAM-based file cache is likely to be... thus it can hold a lot more frequently used data vs. a Mac will less RAM.
If you observe Activity Monitor's Memory tab display you will see that when the system has been running for a while all the system's physical RAM/memory is being used and a large chunk of it is likely to be the "File Cache". This "File Cache" is in fact the kernel's RAM-based file cache.
For example, I have 64GB of RAM and after awhile performing a fair amount of file activity the "File Cache" becomes quite large and can be as high as 40 to 50 GB in size. The "File Cache" is holding my most recent data being read and/or written by the system and by my Applications. Periodically (in simple terms) the kernel will in the background write out data that's destined for an SSD or a disk (a specific file system). This data is considered 'dirty' meaning it must be written to disk before the space it occupies in the "File Cache" can be released and reused. If no demands exist for the space the data stays in the "File Cache" and is no longer categorized as being 'dirty'. Now whenever this data is again wanted by the system and/or Applications it's quickly accessible and transferred to where it's being requested. This data can be moved in this manner at memory copy speeds which is 7 to 8 GBytes/sec.
There's a lot more detail surrounding how the "File Cache" is handled by the kernel. Suffice to say, this brief description should help you understand how data is obtained from RAM. This aspect is handled entirely by the MAC OS X system and there's little to nothing for the user to do. The user can obviously help/aid the system do more of this data movement at high-speed by installing as much RAM as possible. The goal here is to minimize the need for reading/writing data to/from disk repeatedly which as I mentioned can be 50 times slower than using RAM.
MacPro systems can have as much as 128GB RAM vs. a laptop's max RAM of 16GB. Thus the MacPro can have as much as 8 times more RAM than for a laptop. This is good for the kernel RAM-based file cache benefits.