122k views
1 vote
System A has two processors. Program X takes 50 seconds to execute on one of the processors. Program Y takes 50 seconds to execute in parallel on the other processor. System B has a single processor that can execute only one program at a time. Program X takes 35 seconds to execute on this processor. Program Y takes 35 seconds to execute on this processor. Which system would you pick if you cared about overall system throughput for a workload that is a mix of programs X and Y?

User HenryR
by
5.0k points

1 Answer

4 votes

Answer:

I will pick system A

Step-by-step explanation:

System A has dual processor and it will concurrently run the two program(X and Y) in 50 seconds, with program X on the first processor and program Y on the second one while system B will take 70 seconds to run the two program since it runs on a single processor, it will run program X first and then program Y next, summing up to 70 seconds. so therefore I will pick system A since I'm considering the system throughput.

User Amit Vaghela
by
5.0k points