Page 1 of 1

Any advantage to DietPi-ARR_to_RAM when using an SSD?

Posted: Sat Jun 20, 2020 3:26 am
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

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

Posted: Sat Jun 20, 2020 3:54 am
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

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

Posted: Sat Jun 20, 2020 3:35 pm
by ainuke
Perfect, thanks!

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

Posted: Sun Jun 21, 2020 10:33 am
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.