Skip to main content
ReferenceComputing historyBeginner

Why operating systems emerged

From batch monitors to CTSS and Multics: how operating systems learned to organise work, share resources and protect programs and users.

Show contents

A program finishes its calculation in a few seconds. Its author may still wait hours to discover an error, correct a card and request another run. In between, someone has to prepare the data, load the right tools, allocate peripheral devices and collect the results. Fast calculation alone does not make a computer useful.

Operating systems emerged to close that gap. They gradually took over some of the work needed to turn a machine into a computing service that a community could use. Their history starts long before windows or personal computers, in computing centres staffed by operators and equipped with card readers, magnetic tapes and the first terminals.

A program in memory is not yet a service

The stored-program principle puts instructions in memory where the machine can access them. Machines such as Baby and EDSAC show how the principle became working hardware and then a scientific tool. Organising everyday access was another challenge.

At some computing centres in the early 1950s, programmers booked time at the console. They prepared a program, loaded it, ran tests and examined the output. Robert Patrick describes this arrangement on Convair’s IBM 701: the programmer was present and operated the machine. Practices varied between installations; the earliest computers were not all run in precisely the same way.

This approach left costly gaps between calculations. An operator also needed to know which medium to mount, which program to load and what to do after a halt. Punched cards were a medium, not a mechanism that decided how operations should follow one another.

An operating system provides mechanisms for managing execution and access to resources: the processor, memory, peripherals and stored data. Today, its kernel is the central part that exercises privileged control; the complete system also includes other programs and services. The earliest implementations did not all have this separation or use this terminology.

Monitors automate the transition to the next job

One early response was to give a control program, often called a monitor, responsibility for moving from one job to the next. Here, “monitor” does not mean a display. It starts a job, regains control when the job ends and prepares the next one. Shared routines spare programmers from repeatedly implementing input/output operations.

A job combines a processing request, its programs and data, and the instructions needed to run it. Control cards might request translation followed by execution. Those instructions are addressed to the processing system; they are distinct from statements in the application’s programming language.

GM-NAA I/O, developed for the IBM 704 in the mid-1950s, illustrates this shift. Teams at General Motors Research and North American Aviation collaborated on it. Patrick and Owen Mock helped design the system, while George Ryckman led part of the development at GM. Industrial users, as well as computer manufacturers, were driving these changes.

Patrick describes three phases: preparing an input tape on separate equipment, processing it on the main computer, and converting and printing the results offline. Offline here means that equipment worked separately from the main computer; the term has nothing to do with Internet connectivity.

Operators did not disappear. Their interventions shifted towards preparing batches, mounting media and handling incidents. Their work made automation possible rather than simply being replaced by it.

Batch processing improves throughput, but not necessarily waiting time

Batch processing groups requests for execution without an ongoing dialogue with their authors. It suits calculations and repetitive tasks whose data is already available. It reduces setup time between jobs, but a small correction may still have to wait behind a long queue.

Three measures matter here. Throughput is the amount of work completed over a period. Turnaround time runs from submitting a job to receiving its result. Response time, in interactive use, is the wait after an action. Improving one measure does not guarantee an improvement in the others.

Compilation and supervision solve different problems. The work of Grace Hopper and early compilers made programs easier to express. A monitor instead determined how jobs were handled. A computing centre could offer good programming languages while still making each round of testing painfully slow.

Tapes prepared offline, memory buffers and I/O queues offered different ways to separate preparation, computation and output. With spooling, requests wait in intermediate storage until the relevant device can process them. An application no longer has to work directly at a printer’s pace. These techniques are distinct and did not all arrive at once.

Multiprogramming: computing while another program waits

Reading data or printing a result can take much longer than some processor operations. A machine that can perform I/O independently of computation can make better use of that difference in speed.

Multiprogramming lets several programs make progress over the same period. When one waits for I/O, another can use the processor. On a single processor, this does not mean that all their instructions execute simultaneously: the system arranges turns. Having multiple processors is a separate issue.

Consider a deliberately simplified example with no context-switching overhead. Two jobs are ready at time zero. A needs two seconds of computation, four seconds of I/O, then another two seconds of computation. B needs four seconds of computation and does not use A’s peripheral device.

Arrangement Processor use B finishes All work finishes
Complete A, then run B A from 0 to 2; idle from 2 to 6; A from 6 to 8; B from 8 to 12 12 s 12 s
Run B while A waits A from 0 to 2; B from 2 to 6; A from 6 to 8 6 s 8 s

