Jump to content
XPEnology Community

Xpenology NVMe Cache auto-activator for TCRP


Peter Suh

Recommended Posts

Xpenology NVMe Cache auto-activator for TCRP release.

 

https://github.com/PeterSuh-Q3/rp-ext/tree/main/nvme-cache

 

If you have newly built the M SHELL for TCRP Friend loader
TCRP automatically activates NVMe cache.

Currently, DS3622xs+ and DS918+ are shipped, and support models will be shared as they continue to expand.

After DSM installation is complete, reboot to enable NVMe cache.

 

Developed as a service like powersched
When the nvme-cache service is running, the first time when booting DSM, it searches whether or not NVMe cache is installed and activates it.

 

like below
You can also download and run nvme-cache.sh separately without building a loader.
However, nvme-cache.sh, which is not included in the service type or scheduler, is executed once, and NVMe cache may be disabled again due to migration between Synology models or DSM Update.

sudo -i
curl -L "https://github.com/PeterSuh-Q3/rp-ext/raw/main/nvme-cache/src/nvme-cache.sh" -O
chmod +x nvme-cache.sh
./nvme-cache.sh

 

It is recommended to rebuild the loader and use it if possible.

 

In conclusion, if you rebuild M SHELL for TCRP, install DSM, and reboot, the cache will be recognized by itself.

 

P.S : I want to improve the function so that the cache operates at once without rebooting once after installing DSM.
I need help from pocopico or fabio.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

[NOTICE]

 

Xpenology NVMe Cache Auto Activator DVA3221 / DVA3219 Denverton are all supported.

 

So far, only the DVA3221 / DVA3219 Denverton models have not been able to activate NVMe Cache.
A solution came out on the ARPL topic side and applied it.

 

Only the Denverton platform is missing the supportnvme="yes" setting in the /etc.defaults/synoinfo.conf file.

If this setting does not exist, a script is included to automatically detect and register it.

 

All of the TCRP platforms are now available with no NVMe cache disabled models.

M SHELL for TCRP includes this script as a bundle, so you don't have to work separately.

 

Like the last notice, if you want to add only this function in the existing ARPL or TCRP, you can apply it as follows.

 

sudo -i

curl -L "https://github.com/PeterSuh-Q3/rp-ext/raw/main/nvme-cache/src/nvme-cache.sh" -O

chmod +x nvme-cache.sh

./nvme-cache.sh

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...