【求助】可以幫我解題嗎



贊助商連結


laker
2004-03-06, 01:06 AM
有人可以幫我解這一題嗎?

題目: Suppose that a single-chip microprocessor P operation at a clock frequency of 50 MHz, is replaced by a new model P', which has the same architecture as P but has a clock frequency of 75MHz.

(a)If P has a performance rating of p MIPS for a particular benchmark program Q. What is the corresponding MIPS rating p' for P'?

(b)P takes 250 seconds to execcute Q in a particular personal computer system C. On replaceing P by P' in C, the execution time of Q drops only to 220 seconds. Suggest possible reasons for this disappointing performance improvemnet.

小弟因為即將考研究所, 買了一本計算機組織; 但發覺似乎沒有直覺的解法,
故請教大家,

謝謝

贊助商連結


jeff7364
2004-03-06, 09:19 AM
題目:假設單片微處理器P操作50 MHZ,由一個新模型P替換, 哪些和P一樣,但有75MHz。
A.如果P有MIPS一個作業評定為一個特殊基準程式Q。對應的MIPS對p是什麼?
B.P需要250 秒對Q 在一個特殊個人電腦系統C 。 在釋放P由P 用C, Q 的執行時間下降只到220 秒。建議這缺失的表現提升 的可能的原因。
現在還會考這個嗎?
有點懷疑勒

laker
2004-03-06, 09:29 PM
會耶 去年才考的 而且總共佔三十分 @@

Two different compilers are being tested for a 500 MHz machine with three different classes of instructions: Class A, Class B, and Class C, which require one, two, and three cycles, respectively. Both compilers are used to produce code for a large piece of software.
The first compilers's code use 5 million Class A instructions, 1 million Class B instructions, and 1 million Class C instructions. The second compiler's code uses 10 million Class A instruction, 1 million Class B instruction, and 1 million Class C instructions.
(a) Which sequence will be faster according to MIPS?
(b) Which sequence will be faster according to execution time ?

又一題完看攏無的@@