• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Off Topic General Discussion Best practices for ram disks

     
    • 0 Vote(s) - 0 Average

    Best practices for ram disks

    /dev/shm or manual tmpfs?
    iconoclasthero
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2023 Dec
    Reputation: 0
    #3
    2023-12-03, 05:10 PM (This post was last modified: 2023-12-03, 05:12 PM by iconoclasthero. Edited 2 times in total.)
    So I just started using Jellyfin (and I haven't gotten transcoding to work yet), but I was looking back into the OP's question and found it via a google search for ca. "best practices for ramdisk ubuntu."  I've been using /dev/shm/cache for quite a number of years now with no problem.  What I don't know is if there are any drawbacks to using that and if it is really using ram or if tmpfs is also putting stuff on disk.  I have ca. 24 GB ram and am always using /dev/shm/cache for all kinds of file manipulation/work so that I don't write stuff to media until I'm done...or if I just want to put stuff in a volitile space that won't be there when I reboot.

    Are there any known disadvantages to using /dev/shm/ for ram drive I should know about?


    Code:
    $ pwd; df .
    /dev/shm/cache
    Filesystem      Size  Used Avail Use% Mounted on
    tmpfs            12G  3.6G  8.3G  30% /dev/shm
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Best practices for ram disks - by TheDreadPirate - 2023-06-26, 10:08 PM
    RE: Best practices for ram disks - by TheTrueLinuxDev - 2023-06-27, 08:10 PM
    RE: Best practices for ram disks - by iconoclasthero - 2023-12-03, 05:10 PM
    RE: Best practices for ram disks - by iconoclasthero - 2023-12-03, 05:15 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode