Transcode to RAM

Transcoding is both a read and write intensive process. You need to read from the disk and write the transcoded video to the disk. This is a concern with storage that is more prone to wear from write operations (SSDs, SD cards). The suggestion here is to have an option in PMS to prioritize writing the temporary transcoded video to RAM (when enough system RAM is available). This would eliminate write operations to the disk in systems with enough RAM.

This is possible in Linux and Windows systems by mounting a RAM disk and pointing the transcoder to it. However, in turnkey NAS systems (especially using docker), it is not viable to mount a RAM Disk that remains after a system reboot. Having this option as a feature in PMS would be ideal for such systems.

Heutige SSDs haben eine TWB von 1000TB z.B. bei einer WD Red SN700 500GB. Das bedeutet: Ich kann die SSD jeden Tag innerhalb Ihrer 5 jährigen Garantiezeit vollkommen neu beschreiben. Mein NAS hat 2 Stück davon als RAID1 und beherbergt PMS. Ich denke, damit stehe ich auf der sicheren Seite.

Just google

docker /dev/shm

However, as was already pointed out above: it doesn’t make much sense.
Plus, your typical NAS device is rather short on free RAM to support a RAM drive that is large enough for storing the transcoded/remuxed chunks for a whole movie – probably even for several concurrently running playbacks.

1 Like