計算機組織問題 - 考試

Oliver avatar
By Oliver
at 2018-09-27T14:46

Table of Contents

各位大大請問資工系-計算機組織問題



1.The following instruction mix with CPIs is given for Machine A running at a
clock rate of 3.6 GHz. Suppose ALUop instructions can only access operands in
registers. We need to use Load/store instructions for accessing operands in
memory. Analysis show that 20% of the ALUop instructions preceded or followed
by Load/store instructions to access operands from or to memory.

Instruction mix CPI
ALUop 55% 2
Load/store 20% 4
Branch 20% 3
Jump 5% 2

Now Machine A’s hardware is modified, and some ALUmem instructions are added
so that operands can be accessed directly from or to memory. This
modification, however, increases in clock time period by 4%. We call it one
Machine B. What is the maximum CPI of the new ALUmem instructions in order
for Machine B to outperform Machine A in CPU time?

2.Suppose that we can improve the floating point instruction performance of
machine by a factor of 9 (the same floating point instructions run 9 times
faster on this new machine). What percent of the instructions must be
floating point to achieve a Speedup of at least 3?

x= percentage of floating point instructions.
Speedup=3, if the original program executed in 100 cycles, the new program
runs in 100/3 cycles.
(100)/3 = (x)/9 + (100 – x)
Solving for x, we get:
x = 75
The percent of floating point instructions need to be 75.

--
Tags: 考試

All Comments

Canon-F502G

Agnes avatar
By Agnes
at 2018-09-27T11:32
關於這款計算機 小弟去年在台電考試的時候, 監考人員檢查後表示,上面無標章不能使用 請問大家有遇過這種情形嗎? - ...

107交通行政高普雙榜心得

Genevieve avatar
By Genevieve
at 2018-09-27T01:01
【背景】 1、國立大學非本科系畢業 2、畢業後從事服務業,薪資及各種因素考量決定轉考公務員 3、七月底報名補習班,九月開始全職準備考試 【成績】 106年金門縣地特四等(練筆) 國文          申47 測16 63分 法英              58分 交通行政概要 ...

107年高考一般行政上榜心得 (代Po)

Donna avatar
By Donna
at 2018-09-26T23:00
此篇為代Po心得 前言 考試路途中獲得國考版諸多幫忙,來回饋一下心得希望能幫到大家。 在此感謝國考版的前輩、家人、朋友、老師!!!特別感謝考前3個月所認識的貴人,你應該 會看到這篇XDDD,一路上助我良多,無論是課業上還是心情上,我真的超感謝你的! 一、報考動機 私立後段非本科系,畢業後有感於工作時 ...

徵求松根記帳士考試用書

Yuri avatar
By Yuri
at 2018-09-26T21:40
記帳相關法規概要(十二版或十三版) 租稅申報實務(十七版或十八版) 會計學概要:重點提示與試題解析(七版) 聯絡方式:站內信 其他說明: 來信請註明書況/價格 謝謝 ----- Sent from JPTT on my iPhone - ...

行政警察四等考試

George avatar
By George
at 2018-09-26T21:19
請問各位大大版友們 小弟目前在準備108年的行政警察四等 目前有買保成的套書 但還是有些科目看了不是很懂(e.g 刑法) 所以看了板上版友們推薦的紀綱老師的刑法試聽影片 覺得很不錯 聽完概念很清楚 原本想直接購買思法人的四等全套隨身碟函授 但存的錢只有兩萬 所以只能購買紀綱單科刑法 想請問大家剩下的 犯罪 ...