On 22 September 2012 10:14, Cedric Blancher <[email protected]> wrote: > On 17 September 2012 00:15, Roland Mainz <[email protected]> wrote: >> * Issues: >> - We have to make sure that memory allocation doesn't get excessive >> - Currently it seems that the stream returned by |sftmp()| somehow >> causes the shell not to use |mmap()| to read the temporary file's >> (used if we spill over or call an external process) content even for >> "insanely" (in this context :-) ) large file sizes (e.g. 2^20 bytes) >> ... erm... what exactlly causes this ? > > BTW: mmap() is not used for ANY files on Fedora Linux with a 64bit > ksh93. I've just observed that shcomp munches a 100MB script via > read() and not mmap(), which is IMO unfortunate.
Roland, I recall you have a test module to monitor the mmap() usage for sfio I/O. Can you contribute this to Glenn and David, please? Ced -- Cedric Blancher <[email protected]> Institute Pasteur _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
