[MTOS-dev] Memory Utilization Brainstorm
Alvar Freude
alvar at a-blast.org
Tue Dec 25 15:49:08 PST 2007
Hi,
-- Byrne Reese <byrne at sixapart.com> wrote:
> Anyone interested in brainstorming?
yes, sure! :)
I guess, that the complaints about memory utilization come from FastCGI
users, right? Because, with this the memory is used even when there is no
request at the moment.
AFAIK FastCGI starts each script as single application, and every script
uses a lot of memory.
For this, it may be better to have only one script which dispatches to
the wanted module.
Another solution is to use mod_perl (prefork!) and PerlHandlers and use
each Perl module at startup -- then everything is shared. Such
installation is usually used with a small frontend server for the static
files and a fat backend for the dynamic. The is a more complicated setup
and not for beginners, but mod_perl es very fast and flexible; if the SQL
would be better, it could be used with superior performance for dynamic
HTML generation in MT.
And a last brainstorming from me for now: 64 bit Perl uses much more
memory then 32 bit; on 32 bit system it should be compiled without 64 bit
support. And often the usage of Perl Malloc (USEMYMALLOC at compile time)
results in lower memory consumption.
And Perl 5.10 should help too!
Ciao
Alvar
--
** Alvar C.H. Freude, http://alvar.a-blast.org/
** http://www.assoziations-blaster.de/
** http://www.wen-waehlen.de/
** http://odem.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://www.sixapart.com/pipermail/mtos-dev/attachments/20071226/8b1bf1ee/attachment.bin
More information about the MTOS-dev
mailing list