Any advantage to DietPi-ARR_to_RAM when using an SSD? Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
ainuke
Posts: 14
Joined: Tue Jun 09, 2020 8:44 pm

Any advantage to DietPi-ARR_to_RAM when using an SSD?

Post by ainuke »

I think the title says it all, but I'll elaborate a little.

I have dietpi_userdata on the SSD, destination directories for processed files are on Window's shares on another server.
Everything is working fine.

If the db files for the -arr apps are already on the SSD with the userdata, is there any advantage to shifting them to RAM as (as I read it) this script does? I'd like to keep the SD card doing as little as possible, but not at the expense of stability. As it is, it takes <5s for Sonarr to load up the database when I access through the web portal.

Sorry if this has been asked before; I really did search for other posts.

Erik
Official Pi4 4GB
LoveRPi POE HAT, ArgonOne Fan HAT, WD SSD over USB3
SAB, Sonarr, Radarr, Lidarr, Deluge, PIA-VPN

Official Pi4 4GB - attempting Mine OS

"The mistakes you learn from don't have to be your own."
User avatar
Joulinar
Posts: 2072
Joined: Sat Nov 16, 2019 12:49 am

Re: Any advantage to DietPi-ARR_to_RAM when using an SSD?

Post by Joulinar »

Hi,

many thanks for your question. Well, in generell RAM will be always faster than disk access. If you are ok with speed, you can leave it as it. On a SSD it might not have that much advantage compare to a HDD but it could as well reduce r/w operation to keep your SSD healthy.

viewtopic.php?f=8&t=5828
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
ainuke
Posts: 14
Joined: Tue Jun 09, 2020 8:44 pm

Re: Any advantage to DietPi-ARR_to_RAM when using an SSD?

Post by ainuke »

Perfect, thanks!
Official Pi4 4GB
LoveRPi POE HAT, ArgonOne Fan HAT, WD SSD over USB3
SAB, Sonarr, Radarr, Lidarr, Deluge, PIA-VPN

Official Pi4 4GB - attempting Mine OS

"The mistakes you learn from don't have to be your own."
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Any advantage to DietPi-ARR_to_RAM when using an SSD?

Post by MichaIng »

This feature is mainly addressed to SDcard systems, where reads/writers are often much slower then SSD or even modern HDD and which start to produce data corruption much earlier. Second to allow external userdata drives to spindown since this database is written to very regularly. For an SSD I don't see much reason, only for perfectionists who want to reduce drive writes to an absolute minimum.
Post Reply