There are eight seconds of useful computation in either case. The second arrangement removes four seconds of processor inactivity; it does not make any instruction run faster. A still finishes after eight seconds. B finishes sooner, as does the combined workload, under the example’s stated assumptions.

Two timelines compare running A and then B with running B during A’s four seconds of I/O. The combined workload finishes after eight seconds instead of twelve.

On a real installation, transfers, state saving and available memory impose costs. If all programs need the same device, or moving them between storage levels takes too long, the outcome may be less favourable. This example explains a mechanism; it is not a historical measurement of Atlas or CTSS.

Atlas coordinates the whole machine

The Atlas project in Manchester brought together the university and Ferranti under Tom Kilburn’s leadership. Its inauguration on 7 December 1962 did not mean that all its software was fully available. The university’s archives date the availability of the complete Supervisor to January 1964.

Atlas combined multiprogramming with automatic storage management. Its one-level store linked fast memory and a magnetic drum, transferring information in pages. Programs used addresses whose mapping to the storage actually available was managed by the system: a major step in virtual memory. It did not create memory for free; transfers were physical operations that took time.

David Howarth, one of the Supervisor designers, identifies several needs: coordinating peripherals, providing more convenient operations, keeping operators informed and tracking jobs. A useful read operation for a programmer should hide some of the details of reading individual characters.

Interrupts allowed an event, such as completion of an I/O operation, to trigger an appropriate transfer of control. The Supervisor had to handle that event and decide which activity could continue. This coordination required hardware and software to work together; a library of subroutines alone was not enough.

CTSS also reduces the time people spend waiting

Time-sharing posed a new question for computing centres. Could several people work from terminals, correct a program and get a prompt response, instead of putting every test into a batch queue?

A memorandum by John McCarthy, dated 1 January 1959, proposed an operator program to provide this kind of access at MIT. Making the idea work required a collective effort: terminals, hardware modifications, supervision and tools all had to function together.

The team led by Fernando J. Corbató developed the Compatible Time-Sharing System, or CTSS. An experimental version was demonstrated in November 1961 on an IBM 709. Corbató, Marjorie Merwin-Daggett and Robert C. Daley presented its principles in their 1962 paper. MIT subsequently made CTSS a supported service in 1963. The demonstration and the service were different stages.

Their paper explicitly distinguishes two goals. Multiprogramming aims, among other things, to use resources more efficiently; time-sharing aims to make the machine responsive to several people. The system allocates short periods of computation so that each person can keep interacting with it. The two can work together: an interactive service can advance other programs while one waits for I/O. A long request still consumes processing capacity; interactivity does not remove the computer’s limits.

The 1963 guide documents an environment in which users identify themselves, handle files and invoke programs from a console. It also names contributions by Daggett, Daley, Robert Creasy, Jessica Hellwig, Richard Orenstein and other team members. Reducing CTSS to McCarthy’s idea or Corbató’s name alone would erase the work that made the service usable.

The word compatible reflects the intention to support the new style of use alongside conventional processing. Time-sharing did not necessarily replace batch processing. Saltzer’s technical notes describe background processing and the supervisory decisions that organised these different activities.

This pursuit of direct access helps explain the BASIC project at Dartmouth, but the systems should not be confused. CTSS was not Dartmouth’s system, and BASIC is not an operating system.

Sharing requires control and protection

A looping program need not bring every other program to a halt. Preemption lets the system interrupt execution and give the processor to another activity. A hardware timer can trigger this return of control; the system saves the state needed to resume later. That context switch has a cost.

The system must also stop a program overwriting the supervisor’s memory. Hardware privilege and protection mechanisms can restrict what an application does directly. A request for a controlled operation goes through a designated entry into the system rather than gaining unrestricted access to hardware.

The CTSS notes show how much this separation depended on memory organisation and hardware modifications. We cannot credit every 1950s monitor with the guarantees of a modern system. Protection developed gradually, with limits that depended on the machine.

Conceptual diagram: programs A and B have separate private memory spaces and request services from a supervisor, which arbitrates access to the processor, storage and peripheral devices.

Protection does not mean separating everything. Two people might want to read the same file without letting everyone change it. The issue becomes authorised sharing: identifying users, assigning permissions and checking access. Backing up data and restoring service after an incident are further responsibilities.

OS/360, Multics and THE pursue different goals

