Suppose I run a pgm "java MyPgm param_1" on my machine I find it takes 1 hour. Then I run "Java MyPgm param_2" it takes 1 hr. Then I have to run "java MyPgm param_3", etc. Instead of running them one after another, I want to invoke two background jobs simultaneously, ie. run
java MyPgm param_1
java MyPgm param_2
java MyPgm param_3
simultaneously.
Now how much time will it save ? Should it be ---
(sum of time of running one by one = 3hrs ) / number of processors ?
Thanks,