ECE/CS466 Homework 1 Solution
b. 2 = 1/(1x)+x/10)
x = 5/9 = 0.56 or 56%
c. New execution time = 0.5 * old execution time
Vector mode is used 0.56/10 * old execution time
0.056/0.5 = 0.11 or 11%
d. Maximum speedup = 1/(1/10) = 10
1. Page 66, 1.14 b, c, d
ECE/CS466 Homework 1
2. Your company is trying to choose between purchasing the Opteron or Itanium 2
using the data in Figure 1.17.
a. You have analyzed your companys applications,
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
Contents at a Glance
About the Authorxi
About the Technical Reviewerxiii
Chapter 1: Introduct
ECE/CS 466 Spring 2017
1.  You are trying to appreciate how important the principle of locality is in justifying the use of
a cache memory, so you experiment with a computer having an L1 data cache and a main memory
(you exclusively focus on
AMAT, Cache Blocking, Flynn Taxonomy, SIMD
1. Explain SISD and give an example.
Single Instruction Single Data; each instruction is executed in order, acting on a single stream of data.
For example, traditional computer prog
Main memory is slow. Cache is a small highspeed memory that creates the illusion of a fast
main memory. Stores data from some
frequently used addresses (of main memory).
Cache hit Data found in cache. Results in dat
[2017-03-17 13:29:03] Adobe ARM 1.824.14.4531 logging started.
[2017-03-17 13:29:03] Command Line:
[2017-03-17 13:29:03] bUpdater policy set to disable Updater in
[2017-03-17 13:29:03] bU