17. Cache Coherence
실제로는 멀티 프로세싱을 하고 있다. 하지만 아키텍쳐적으로는 동일한 shard-memory를 사용하는 것처럼 보여야함, 어떻게 해야하지? Snooping Bus Multiprocessor Bus의 조건 순서가 같다 하나만 버스 위로 들어간다 latency가 모두 같다 모두가 볼 수 있다. (broadcasting) Proc...
실제로는 멀티 프로세싱을 하고 있다. 하지만 아키텍쳐적으로는 동일한 shard-memory를 사용하는 것처럼 보여야함, 어떻게 해야하지? Snooping Bus Multiprocessor Bus의 조건 순서가 같다 하나만 버스 위로 들어간다 latency가 모두 같다 모두가 볼 수 있다. (broadcasting) Proc...
Translation Look-aside Buffer 모든 사용자 메모리는 code든 data든 translation을 필요로 한다. 매번 translation을 기다릴 수는 없는 노릇이다. TLB: cache of most recently used translations! VPN → PTE TLB Entry ...
Each Process need a large, continuous memory segment without holes! Each memory space should be private → Virtual memory! (address translation) Base and bound Base: 프로세스의 메모리 주소의 시작 주소 bou...
Cache miss의 종류 Compulsory miss (cold miss) 초반에는 아직 캐시가 비어있기 때문에, 아무것도 없어서 무조건 Miss가 남. B가 클수록 덜 생김. prefetch하면 덜 생김. Capacity miss cache 자체가 너무 작아서, working set보다 C가 작아서 생기는 miss. locality를 충분히...
Predictive Models? A predictive model is a mathematical formula used to estimate outcomes. predicts the result for a criterion variable (aka dependent variable) ← based on predictor variables...
Ideal Memory Each program sees a contiguous 4GB memory → Virtual memory We can access anywhere in memory in 1 cycle. → Cache But… Cannot afford 4GB for printf program… machine are mul...
CPU must prepare for unplanned events! Instruction fail External IO devices Quantum expiration (1) Check for every possible contingency (Polling) CPU 낭비 (2) 그 문제는 별로 안일어나니까. 생길때만 처리...
Cognitive Processor cognitive processing rate: $\tau_c = 70ms$. HIP에서 basic principle은, Recognize-Act Cyle of Cognitive processor 이다. 즉, 인지하고 행동하기를 명령하는 사이클인 것이다. Recognize The contents of ...