Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Sys::Ramdisk as regular user on Linux

by szabgab (Priest)
on Sep 27, 2015 at 18:55 UTC ( [id://1143166] : note . print w/replies, xml ) Need Help??


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

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.
  • Comment on Re^2: Sys::Ramdisk as regular user on Linux

Replies are listed 'Best First'.
Re^3: Sys::Ramdisk as regular user on Linux
by Anonymous Monk on Sep 27, 2015 at 19:18 UTC

    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.