[wplug-internet] Slow Perl

Vance Kochenderfer vkochend at nyx.net
Wed Aug 27 14:53:20 EDT 2008


Apparently the version of Perl shipped by Red Hat (and, by
extension, CentOS) has a bug which slows certain operations.  You
can read more about it at
<http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/>.

Running the sample code from that page yields the following on the
WPLUG server:

  $ time perl ./test.pl
  ..................................................
  real    0m6.120s
  user    0m4.890s
  sys     0m0.010s

which seems to indicate that it is affected.  (For comparison's
sake, a 1999-vintage dual-300MHz Sun Ultra 2 ran it in 0m2.005s.)

Although it's probably not much of an issue since our CPU usage
tends to stay in the single digits anyway, we should make a note
to update whenever CentOS releases a fix.

Vance Kochenderfer        |  "Get me out of these ropes and into a
vkochend at nyx.net          |   good belt of Scotch"    -Nick Danger


More information about the wplug-internet mailing list