IBM’s System/360, announced on 7 April 1964, aimed to provide a compatible family of machines. That ambition also required software to support different configurations and uses. Announcing the hardware family was not the same as delivering every OS/360 feature.

The introductory text of the OS/360 manual, revised in November 1966, describes language translators and service programs coordinated by control routines. Patrick’s account also traces the reuse of functions from earlier systems and the adaptation of software to hardware configurations. The system thus coordinated a set of tools and activities, going beyond launching an individual program.

Multics pursued another ambition: a lasting computing service that could be accessed remotely and could evolve. Corbató and Victor Vyssotsky set out this vision in 1965. The project brought together MIT’s Project MAC, General Electric and Bell Laboratories. Their roles extended beyond supplying a machine or writing a single program.

The plans called for continuous service, reliable files, administration and controlled sharing. The file system and memory management were part of that organisation. People needed to be able to leave data in the service and choose whom to share it with.

The 1972 retrospective by Corbató, Saltzer and C. T. Clingen does not describe instant success. It recounts the design revisions needed when actual performance fell short of expectations. Multics became usable by its developers in late 1968, then opened for general use at MIT in October 1969, with charges intended to recover costs. Bell Laboratories left the project in 1969; Multics did not end with its departure.

In the Netherlands, THE, presented by Edsger Dijkstra in 1968, explored a layered organisation to keep interactions manageable. The Eindhoven University of Technology project sought to provide a multiprogramming service; Dijkstra explicitly stated that it was not a multi-access system. This example challenges a single-track account of the 1960s as a march towards interactive terminals. Structure, reliability and job processing remained goals in their own right.

Why a single “first” is misleading

A monitor that sequences jobs, a supervisor that coordinates memory and peripherals, and an interactive multi-user service cross different thresholds. Different criteria bring different systems to the fore.

Personal accounts also have limits. In Patrick’s interview with Thomas Haigh, a dating problem emerges when his recollection of GM-NAA is compared with FORTRAN’s availability. That does not invalidate the organisation he describes. It does caution against treating a retrospective account as an exact timetable for every feature.

Atlas had an inauguration date followed by further software development. CTSS had a demonstration, a publication and then a service. Multics had a project, announced goals and a gradual introduction into use. Identifying the milestone teaches us more than awarding an unqualified title of “first”.

This account is selective too. It compares a few industrial and university centres in the United States and Europe; it is neither a worldwide inventory nor a complete history of real-time or embedded computing.

The legacy: making shared resources usable

Organising program execution and processor sharing, managing memory, coordinating I/O and protecting activities from one another remain central concerns of operating systems. Common services let applications and users make use of a machine without controlling every hardware detail. These functions have grown and changed; early monitors did not possess every mechanism or guarantee available today. Windows are only one way to present services built on those foundations.

Batch processing still suits deferred work, interaction suits dialogue, and other applications impose real-time deadlines. These needs can coexist. The emergence of operating systems was not the replacement of an old way of working by one universally superior mode.

The story continues with Unix, its files, processes and tools. It also leads to networks: from 1969, ARPANET linked distant time-sharing computers so that they could share their resources. But the central change is already clear: running a program and maintaining a service for several users are different problems. Operating systems developed to connect them.

Frequently asked questions

What was the first operating system?

It depends on which functions count. GM-NAA I/O illustrates early batch monitors; Atlas, an integrated supervisor; and CTSS, the beginnings of shared interactive service. A careful attribution states its criterion and distinguishes a prototype, a demonstration and regular operation.

How do batch processing, multiprogramming and time-sharing differ?

Batch processing submits jobs without an ongoing dialogue. Multiprogramming lets several programs make progress, notably while others wait. Time-sharing aims to provide interactive access for several users. One system can combine these properties.

Was a time-sharing terminal a personal computer?

It provided personal access to a remote service, but the main computation still happened on a shared machine. The terminal primarily sent actions and returned responses. An individual experience did not imply dedicated resources.

Is virtual memory the same as time-sharing?

No. Virtual memory manages addresses and their mapping to available storage. Time-sharing organises interactive access for multiple users. They can complement one another, but they solve different problems and neither defines the other.

Why did CTSS need hardware modifications?

The supervisor needed ways to regain control and separate its own operation from user programs. The CTSS technical notes describe this hardware–software cooperation. Adding a console alone does not create a safely shared service.

Is a compiler, or a language such as BASIC, an operating system?

