Lesson 4a Flashcards
Parallel Systems
What is dance hall arch
CPUS on one side of integrated network. Memory on the other side
What is smp
symmetric multiprocessor. All cpus share the same memory
In dance ahll and smp how many caches exist
Once Cache per cpu
what is DSm
Distributed shared memory
How is smp different from dsm
Each cpu has its own memory in dsm. in smp we have a single memory
How many network connections (dance hall?)
One all cpus are connected to it
What is the process for getting memory using smp
each cpu checks its local cache before going to the system bus and then main memory
what is cache coherence problem
when a value y is cached across all cpu caches and one cpu updates the value. How are the other caches invalidated and updated?
What is the memory consistency model
A contract between the software and hardware that specifies how the data stay consistent across caches and also when multiple processors are accessing the same memory locations
What is the sequential consistency model (SC)
Program order arbitrary interleaving (think of card shuffle) (Lessly Lamport)
Program Order?
Memory instructions are performed in the order written. Linearly executed one after the other.
Arbitrary Interleaving
When P1 and P2 access memory it is arbitrary
what question does memory consistency answer?
What is the model presented to the programmer
What question does cache coherence answer
How is the system implementing the model in the presence of private caches?
What is NCC
Non-cache coherence has shared memory and private caches but when memory is changed it is a software problem to keep it in sync