0 0 votes insufficient info p2 p1 CO & Architecture co-and-architecture + – gate_forum 1.1k views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply Satbir commented Jan 14, 2019 reply Follow flag cpu time = (n*CPI)/f where n -> no. of instructions. CPI -> clock cycles per instruction f-> frequency of instruction. in this question they have asked which Process has low CPU time(high performance) and n can be taken as constant 0 0 replyShare Hemanth_13 commented Jan 14, 2019 reply Follow flag I think performance in number of instructions executed per second, but no of instructions executed depends on CPI as well. As we got the number of instructions per sec , P2's performance is better. Correct me if I'm wrong. 0 0 replyShare Satbir commented Jan 14, 2019 reply Follow flag yes @Hemanth_13 we can also check as p1 : CPI = 2 and executes 2 billion instruction per second => it executes 4 billion clock cycles per second. p2 : CPI = 1 and executes 8 billion instruction per second => it executes 8 billion clock cycles per second. since p2 can execute more number of clock cycles per second => P2 is faster than P1. => P2 performance is better. 0 0 replyShare Please log in or register to add a comment.
0 0 votes Here it is clear that P2 executes 8 million instructions per second. While the P1 executes only 4 million instructions per second. And we know that performance is measured in term of response time so clearly P2 is better. Sumit Singh Chauhan answered Nov 19, 2019 Sumit Singh Chauhan comment Share Follow 0 reply Please log in or register to add a comment.