WayneJz Posted March 6, 2023 Share Posted March 6, 2023 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. Quote Link to comment
itimpi Posted March 6, 2023 Share Posted March 6, 2023 Any location that is not on a physical device would automatically be in RAM so you can get this already. Quote Link to comment
tmoran000 Posted March 10, 2023 Share Posted March 10, 2023 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. Quote Link to comment
JorgeB Posted March 11, 2023 Share Posted March 11, 2023 Unraid has a default RAM disk on /dev/shm, it will use half installed RAM, and safer to use that. Quote Link to comment
WayneJz Posted March 12, 2023 Author Share Posted March 12, 2023 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. Quote Link to comment
tmoran000 Posted August 5, 2023 Share Posted August 5, 2023 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? Quote Link to comment
-Daedalus Posted August 5, 2023 Share Posted August 5, 2023 Yes. That's one of the most common use-cases actually. Quote Link to comment
Greyberry Posted August 30, 2023 Share Posted August 30, 2023 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? Quote Link to comment
NewDisplayName Posted August 30, 2023 Share Posted August 30, 2023 (edited) 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, 2023 by nuhll 1 Quote Link to comment
Greyberry Posted August 31, 2023 Share Posted August 31, 2023 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? Quote Link to comment
NewDisplayName Posted August 31, 2023 Share Posted August 31, 2023 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. 1 Quote Link to comment
Recommended Posts
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.