in reply to Increasing CPU Usage/Decreasing Run Time
Since it's not the CPU that slows down your program, it must be the filesystem IO. But since I don't know what IO your program generates, there's no way I can help. Other people already pointed at DB optimizations, but I wouldn't be surprised, if your program does some other kind of IO, that really slows it down.