CENG 709 - Computer Architecture and Operating Systems
FALL 2012 - Homework 1&2
Due to: November 26, 23.55
1) Mark whether the following modifications will cause each of the first three categories to
increase, decrease, or whether the modification will ha

Okan Yaman
1535285
CENG 709 - Computer Architecture and Operating Systems
FALL 2012 - Homework 4
a)
b)
c)
Let the processors get the lock in order. The processor to get it
first is P0, having 100 stall cycles to obtain the block from
memory. The others wi

Caches: Policies
PIRW
Placement
Identification
Replacement
Writes
Replacement Policy: What Gets Evicted?
For direct-mapped cache: no policy
Set-Associative and Fully-Associative: need to
choose
Only one place for each address to go, no choice
about what t

Cache Memories
Cache Operation
Cache
On memory access,
look in the cache first
N Cache Lines
If the address we want
is in the cache,
complete the operation,
usually in one cycle
Line length is the
amount of data in a line
Tag
Data
Offset
If not, complete