Using RAM for transcoding?

stammbraeu

Full Member
Original poster
Donor
Local time
11:23 PM
Mar 21, 2018
63
18
Hi

I have been talking to one of my friends who is running a local plex installation -
he told me that using RAM as the location vor transcoding increased his speed

i'm using the setup of plexguide and transcoding happens in /transcode

Wouldnt it make sense to change it also to RAM for 2 reasons:
1. it should increase the speed as the RAM should be faster than the SSD
2. using the SSD to write every transcode should dramatically reduce the lifetime of the SSD

As i have 32GB of Ram and most of it is rather bored as long as i dont add 100 films in sab at the same time it should be no problem to use it

Any feedback on that?

All the best
Stammbraeu
 

Xployt

Administrator
Moderator
Donor
Local time
10:23 PM
Sep 26, 2018
178
78
I'm fairly certain this is already the case.
 

pro_engineer

Senior Member
Staff
Donor
Local time
1:23 AM
Feb 1, 2019
131
42
Unless you mean mounting a scratch disk in ./transcode ? 32GB doesn't leave a lot left for a scratch disk though
 

vFlagR

Respected Member
Staff
Local time
10:23 PM
Aug 27, 2018
80
36
Glasgow, Scotland
Strangely enough I was looking for exactly this information today too.

Luckily for you, the set up is already done. All you have to do is go into your Plex settings and change the transcode path to /ram_transcode

PG has set Plex up to mount /dev/shm (a linux ramdisk by default) as /ram_transcode so you don't have to worry about this.

One thing to note, don't do this unless you have spare RAM you're not utilizing. From my testing today you'll need a couple of GB of RAM per simultaneous transcode.

1580245461961.png
1580245499104.png
 

pro_engineer

Senior Member
Staff
Donor
Local time
1:23 AM
Feb 1, 2019
131
42
Is that's all that's needed? Change the location to /ram_transcode ??
 

vFlagR

Respected Member
Staff
Local time
10:23 PM
Aug 27, 2018
80
36
Glasgow, Scotland
Yep, just double check in Portainer that your Plex container volumes look similar to my screenshot above. As long as you have /dev/shm mounted as /ram_transcode then the Plex transcode location setting is the only thing you have to change :)
 
  • Like
Reactions: Barrow1990

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads


Members online

Maintenance Donations

Recommend NewsGroups

      Up To a 58% Discount!

Trending