Computer architecture, Parallel Architectures, lecture 11b/12: CW Fox, University of Lincoln
Overview
Charles Fox presents MIMD as a progression from specialized VLIW instructions on one CPU to multicore processors, NUMA supercomputers, and distributed systems, with each step allowing more independent work but making coordination more complex. He compares clusters, grids, and commercial clouds, then considers neural-network accelerators and research that compiles Python programs into dedicated digital logic, asking whether future programmers will manage parallelism themselves or rely on compilers to do it.
Key takeaways
- MIMD gives processing units freedom to execute different instructions on different data, but that flexibility increases the programmer's responsibility for coordinating parallel work.
- NUMA systems preserve a shared address space while making memory latency depend on physical location, so performance improves when computation is placed near the data it uses.
- Supercomputing performance depends on communication topology as well as processor speed: climate models benefit when computational neighborhoods mirror geographic regions that interact.
- Clusters, grids, and clouds differ in how independent and reliable their machines are; federated workloads may need redundant execution and result comparison to tolerate failures or cheating.
- Dedicated neural-network hardware, including TPUs, performs operations through specialized digital logic rather than relying exclusively on general-purpose CPU instructions.
- A key open question for future programming is whether developers will explicitly manage parallel architectures or whether compilers can translate ordinary serial programs into efficient parallel circuits.
Chapters
- MIMD lets multiple processing units run different instructions on different data, unlike SIMD, which applies one instruction across multiple data items.
- A very long instruction word, or VLIW, can bundle operations such as addition, floating-point work, incrementing, and bit shifts into one instruction.
- Specialized VLIW instructions can accelerate repeated workloads such as multimedia decoding, including MP3 audio.
- Modern x86 processors can place several CPU cores on one chip, with private lower-level caches and shared higher-level caches.
- When one core changes cached data, other cores may need cache updates or pipeline stalls to restore coherence.
- The BBC Micro could use a second processor, including a Z80, as a co-processor; modern systems increasingly integrate cores on shared silicon.
- NUMA, or non-uniform memory access, gives CPUs a shared address space while making local memory faster to access than memory attached to other nodes.
- IBM Blue Gene illustrates a hierarchy of processors, chips, cards, nodes, and rack cabinets; AMD Frontier combines CPUs and GPUs with high-speed Slingshot networking.
- Scientific workloads such as climate modeling fit NUMA when nearby regions interact more often, allowing the computational layout to mirror physical geography.
- Unlike NUMA, distributed machines have separate address spaces and exchange work and results through network protocols such as MPI.
- A cluster manager can divide thousands of work items among worker nodes, then combine results using a map-and-reduce pattern.
- Grid computing uses standardized, centrally managed machines; Sun Grid Engine can assign many copies of a job, such as processing 10,000 audio files.
- The original federated-cloud idea pooled spare personal-computer capacity, as in SETI@home, which distributed radio-telescope data for searches for extraterrestrial signals.
- Unreliable or potentially dishonest workers require fault handling, such as running a job on three machines and comparing their results.
- Commercial providers such as Google operate large data centers, replace failed machines continuously, and hide much of that infrastructure from customers renting compute time.
- Traditional high-performance computing is well suited to tightly coupled simulations in climate, medicine, and engineering, while loosely coupled cloud jobs suit many machine-learning and data-science workloads.
- The distinction depends partly on connectivity: Frontier can provide fast access across a shared memory space, while cloud networks have increasingly improved to support faster communication.
- Charles Fox suggests commercial clouds could displace some traditional supercomputing, making infrastructure specialization a consequential career choice.
- Brain-inspired architectures replace a central CPU model with networks of connected processing elements, an idea explored since the 1958 perceptron.
- Tensor Processing Units and other dedicated chips implement neural-network operations in digital logic for workloads such as speech recognition, image recognition, and large language models.
- Research at the University of Lincoln explores compiling serial Python programs into chip designs, turning additions and multiplications into dedicated circuit elements that operate in parallel.
- The lecture closes with competing futures: programmers may write SIMD or MIMD code, build logic circuits directly, or use compilers that translate familiar serial programs into parallel hardware.
Transcript excerpt
0:01 okay in the second half of the lecture we're going to talk about mimd we've pre previously talked about simd that means single instruction one instruction multiple data that means running the same instruction at the same time on a bunch of data points in mimd you have considerably more freedom as a programmer you can have many different instructions running in parallel on many different data points so this tends to be harder work for you as a programmer it gives you more to think about we're going to subdivide mimd into different categories um starting with what is called single core mimd so this this is a form of mimd that runs just on one CPU um like like simd CPU instructions do um we can
0:53 generalize the idea of a simd CPU instruction into what is called a very long instruction word of vli w so remember in in a simd CPU instruction we take our natural word length maybe 64 bits and we divide it into subwords maybe 16 bits and we do a single instruction like an addition which then runs on four subwords at at the same time now there's no particular reason why we have to do addition on all those four subwords at the same time we could for example have a a a special instruction like this this is a single Assembly Language pneumonic okay you can see it is very long because we're doing something very specific and very complicated and there therefore very sisky um in its nature so this this is saying do a whole bunch of stuff all at
1:44 the same time it's saying do do some adding store the results somewhere and at the same time do some floating Point stuff and some incrementing and some bit
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Charles Fox.