Slow perl performance on 8x86 system vs. 2.6
2007-12-24 21:37:00
I have a perl script, which is doing 3 things.
1. get all the listing of a directory, using the Perl function: glob (*);
2. for each name we got in the step 1, check for existence of a file, using
the Perl function, -f $fileName
3. for each name we got in the step 1, read a properties file. (file size is
< 1.5k)
I am running this script on a directory with 6500 entries.
It takes 25 seconds to complete this script on E250 dual 300/1GB RAM Solaris
2.6 and 5 minutes on Intel P4 2Ghz/1GB RAM Solaris 8x86.
Hard Drive speed is the same on both systems.
Any ideas why it's so slow on x86 system?
Thanks in advance,
Vlad
Comments
Got something to say?
You must be logged in to post a comment.

