I have a server where the computer that I log into is a Mac Xserver 2.2 GHz Dual Processor machine with 2G ram. I wrote some perl code to figure out what is going on with Gridware. Essentially it compares what gridware thinks that it is doing with the files that are in the specific directory. I am kind of new to perl, so I may not have written the best code, but it works ok for me. Anyway, I developed the code on this mac machine.
When I run the code to check on 625 files in one directory it took about a minute. I checked and the machine is 90% idle. Now when I run this identical code on my Xeon 1.8 GHz machine with 4 G ram where it checks 1125 files in one directory (unfortunately I don't have the exact same data on both systems) it takes just 10 seconds. This is on a slower machine with more users logged in! The mac box has perl ver 5.8.6. The xeons have perl 5.8.5. Is there something I can check on to see what is going on? Its almost like the mac doesn't use all of its resources when it runs the code. I tried doing a Google search on slow perl, but really came up with very few relative hits. Thanks, Brett Grant