在一個多工環境(multiprogramming environment)中,因為系統
單位時間的產值(system throughput, Ws)受很多系統參數影響
以至於非常複雜難以求得,因此通常使用CPU 的單位時間產
值(CPU throughput, Wp)來求得系統效能。
一) 使用下列參數,推導出Wp 的方程式。(10 分)
IC = 一個程式的平均指令(average instructions per program)
CPI = 一個指令的平均cycles (average cycles per instruction)
τ = CPU 的cycle time(秒)
二) 假設Wp = MIPS × K,則K 應為多少?(10 分)
(MIPS = Million Instructions per Second)