Just a simple [cpan.org] guy, hacking Perl for fun and profit since way back in the last millenium. You may find me hanging around in the monestary [perlmonks.org].
What am I working on right now? Probably the Sprog project [sourceforge.net].
GnuPG key Fingerprint:
6CA8 2022 5006 70E9 2D66
AE3F 1AF1 A20A 4CC0 0851
We recently discovered that we're seeing degraded performance on a server since we upgraded it from Debian woody to Debian sarge. As well as updating all the system libraries, our upgrade included moving to a 2.6 kernel and upgrading from Perl 5.6.1 to 5.8.4.
One job in particular has gone from taking 4.5 hours to taking 9. The process is mostly CPU bound and uses around 2GB of RAM.
There are obviously many things that could have caused the change. I'm not leaping to the conclusion that Perl is the cause, I'm merely interested to know if anyone else has had a similar experience.
Update: Forgot to mention
check regexen (Score:2)
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
Re:check regexen (Score:2)
Thanks.
An update (Score:2)
When I profiled this job, I found it was spending the vast bulk of its time in a general purpose data formatting routine. I recoded it to use a more specific formatting routine and the runtime dropped to just over an hour - with the bulk of the remaining time being spent wait