Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Perl v5.6.1 looking for .pmc files

by bluto (Curate)
on Oct 22, 2002 at 16:03 UTC ( #207115=note: print w/replies, xml ) Need Help??

in reply to Perl v5.6.1 looking for .pmc files

Check your filesystem. 2-3 seconds for 600 stats sounds awfully slow to me. On my AIX box I get around 1000 in about a tenth of a second. If you are running over NFS, your general performance could be slow.

Also, it might be nice to see how quick your script starts up the *second* time (i.e. after filesystem info is cached).


Replies are listed 'Best First'.
Re: Re: Perl v5.6.1 looking for .pmc files
by ruscoekm (Monk) on Oct 22, 2002 at 16:15 UTC

    Yes, it is very slow, thanks to a very slow network. That is why I am particularly concerned to reduce the number of such calls :-)

    Re running the program a second time, I did that. Should have mentioned this. No difference to number of stat64 calls, but then I would not expect any.

    My interest is really why Perl is looking for .pmc files in the first place.

    Cheers, Kevin

      I guess my point was that it seemed like you were trying to solve a problem related to a broken hardware environment by changing the way Perl does it's job. I don't envy you since it sounds like you can't install everything on a local disk, or use something like NFS mounts with cachefs.

      FWIW, the number of stat64 calls would not decrease, but even NFS should (I think) cache the results of these calls rather than going over the network, but I digress...


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://207115]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2018-06-24 15:08 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.