Skip to content

Instantly share code, notes, and snippets.

@heejongahn
heejongahn / prep.md
Last active April 11, 2023 21:16
Midterm prep

1

1-1. The CPI of a single cycle design is always less than or equal to the CPI of a pipelined implementation.

True. singly cycle design 에서 CPI는 무조건 1. 파이프라인에서는 ideally 1, 실제로는 더 커질 수 있음.

1-2. Since RISC can access the memory only through load and store instructions, RISC must support many different addressing modes to satisfy various memory access needs by different applications.

False. 우리가 배운 MIPS만 보더라도 displacement mode 하나밖에 없음.

@heejongahn
heejongahn / finalprep.md
Last active April 11, 2023 21:17
2015 Fall 아키텍쳐 기말

1. Mark whether each of the following statements is true or false.

A. Increasing the block size of a cache always reduces the cache miss rate by increasing the chance to exploit spatial locality. [ T / F ]

False. 블락 사이즈가 너무 커지면 캐시 블락이 몇 개 못 들어가서 miss rate가 높아짐.

B. Increasing the cache size does not reduce coherence misses in shared memory multiprocessors. [T/F]

True. 캐시에 들어있는게 많으니까 invalidation이 늘어남.

C. Increasing the block size does not increase coherence misses in shared memory multiprocessors. [ T / F ]

False. 여러 프로세스가 한 블락에 접근할 확률이 높아서져 coherence miss 증가.