No. A compiler translates programs, and a language provides a way to express them. An operating system manages execution and access to resources. They cooperate, but several languages can run on the same system.

Did early systems have graphical interfaces?

The systems discussed here mainly used jobs submitted to a computing centre, operator consoles and text terminals. Supervision, files and resource sharing developed independently of the window-based interface many people now associate with an operating system.

Was this article useful?

Sources and references

  1. Robert L. Patrick, Operating System Roots (opens in a new tab), Computer History Museum, R0369.2017; account written in December 2006, 2006Page in English
  2. Robert L. Patrick, interview with Thomas Haigh, Oral History of Robert L. Patrick / First Person Essay (opens in a new tab), Computer History Museum, X3804.2007, interview recorded on 16 February 2006; especially pp. 19–25, 2006Page in English
  3. University of Manchester — The Atlas: inauguration, memory organisation and Supervisor availability (opens in a new tab)Page in English
  4. David Howarth, How We Made Atlas Useable (opens in a new tab), Computer Conservation Society, Resurrection, no. 13, autumn 1995; account by a Supervisor designer, 1995Page in English
  5. IBM — The IBM System/360: 7 April 1964 announcement and compatible family (opens in a new tab)Page in English
  6. IBM, IBM System/360 Operating System: Introduction (opens in a new tab), Systems Reference Library, C28-6534-1, November 1966 revision; Bitsavers facsimile, 1966Page in English
  7. John McCarthy, Memorandum to P. M. Morse Proposing Time Sharing (opens in a new tab), Memorandum dated 1 January 1959, preserved on the author’s Stanford website; sections on quick service and the operator program, 1959Page in English
  8. Fernando J. Corbató, Marjorie Merwin-Daggett and Robert C. Daley, An Experimental Time-Sharing System (opens in a new tab), AFIPS Spring Joint Computer Conference, vol. 21, pp. 335–344; copy held at UC San Diego, 1962Page in English
  9. Fernando J. Corbató, Marjorie M. Daggett, Robert C. Daley, Robert J. Creasy, Jessica D. Hellwig, Richard H. Orenstein and L. K. Korn, The Compatible Time-Sharing System: A Programmer’s Guide (opens in a new tab), MIT Press, first edition; facsimile of the May 1964 printing, 1963Page in English
  10. Jerome H. Saltzer, CTSS Technical Notes (opens in a new tab), MIT Project MAC, report MAC-TR-16, 1965Page in English
  11. MIT CSAIL — CTSS Documents: archives, manual editions and the transition to a service in 1963 (opens in a new tab)Page in English
  12. Fernando J. Corbató and Victor A. Vyssotsky, Introduction and Overview of the Multics System (opens in a new tab), AFIPS Fall Joint Computer Conference, vol. 27, pp. 185–196; transcription preserved by the Multics History Project, 1965Page in English
  13. Fernando J. Corbató, Jerome H. Saltzer and C. T. Clingen, Multics—The First Seven Years (opens in a new tab), AFIPS Spring Joint Computer Conference; text preserved at MIT, 1972Page in English
  14. Edsger W. Dijkstra, The Structure of the ‘THE’-Multiprogramming System (opens in a new tab), Communications of the ACM, 11(5), pp. 341–346; EWD 196 manuscript preserved at the University of Texas at Austin, 1968Page in English
  15. Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau, Operating Systems: Three Easy Pieces — Introduction to Operating Systems (opens in a new tab), University of Wisconsin–Madison, chapter 2, online editionPage in English
  16. Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-Dusseau, Operating Systems: Three Easy Pieces — Mechanism: Limited Direct Execution (opens in a new tab), University of Wisconsin–Madison, chapter 6, online editionPage in English
ReferenceComputing historyBeginner

Unix history: from Bell Labs to BSD, Linux and macOS

Born at Bell Labs in 1969, Unix brought files, processes, the shell, pipes and C together. Its ideas live on in BSD, Linux, macOS and the POSIX standard.

5 November 202615 min
ReferenceComputing historyBeginner

BASIC: opening programming to non-specialists

From Dartmouth to home computers: how BASIC made programming easier to learn through time-sharing, simple examples and a growing family of dialects.

3 November 202613 min
BiographyComputing historyBeginner

Grace Hopper: from early compilers to COBOL

Discover how Grace Hopper helped transform programming by making computers translate readable instructions into machine operations.

3 August 20266 min