March 6, 20233 yr 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.
March 6, 20233 yr Community Expert Any location that is not on a physical device would automatically be in RAM so you can get this already.
March 10, 20233 yr 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.
March 11, 20233 yr Unraid has a default RAM disk on /dev/shm, it will use half installed RAM, and safer to use that.
March 12, 20233 yr 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.
August 5, 20232 yr 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?
August 30, 20232 yr 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?
August 30, 20232 yr yea ofc, its just a simple google search away https://www.google.com/search?q=bigger+dev+shm&oq=bigger+dev+shm&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigATIHCAMQIRigAdIBCDE2NjNqMGo3qAIAsAIA&sourceid=chrome&ie=UTF-8 I have all my dockers on dev shm and made it nearly full ram ("only" have 64gb) Edited August 30, 20232 yr by nuhll
August 31, 20232 yr On 8/30/2023 at 11:23 AM, nuhll said: yea ofc, its just a simple google search away https://www.google.com/search?q=bigger+dev+shm&oq=bigger+dev+shm&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigATIHCAMQIRigAdIBCDE2NjNqMGo3qAIAsAIA&sourceid=chrome&ie=UTF-8 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?
August 31, 20232 yr 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.