Nepedia
Back to Discover
Fluent Reader
💻

Multiprocessing

technology Maturity 7-9 Next article →

A computer can do many things at once using multiprocessing. This means the system uses two or more central processing units, or CPUs. You can think of a CPU as the brain of the computer. In a multiprocessing system, these brains work together to handle many tasks. This is different from multitasking. Multitasking uses only one processor that switches very quickly between jobs. Multiprocessing allows for true parallel execution. This means several jobs actually happen at the same time.

There are different ways these computer brains work together. In symmetric multiprocessing, or SMP, all the CPUs are equal. They all share the same main memory and parts. Some systems are not equal, which is called asymmetric multiprocessing. In a master/slave system, one CPU is the leader. The master CPU stays in control of the whole computer. It assigns tasks to the slave CPUs. These slave CPUs can be different speeds or have different designs.

We can look back at how these systems started. Two early examples of master/slave systems were the Bull Gamma 60 and the Burroughs B5000. In February 1982, a desktop called the Tandy/Radio Shack TRS-80 Model 16 was released. It used the Xenix operating system. This computer had two different microprocessors. One was an 8-bit Zilog Z80 running at 4 MHz. The other was a 16-bit Motorola 68000 running at 6 MHz. These two CPUs could even switch their roles!

Computers also group their processors in different ways. Tightly coupled systems have CPUs that are very close together. They often share a central memory. Chip multiprocessors, or multi-core computing, put more than one processor on a single chip. This is a very extreme form of being tightly coupled. On the other hand, loosely coupled systems are called clusters. These are groups of separate computers connected by high-speed paths. A Linux Beowulf cluster is one example of this.

Each way of working has its own benefits. Tightly coupled systems are usually smaller and use less power. They are also very efficient because they are built to work together. Loosely coupled clusters can run different types of software on each computer. However, merging data from many tasks can sometimes be a hard job. This is because the system must resolve conflicts to keep data consistent. Understanding these systems helps us see how modern technology stays so fast.

396 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.