# 計組 第三章 了解與評估計算機效能 ### 重點一 : 效能的定義 (1) **反應時間(response time)** 和 **生產量(throughput)** 是常見做為評估計算機效能的標準 (2) clock cycle => 一個週期需要幾秒鐘 clock rate => 一秒中有幾個時脈週期 = $\dfrac{1}{clockcycle}$ ### 重點二 : 影響CPU要素 (1) CPU execution time = Instruction Count x CPI x Clock Cycle Time =>一個程式所執行的指令個數x一個指令所需的cycle個數x一個cycle所需的時間 (2)軟硬體如何影響效能 | | Instr.count | CPI |Clock Rate| | -------- | -------- | -------- |---| | Algorithm | ✔ | ✔ || |Programming language|✔|✔| |Compiler|✔|✔| |Instruction Set Architecture|✔|✔|✔| |Computer Organization||✔|✔| |VLSI Technology|||✔| Instruction Set Architecture:軟硬體交接處,故三個都會影響 ## 重點三:使用MIPS作為效能評估標準的謬誤 定義:每秒執行多少百萬的指令數 ## 重點四:Amdahl's定律 改善後的執行時間=$\dfrac{會受改善影響的執行時間}{改善倍率}$ + 不受改善影響的執行時間 ## 重點五:效能總評 * SPECratio = $\dfrac{extime(referenced)}{extime (measured)}$ ## 重點六:效能評估程式 ###### tags: `computer architecture` `chp3`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up