Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3200

General Questions • /dev/shm vs a ramdisk

$
0
0
hello all, i'm new so go easy.

I'm currently running a headless deb 12 plex server with 64Gigs of ram. i created a 32G ramdisk under /mnt (so it's /mnt/ramdisk/ tell me if this is wrong, vs placing it in /tmp).

if /dev/shm is backed by swap than why wouldn't i just direct plex's transcoder to use the /dev/shm as its transcoder cache directory? if it runs outta space (which looks like it could when it's transcoding a tv stream) it would just put it to swap instead of the regular filesystem.

if i should NOT be running the transcoder to cache to /dev/shm, is there a way to safely limit it's size? it really won't be used as this is ONLY for plex so it just sits there, meanwhile i could increase the size of the ramdisk that I have to 48, or more, gigs.

thanks!!

Statistics: Posted by jcizzo — 2025-01-11 17:34 — Replies 0 — Views 23



Viewing all articles
Browse latest Browse all 3200

Trending Articles