>>>>> "SB" == Stas Bekman <[EMAIL PROTECTED]> writes:
SB> A while ago, a few people have mentioned that it's possible to improve the
SB> way Perl data structures get mapped in memory pages, by exercising the
SB> code before the child processes have been spawned, i.e. running the code
SB> and not just pre-compiling it. Did anyone try this at home :) Any
SB> satisfactionary results on this direction or what it just a crazy idea?
This is extremely important for DBI, since the DBD layer is not loaded
until needed. Thus, unless you exercise your Connect in DBI, the DBD
is not loaded until each child is spawned. I'm sure other modules do
some sort of initialization as well which could break sharing since
perl code and data pages are the same as far as the OS is concerned.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: [EMAIL PROTECTED] Rockville, MD +1-301-545-6996
GPG & MIME spoken here http://www.khera.org/~vivek/