Don Hatch (hatch++at++hell.engr.sgi.com)
Mon, 26 Jul 1999 16:49:22 -0700
This isn't an answer to your question,
but make sure you do some timing tests to determine
whether your scheme is really worth the effort,
keeping in mind IRIX's disk cache--
unused physical memory is used as a cache for the disks,
so the second and subsequent accesses to a particular
section of a file should be substantially quicker than
the first access, by a factor of maybe 8
(assuming you have enough free physical memory).
Note that this cache is shared between processes and persists
from one program run to the next.
Of course your scheme will probably be even faster,
but it may not be by much.
Don
-- Don Hatch hatch++at++sgi.com (650) 933-5150 Silicon Graphics, Inc.
This archive was generated by hypermail 2.0b2 on Mon Jul 26 1999 - 16:49:28 PDT