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.

Increaseing % of /dev/smf from 50% to say 75%... is this how to do it, and is it a bad idea?

Featured Replies

So /dev/smf is limited to 50% of the ram... and I've been told to do use it for some tasks like plex transcoding as unlike using /tmp the 50% ram limit ensures that your system will not run out of ram and crash. I have 64GB of ram though and use unraid for not much more than a media server, so it seems wasteful to only always have 32GB of ram free at all time. I thought maybe I could increase the % of /dev/smf to 75% by using the startup script things to add the command mount -o remount,size=75% tmpfs /dev/shm" to run at at first array start only.

So will that command work?

1) Like if I go to settings/user in settings and make a new script and put "mount -o remount,size=75% tmpfs /dev/shm" and then set the timing to "at first array start only"

2) Is this a terrible idea? and if so is there another solution?

Solved by questionbot

  • Community Expert

/dev/shm is limited to 50% of your max memory, it does not take up 50% of your system memory.

Edit: I am assuming you thought that if you don't use it, that 50% of your RAM is going to sit empty.

Otherwise yes you can resize it or create a separate tmpfs and make it whatever size you want using user-scripts

Edited by MowMdown

  • Community Expert

As mentioned it's a limit, and transcoding should not use more than a couple of GBs anyway so sure you can increase it but it probably won't change anything since even that much isn't needed anyway.

Edited by Kilrah

  • Author
  • Solution

I think I got this working...

nano /boot/config/go


mount -o remout,size=#G /dev/shm

seems to work fine. replace the # with the size you want for "max utilisation".

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.