DSM 7.0 Q: What is the different between buffer and cache

Currently reading
DSM 7.0 Q: What is the different between buffer and cache

As you can see the screenshot below, it was from Resource manager->Memory tab.

What is the different between buffer and cache? When the buffer/cache is used? I know when I transfer large files, the cache can be increased to 15GB.

Thanks
Capture.PNG
 
This arcitle seems doesn't explain the specific case on Synology. I know on a computer, cache is count by magebyte, e.g. 3M. But on a NAS, it count by gigabytes.

See the screenshot below. It was caught when I was transferring large files. The cache took 15GB.
Capture.PNG
 
Last edited:
I think: Any unused RAM space can be allocated to read write cache. My own system has similar to yours.
I think buffers refers to space dedicated to storage. SATA/SAS allow NCQ command queues. For SAS, that can be 256 commands, across 8 queues, per drive - or so I believe. All that takes RAM that cannot be freed and is essential to the operation of your drives.
Buffers may also include system buffers, temporarily allocated, for the running application.

Buffers are mandatory space. Cache is optional space.

Someone please jump in if this is incorrect.
1630778425922.png


I'm running 6 Cams, so Surveillance will probably pre-allocate some buffer space for each video stream.
Free space is just space left over by an application that has terminated. The system will slowly recycle and use that space but allocating it to Cached. There will probably always be some Free space as that region can be used instantly, while Cached requires an application to wait while the system Cache application is requested to let go of some of its space. That is not instant, but quick.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

  • Solved
Thanks Rusty, I've been reading a few articles and guides, and been trying to find a better way to make...
Replies
2
Views
1,768
Hi and welcome to the forum! Congrats! DS220+ is a perfect choice for your setup by the looks of it...
Replies
1
Views
1,362
You can use the DX517 expansion unit. But I’d rather upgrade the disks to a larger capacity or buy a new...
Replies
5
Views
5,141
No. They are different. In that thread, it is about exploring the possibility and possible cons of...
Replies
2
Views
1,322
  • Question
You are probably right! If this is the case, I will open a new thread with my questions derived from that...
Replies
5
Views
1,764
I use Syncovery (it's also available as a Synology package). For simple stuff there is FreeFileSync.
Replies
7
Views
2,195

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top