July 27, 20223 yr There are applications, such as streaming video or seeding torrents, in which reading a file may take hours, even if it's not huge, eg 2 hours to stream a movie file. It seems abusive of the hardware to keep drives spinning for hours or days to source a file. Is there a way, either natively or some sort of plugin or something, to cache files that are being read *from* an unraid server? Even just doing it in RAM would work; RAM's cheap nowdays. Thanks!
July 27, 20223 yr Almost all OS will cache the read/write in RAM, but flush if new data come in. My storage purpose Unraid have 256GB RAM, so I manual flush memory and keep file transfer in ~200GB batch and fully optimize 10Gbps file transfer , then hash it and waiting it complete writing to disk. If streaming a movie, just read whole file once in order to cache to RAM and no need spinup the disk. ( So, I haven't use cache pool ) My other purpose Unraid have 64GB RAM, allocate 32GB vdisk in /tmp ( RAM disk ) for CCTV recording, it will daily copy to disk, so disk actually will wake up once a day. ( in first setup, I use SSD to do this but now in RAM disk ) 47 minutes ago, dnyberg said: some sort of plugin Haven't found this, and I don't think it will smart enough to fulfill all situation. Edited July 27, 20223 yr by Vr2Io
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.