http://www.perlmonks.org?node_id=1069726


in reply to Re^3: Multi-threaded behavior, file handle dups and writing to a file
in thread Multi-threaded behavior, file handle dups and writing to a file

For the first lookup of the file with cat, it takes 50 seconds to go from the mounted filesystem to the local /device with a 9GB file; 25 seconds with a 4.6GB file; 46 seconds with a 6GB file. Subsequent cat calls (haha) on the same file take much less time, probably because the file is already loaded in memory (locally or on the filesystem side, I'm not sure), on the order of 1 - 3 seconds.
  • Comment on Re^4: Multi-threaded behavior, file handle dups and writing to a file