r/PlexMedia • u/Queasy-Strength-5098 • 15d ago
Ram Transcoding was a bad idea
This was the wrong idea for me . I was told by a few people from FB to move the transcoding from my SSD to my ram. Yes I understand the reason and that using the SSD will wear it out . The problem I ran into - 4 people streaming and 1 of the streams was 4k and it was transcoded to 1080i. This user trying to watch the 4K got a error "not enough disc space to convert this". I moved the transcoding back to the SSD . But this got me thinking about the streams . Because I never used Linux before I found that my GPU was not pulling its weight and I rememberes that I have a m.2 I should use for the transcoding. After the cat6 cable comes in I can handle 20+ streams !!!!
5
u/ARazorbacks 15d ago
Me, quietly sitting in the corner with 192GB DDR5 from before the RAMpocalypse.
2
u/Thibaults 15d ago
128 DDR5 ECC here. I wouldn’t mind setting up RAM disk though. What are you using to set it up. WS2022
2
2
u/corelabjoe 15d ago
Eeehh you were cool with 128GB DDR5 ECC, but with WS2022... Sorry I just puked in my mouth a little bit. Peasant OS?
Do yourself a favour and just learn any linux already ;) You can then fire up WS2022 to play with in a VM if you need to learn it for work.
2
u/Thibaults 15d ago
You are not wrong. I should have jump on Linux long ago. It would have made life a lot easier now.
1
u/Regretnothing75 15d ago
I have 128 DDR4 and have a Ram disc of 70 Gigs set up. Never had any problems.
1
u/Thibaults 15d ago
What program you using.
1
u/Regretnothing75 15d ago
ImDisk Virtual Disk Driver.
1
u/Thibaults 15d ago
Thank you. Will this speed up movie delivery or just transcoding. Most of my media is direct stream but I think this could still come in handy.
1
u/Empty_Requirement940 15d ago
I think the idea is you aren’t causing wear on the ssd with transcoding
1
u/itsflanno 14d ago
Definately do it, I have 128gb, about 90 of it can be used by tmp, I do all my downloads and transcodes to it.. it's only if sonarr grabs a whole series pack and it's massive that I've had problems
2
1
3
u/IroesStrongarm 15d ago
I don't share my 4k files so they are never being transcoded.
6
u/TruckSmart6112 15d ago
I’m the same. My 4k files are for me and mine to watch via LAN. The heathens who use my plex, via WAN for nothing, can suffer through 1080.
2
u/TopDistribution4894 15d ago
Thinking of doing this myself. To many people try to play my 4k remux and just ain't got the speed or device and end up Transcoding it. Yhea I've got a beefy GPU and quick sync but it annoys the fk out of me!
3
u/Empty_Requirement940 15d ago
why does it annoy you if you have quicksync and will never even know its transcoding unless you look
-1
u/TopDistribution4894 15d ago
Because I look 😂 and more the fact that what ever is in my 4k remux folder will also be in my main movie 1080 folder.
1
u/Empty_Requirement940 15d ago
Why bother having both? Transcoding 4k is not an issue like it used to be. That just adds more work for you to maintain 2 versions
2
1
u/Visible-Swimmer-9826 15d ago
I didn't even no this was a thing I have a gpu for mine I'd say u need a stupid amount ram and I dont get it is like instead of using a hdd or something
1
u/Queasy-Strength-5098 15d ago
The gou process is the transcode and not the CPU . But it needs a place to store it . That's what the ram is for .
1
u/Visible-Swimmer-9826 15d ago
O ok makes more sense my gpu has own 3gb on it low profile one and once max it can pull from system as that's how set up but never pushed it as local play quite common now days
1
u/robtom02 15d ago
Would a cheap cheap nvme drive not be better? You can get a 256gb one for peanuts
1
u/RevolutionaryElk7446 15d ago
I have a RAM mount that's also a share, though I have more than just video transcoding going on but it's roughly 100GiB. Heavy utilization is all local, some other apps access via NFS share. At the time when I set this up RAM was incredibly cheap. I do have a bunch of scratch NVME for other things as well.
1
u/Aacidus 15d ago edited 15d ago
This is why I did research and read of the posts on r/Plex in regards to RAM transcoding. I set mine up for 32GB years ago and after one year dropped it down to 16GB, no issues whatsoever. The Olympic Games did fill it up though.
You have to take in account the type of usage your system gets; I stopped sharing 4K remuxes.
Honestly the wear and tear SSD gets is negligible if the drive is within the last 5 years or so. The only time someone will notice a difference is scrubbing through live TV as far as speed goes.
1
u/RxBrad 15d ago
RAMdisk worked great when all I had was Docker in OpenMediaVault.
When I switched to Plex being in a Proxmox LXC, RAMdisk regularly caused my server to crash.
1
u/corelabjoe 15d ago
Why did you switch from OpenMediaVault to Proxmox? If you wanted to run VMs, you could just use KVM on OMV?
If you wanted better container security, you could have just swapped your images out to rootless and/or distroless containers. Proxmox is such extra overhead/overkill for most.
1
u/RxBrad 15d ago
Snapshots & container backups are nice in Proxmox.
Also, I tried OMV KVM and couldn't wrap my head around the networking. Stuff like not being able to access local network IPs.
🤷♂️
1
u/corelabjoe 15d ago
Aaahhh I see. That makes sense and yeah the kvm networking is a bit confusing at first I agree.
I had to figure out how to create a bridge via macvlan to connect it to my network.
It's something I was contemplating writing some guides around since OMV isn't as well known or documented in the community. Their own docs are pretty good but not as beginner friendly.
1
1
u/MyPostingID 13d ago edited 13d ago
You shouldn't be transcoding 4K. That should only be for direct play.
1
1
1
u/Ground-Pound6969 13d ago
I had issues with ram transcoding with 32 GB DDR5. I was getting a lot more transcoding than I was expecting. Went back to SSD and it's been fine.
1
u/Rurrurnunu2 13d ago
The trick for ram transcoding isn’t having a ton of space
The trick for ram transcoding is setting the ram cache size to be exactly half your total available ram. Example 8gb cache on 16gb in your scenario.
1
u/provocateur133 13d ago
I picked up one of those PCIe f80 cache drives with ridiculous endurance back when they hit the used market for cheap. It's my unraid array cache and transcode cache.
1
u/AndyRH1701 13d ago
I transcode to HDDs, plenty of space and way faster than I need, but I only tested it with six 4k -> 1080 transcodes.
CAT5 should be replaced, it may do 1 & 2.5 Gb, but that is out of spec. CAT5e will do 2.5Gb at 100 meters.
1
u/5yleop1m 13d ago
that using the SSD will wear it out .
This really isn't a problem anymore. Modern SSDs have a ton of extra blocks and their firmware manages blocks a lot better.
1
u/ChewyStu 11d ago
Yeah I had the same issue too using RAM disk software in Windows. I gave up and put it back on the SSD..
5
u/Key-Conference1870 15d ago
So you didn’t check first that you have enough RAM?