准备添加一块nvme缓存盘,有些问题想要咨询


Recommended Posts

这个缓存的具体逻辑是什么?我能理解为他只是一个读写加速用的盘,类似阵列卡的缓存吗?

就是我访问 /mnt/user/ 目录时,他会自动将热点数据先拷到缓存里然后给我读,写数据也是先写到缓存里再整块写到阵列里吗?

还是说只是单纯的就是另一个阵列。

Link to comment
On 4/27/2023 at 11:02 AM, VergilGao said:

这个缓存的具体逻辑是什么?我能理解为他只是一个读写加速用的盘,类似阵列卡的缓存吗?

就是我访问 /mnt/user/ 目录时,他会自动将热点数据先拷到缓存里然后给我读,写数据也是先写到缓存里再整块写到阵列里吗?

还是说只是单纯的就是另一个阵列。

Cache pool你可以简单理解就是另外一个阵列(单盘cache就当是个快速的单独分区),但你需要配置一下怎么使用这个快速分区。 unraid的缓存和大家通常意义上理解的那种cache不完全一样。如果你不想看文档,快速简介在:打开Shares界面查看Share settings下面关于‘Use cache pool'部分的说明,如下图iShot_2023-05-04_16_29_08.thumb.png.e6437a79c50d17716ca03aece90bbf12.png

除开 No 是不使用cache,另外三个‘Yes, Only, Prefer' 是三种不同的使用cache的策略。

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.