Hi list,
I have compiled a single-threaded (and quite non MP aware) pascal program that does a lot of numerical computations. One calculation takes about 5 days on my 1.25 GHz DDR G4 (single cpu) and I need about 200 computations to do. Well, when I run the program on my G4 it takes up all CPU time (cca 93%-95%). I thought of speeding the whole thing by running it on a dual processor machine so I got someone to run it on a dual 2 GHz G5. So here comes the problem. If only one instance is run on a dual G5 the Activity monitor shows 50% CPU load (which is understandable) but the graph alternates between 100% load on 1st CPU and 100% load on 2nd CPU. I thought that is an anomaly of Activity Monitor. However, when two instances are run, the time required to execute each task doubles even though the Activity monitor shows both cpus at 100% load.
My program doesn't really do anything much - it performs gazillions of computations in arrays that all together consume less than 20 Mb of memory.
Am I doing anything wrong or shouldn't I expect better performance on a dual cpu unit?
Highest regards, Boris