Tech●●●●●Difficulty 2 of 5

How can one computer pretend to be many?

In 1967 IBM had one machine run fourteen at once, and cloud computing still rests on the same trick.

▶ Start the story

One real computer can pretend to be many by running a layer of software, called a hypervisor, that creates virtual machines. A virtual machine is a software imitation of a whole computer, complete with its own operating system. The real computer is the host, each imitation is a guest, and the hypervisor shares out the hardware so that every guest feels it has a machine to itself.

Unlike an , a guest under a hypervisor executes most of its instructions directly on the real hardware. And Linux, Windows and macOS instances can all run side by side on one physical machine, isolated from one another.

How one machine pretends to be many
  1. Step 1: One real machine

    The host, with real hardware

  2. Step 2: Hypervisor

    Creates and runs the virtual machines

  3. Step 3: Guests, each with an OS

    Linux, Windows and macOS can share one machine

  4. Step 4: Privileged actions caught

    In CP-40, the control program simulated them

The idea is older than most people think. It grew out of , where a computer switched quickly between users so that each seemed to have it to themselves. In January 1967 IBM's Cambridge Scientific Center put CP-40 into production use, built with MIT researchers on a specially modified IBM System/360 Model 40. It was the first operating system to offer complete virtualization, and it ran fourteen virtual machines at once.

Decades later the trick solved an economic problem. The average of a server in the early 2000s was 5 to 15%, so most of the hardware sat idle. Virtualization let a single server consolidate the work of several underused ones. That is why virtualization is the main enabling technology for cloud computing.

Quiz me

0/3

  1. 1.What does a hypervisor do?
  2. 2.Why did virtualization become so attractive for data centers?
  3. 3.In CP-40, what happened when a guest tried a privileged operation like input or output?

Recap

A hypervisor makes one real computer look like many, each guest with its own operating system, mostly running directly on the real hardware.

💡 A trick to remember it · A hypervisor is an apartment-building manager: one building, many tenants, and each thinks the whole place is theirs.

Surprising fact · IBM's CP-40 ran fourteen virtual machines at once in 1967.

Sources (7)

No source, no claim. Every fact in this lesson (15 claims) cites at least one of these.

  1. [1]Virtual machine · Wikipedia
  2. [2]Hypervisor · Wikipedia
  3. [3]IBM CP-40 · Wikipedia
  4. [4]Server (computing) · Wikipedia
  5. [5]Virtualization · Wikipedia
  6. [6]Cloud computing · Wikipedia
  7. [7]Overview | Kubernetes · Kubernetes documentation
More lessons in 💻 Tech (3) See all tech lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