On Fri, 14 Dec 2001, Perrin Harkins wrote:

> The thing you were missing is that on an OS with an aggressively caching
> filesystem (like Linux), frequently read files will end up cached in RAM
> anyway.  The kernel can usually do a better job of managing an efficient
> cache than your program can.

Plus for some reason IPC overhead seems to seriously degrade as the size
of the overall shared memory segment increases.  I'm not sure why this is
but I think the docs for IPC::Shareable mention this.  Maybe for _very_
small amounts of data, shared memory might still be a win.


-dave

/*==================
www.urth.org
We await the New Sun
==================*/

Reply via email to