By the way, this thread has meandered beyond both its stated subject
Yes, threads can easily meander off-course.
My posts in this thread have been an attempt to answer certain specific questions, in particular, questions that show a certain amount of confusion.
Where is the 120 Mbs of Buffered 'files' and the 1351 Mbs of Cached 'files' physically located?
The 120M of space for buffers is in ram. Physically, the ram chips on the motherboard. The 1361M of space for the cache is also space used in ram.
Strictly speaking, the buffers and cache space do not contain "files". Data from the block device that contains the file system is copied block by block from the device to the buffer space in ram. As data is copied to and from the buffer space, the blocks of data are also copied to the cache space, just in case it might be used again a little later.
The number of bytes used by the cache includes space used by the tmpfs file system (/tmp and the pup_rw top aufs layer if running in mode 5 or mode 13). So the space used by cache is temporary copies of the blocks in the buffers, and the blocks of data that make up the tmpfs file system. Clearing the cache will not delete the files in /tmp and in pup_rw.
what is the mechanism used to provide the information contained in the files on the storage medium to the operating system in RAM?
A file system contains the data that is the contents of each file, but a FS also contains meta data, for example, the file sizes, the paths in the file system, permissions, block allocatin data, etc. The file system drivers understand how the file system works, and can understand what the blocks of data in the buffers and in cache mean.
What is the significance of the above reported "Used RAM: 1865 MB"?
What exactly is reported by various program, for example, free
, depends on that program. Different programs have different names and each program calculates values like memory free, and memory available etc, etc. I think it's often best to (as bigpup suggests) allow the kernel to do it's job, and automatically handle the ram. It usually does a fairly good job.
What is the Pup-SysInfo actually telling about RAM usage?
Each program show information about memory usage in it's own way. The programs are reporting memory use based on data from the kernel:
cat /proc/meminfo
Most of what the kernel is doing is automatic, and it can be difficult to interpret the data.
In your case, you have Total RAM: 15904 MB
16GiB of ram, which should be plenty of ram for most applications in the Puppy OS.
What is the significance of the above reported "Used RAM: 1865 MB"?
In this case, it is ram used by programs, drivers, etc + buffer space used + cache space used.
The cache space includes space that is being used by files in the tmpfs (including files in /tmp)
The "Actual Ram Used" is "Used RAM" - buffers - cached
Each program reporting memory usage does it it's own way.
Most of the time, you can follow bigpup's advice and just let the kernel do it's job.
Actually, don't answer the above questions on this thread.
Whoops, too late.
Save file or ydrv.sfs shouldn't make any real difference.
copy should use about 500MB more than nocopy.