in reply to Perl 5.6.0 on MIPS (R4K) - Linux

When you compiled it, did you set it up to create a libperl.a or libperl.so? You said the box is low on memory, is it going into swap when starting perl? A shared perl might be getting shoved out to swap and take a bit to come out to play again.

Also, in that particular case, if you are happy with PHP's performance you might consider *gasp* Am I saying this? just using it. A language designed from the ground up to run in a webserver as a CGI replacement isn't that bad of a design choice.

mod_perl is a bit of a bigger stick to hit things with =) I try not to recommend it lightly, it is a lifestyle not a haircut.

--
$you = new YOU;
honk() if $you->love(perl)

Replies are listed 'Best First'.
Re: Re: Perl 5.6.0 on MIPS (R4K) - Linux
by darkcyde (Novice) on Mar 21, 2001 at 05:14 UTC
    Yeah I know mod_perl is a different beast altogether, I've had a little experience programming under it, but not a whole lot... I thought I linked it statically, but I will check...

    Yeah it's statically linked, libperl.a exists, and the most recent Makefile has LIBPERL = libperl.a ...

    Although I ran some tests, and it seems to be related to loading modules / large scripts, I think that in parsing CGI.pm its taking forever, I ran some other non-CGI scripts I have written, like calculating large prime numbers, and it seems to be just fine... I wonder if it has something to do with the disk I/O ... !? eek... *sigh*

    ---- john --------------------------------------------------------------------
    email: john at unixninjas.org web: http://blowfish.unixninjas.org
       'knowledge is power. power corrupts. study hard, be evil.'