[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Serious performance bug in Perl



>>>>> "Daniel" == Daniel Martin at cush <dtm12@jhunix.hcf.jhu.edu> writes:

    Daniel> It's a perl thing.  I can almost guarantee it.  The
    Daniel> problem is perl's shadow password support and it's getpw*
    Daniel> functions.  Whenever these functions are called (and
    Daniel> assigned to a variable; if you just call them and discard
    Daniel> the value immediately this doesn't happen), perl attempts
    Daniel> to look up the shadow password entry associated with the
    Daniel> given struct passwd *, and this takes a while - especially
    Daniel> since the /etc/shadow file is closed immediately after
    Daniel> each fetch. 

This is probably because the patch that allows Debian's Perl to
use getspnam() and friends is pretty new and untested.

Is there any way you can look at
http://www.rosat.mpe-garching.mpg.de/mailing-lists/perl-porters/1998-03/msg01574.html
and see if the patch there can be made better?

Let's try to fix this problem.

Ben

-- 
Brought to you by the letters S and X and the number 14.
"XTC versus Adam Ant -- which one will survive?" -- They Might Be Giants
Debian GNU/Linux -- where do you want to go tomorrow? http://www.debian.org/
I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox.


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: