Hi there,

On Fri, 12 Sep 2003, Rafael Garcia-Suarez wrote:

> Benchmarking simple CPU-intensive perl scripts shows that they
> tend to be consistently slower in user time on AIX.

Assuming that the boxes aren't otherwise heavily loaded, I wonder
about the options used to compile your Perl.  For x86 architecture,
things like -mcpu=i386 will make a binary that you could run on a
steam engine but it won't be able to take advantage of the richer
instruction set on newer processors.  I don't have a great deal of
experience with other modern processors, but from the gcc 3.2.3
documentation:

"GCC defaults to `-maix32'"

and there's a '-maix64' that may be worth a look, along with the rest
of the section ('info gcc' if you have it).

Optimisation may also be an issue, but use caution.  Many packages
(e.g. the Linux kernel sources :) warn against anything more than
using -O2 with gcc for example.

73,
Ged.

Reply via email to