Question: ( 3 0 PTS . ) SCheduling Jobs on Supercomputers You're running a massive physical simulation, which can only be run on a supercomputer. You've
PTS SCheduling Jobs on Supercomputers
You're running a massive physical simulation, which can only be run on a supercomputer. You've got access to two identical supercomputers, but unfortunately you have a fairly low priority on these machines, so you can only get time slots on them when they'd otherwise be idle. You've been given information about how much idle computing power is available on each supercomputer for each of the next n onehour time slots: you can get ai seconds of computation done on supercomputer A in the i th hour if your job is running on A at that point, or bi seconds of computation if it running on supercomputer B at that point. During each hour your job can be scheduled on only one of the two supercomputers. You can move your job from one supercomputer to another at any point, but it takes an hour to transfer the accumulated data between supercomputers before your job can begin running on the new supercomputer, so a onehour time slot will be wasted where you make no progress.
So you need to come up with a schedule, where for each onehour time slot your job either runs on super computer A runs on supercomputer B or "moves" it switches which supercomputer it will use in the next time slot If your job is running on supercomputer A for the i th hour, then for the i th hour your only two options are to continue running on A or to "move." The value of a schedule is the total number of seconds of computation that you get done during the n hours. You want to find a schedule of maximal value. Design an efficient algorithm to find the value of the optimal schedule, given a aldots an and b bldots bn
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
