in reply to Sys::Ramdisk as regular user on Linux

That's a question for the Sys::Ramdisk author, in truth. Could you describe the use case, however? Is the intention in setting a quota-like size limit for a subdirectory?

  • Comment on Re: Sys::Ramdisk as regular user on Linux

Replies are listed 'Best First'.
Re^2: Sys::Ramdisk as regular user on Linux
by szabgab (Priest) on Sep 27, 2015 at 18:55 UTC
    Downloading a zip file, unzipping, analyzing content.
    For now I changed it to use a temporary directory on the disk. Later I'll measure if the ramdisk provides a real speedup and then I'll further investigate how to use it.

      Speedup is unlikely. Dirty pages aren't written to disk immediately. Well, if your archives are of considerable size AND your swap is much faster than regular storage, then you'd see benefits.

      I'd advise setting up your whole system to use tmpfs backed /tmp instead of mucking around with userspace options (FUSE, etc.) Incidentally, there are FUSE filesystems to access archived content.