20. HW architectures
Mar 22, 2021
Symmetric multiprocessing
Symmetric multiprocessing (SMP) involves a multiprocessor computer hardware and software architecture where two or more identical processors are connected to a single, shared main memory, have full access to all input and output devices, and are controlled by a single operating system instance that treats all processors equally, reserving none for special purposes. Most multiprocessor systems today use an SMP architecture.
Crossbar architecture
In 1970s: IBM built mainframe computers realizing it is a bottleneck → how to improve? Crossbar architecture with switch at each intersection.
- uses source routing to navigate and to exchange data
- 4 processors can access 4 banks of data concurrently
- this system does not scale well due to hardware cost
Hardware cost of crossbar:
Hardware cost for parallel:
Another idea: cut crossbars by half
Asymptotically not better but from a practical standpoint this is a significant saving.
Linear processor array
Next suggestion: make a linear processor array (also called systolic array).
Assume we have a PRAM
steps to read- 1 step to compute, and
steps to write
Simulation time:
Simulation work:
This is not a good algorithm for this architecture, but the algorithm itself is still good. This architecture may be suitable from specialized problems, not for general purpose problems. One suitable application is zero-time sorter.