Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RAM cache (disk) support

Featured Replies

Hi all,

 

Since more hardwares support big memory now (64GB, 128GB or above), the feature of RAM cache (disk) becomes practical.

RAM cache has more i/o speed than SSD, and no worries about SSD lifetime. This feature can be either

 

  • Accelerating unraid JBOD arrays by RAM caching. Or,
  • User-defined temporary file storage

 

I would like to see this performance enhancement.

 

 

  • Community Expert

Any location that is not on a physical device would automatically be in RAM so you can get this already.

On 3/6/2023 at 8:19 AM, itimpi said:

Any location that is not on a physical device would automatically be in RAM so you can get this already.

 

I apologize but could you elaborate on how to do this. I understand the basis of what you said however when I look to store data for example my Plex transcode folder in what I would like to be a Ram Cache. the only locations I can see would be the array or my unassigned drive (SSD) I am currently using. How would I point that to "Any location that is not a physical Device" If I can not see it? Sorry for such a noobish question. 

Unraid has a default RAM disk on /dev/shm, it will use half installed RAM, and safer to use that.

  • Author
On 3/11/2023 at 5:03 PM, JorgeB said:

Unraid has a default RAM disk on /dev/shm, it will use half installed RAM, and safer to use that.

Exactly. Many unix-style system has /dev/shm device that uses RAM first (could use swap file if needed) as "tmpFS".

That is what I need, but it is not convenient to use. Forgive me, in Unraid system, I don't really want to use the terminal.

So I request this feature to support RAM disk: maybe in a plugin, that could configure RAM disk on website, in cache pool or somewhere else.

  • 4 months later...
On 3/11/2023 at 4:03 AM, JorgeB said:

Unraid has a default RAM disk on /dev/shm, it will use half installed RAM, and safer to use that.

 

so with Plex. I have it installed on an unassigned disk SSD. would I just point the transcode folder to /dev/shm?

Yes. That's one of the most common use-cases actually.

  • 4 weeks later...

I have a (for me) huge amount of ram installed on my homeserver and tested creating dummyfiles on /dev/shm.

Unfortunatelly it seems that only half of the installed RAM is available. After a certain point i get "No space left on device." even though RAM is only half filled.

 

Is there a way to change that so that my RAM is not installed but unused all the time?

On 8/30/2023 at 11:23 AM, nuhll said:

 

So, command in the go file it is?

sudo mount -o remount,size=XXXG /dev/shm

 

 

On 8/30/2023 at 11:23 AM, nuhll said:

I have all my dockers on dev shm and made it nearly full ram ("only" have 64gb)

Cool! Is there a guide how to do that?

36 minutes ago, Greyberry said:

 

So, command in the go file it is?

sudo mount -o remount,size=XXXG /dev/shm

 

 

Cool! Is there a guide how to do that?

Wouldnt change it there. Install user scripts plugin and make a script run ONLY once at startup

 

A guide for what? Just change all directories (of temp files) which normally would go to appdata to dev shm.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.