Time-sharing
In computing, time-sharing is the sharing of a computing resource among many users at the same time by means of multiprogramming and multi-tasking.
Its emergence as the prominent model of computing in the 1970s represented a major technological shift in the history of computing. By allowing many users to interact concurrently with a single computer, time-sharing dramatically lowered the cost of providing computing capability, made it possible for individuals and organizations to use a computer without owning one, and promoted the interactive use of computers and the development of new interactive applications.
History
Batch processing
The earliest computers were extremely expensive devices, and very slow in comparison to later models. Machines were typically dedicated to a particular set of tasks and operated by control panels, the operator manually entering small programs via switches in order to load and run a series of programs. These programs might take hours, or even weeks, to run. As computers grew in speed, run times dropped, and soon the time taken to start up the next program became a concern. Batch processing methodologies evolved to decrease these "dead periods" by queuing up programs so that as soon as one program completed, the next would start.To support a batch processing operation, a number of comparatively inexpensive card punch or paper tape writers were used by programmers to write their programs "offline". When typing was complete, the programs were submitted to the operations team, which scheduled them to be run. Important programs were started quickly; how long before less important programs were started was unpredictable. When the program run was finally completed, the output was returned to the programmer. The complete process might take days, during which time the programmer might never see the computer.
The alternative of allowing the user to operate the computer directly was generally far too expensive to consider. This was because users might have long periods of entering code while the computer remained idle. This situation limited interactive development to those organizations that could afford to waste computing cycles: large universities for the most part. Programmers at the universities decried the behaviors that batch processing imposed, to the point that Stanford students made a short film humorously critiquing it. They experimented with new ways to interact directly with the computer, a field today known as human–computer interaction.
Time-sharing
Time-sharing was developed out of the realization that while any single user would make inefficient use of a computer, a large group of users together would not. This was due to the pattern of interaction: Typically an individual user entered bursts of information followed by long pauses but a group of users working at the same time would mean that the pauses of one user would be filled by the activity of the others. Given an optimal group size, the overall process could be very efficient. Similarly, small slices of time spent waiting for disk, tape, or network input could be granted to other users.The concept is claimed to have been first described by John Backus in the 1954 summer session at MIT, and later by Bob Bemer in his 1957 article "How to consider a computer" in Automatic Control Magazine. In a paper published in December 1958 by W. F. Bauer, he wrote that "The computers would handle a number of problems concurrently. Organizations would have input-output equipment installed on their own premises and would buy time on the computer much the same way that the average household buys power and water from utility companies." Christopher Strachey, who became Oxford University's first professor of computation, filed a patent application for time-sharing in February 1959. He passed the concept on to J. C. R. Licklider at the first UNESCO Information Processing Conference in Paris in June that year where he gave a paper "Time Sharing in Large Fast Computers".
Implementing a system able to take advantage of this was initially difficult. Batch processing was effectively a methodological development on top of the earliest systems. Since computers still ran single programs for single users at any time, the primary change with batch processing was the time delay between one program and the next. Developing a system that supported multiple users at the same time was a completely different concept. The "state" of each user and their programs would have to be kept in the machine, and then switched between quickly. This would take up computer cycles, and on the slow machines of the era this was a concern. However, as computers rapidly improved in speed, and especially in size of core memory in which users' states were retained, the overhead of time-sharing continually decreased, relatively speaking.
The first project to implement time-sharing of user programs was initiated by John McCarthy at MIT in 1959, initially planned on a modified IBM 704, and later on an additionally modified IBM 709. One of the deliverables of the project, known as the Compatible Time-Sharing System or CTSS, was demonstrated in November 1961. CTSS has a good claim to be the first time-sharing system and remained in use until 1973. Another contender for the first demonstrated time-sharing system was PLATO II, created by Donald Bitzer at a public demonstration at Robert Allerton Park near the University of Illinois in early 1961. But this was a special-purpose system. Bitzer has long said that the PLATO project would have gotten the patent on time-sharing if only the University of Illinois had not lost the patent for two years. JOSS began time-sharing service in January 1964.
The first commercially successful time-sharing system was the Dartmouth Time Sharing System.
Development
Throughout the late 1960s and the 1970s, computer terminals were multiplexed onto large institutional mainframe computers, which in many implementations sequentially polled the terminals to see whether any additional data was available or action was requested by the computer user. Later technology in interconnections were interrupt driven, and some of these used parallel data transfer technologies such as the IEEE 488 standard. Generally, computer terminals were utilized on college properties in much the same places as desktop computers or personal computers are found today. In the earliest days of personal computers, many were in fact used as particularly smart terminals for time-sharing systems.The Dartmouth Time Sharing System's creators wrote in 1968 that "any response time which averages more than 10 seconds destroys the illusion of having one's own computer". Conversely, timesharing users thought that their terminal was the computer.
With the rise of microcomputing in the early 1980s, time-sharing became less significant, because individual microprocessors were sufficiently inexpensive that a single person could have all the CPU time dedicated solely to their needs, even when idle.
However, the Internet brought the general concept of time-sharing back into popularity. Expensive corporate server farms costing millions can host thousands of customers all sharing the same common resources. As with the early serial terminals, web sites operate primarily in bursts of activity followed by periods of idle time. This bursting nature permits the service to be used by many customers at once, usually with no perceptible communication delays, unless the servers start to get very busy.
Time-sharing business
GenesisIn the 1960s, several companies started providing time-sharing services as service bureaus. Early systems used Teletype Model 33 KSR or ASR or Teletype Model 35 KSR or ASR machines in ASCII environments, and IBM Selectric typewriter-based terminals with two different seven-bit codes. They would connect to the central computer by dial-up Bell 103A modem or acoustically coupled modems operating at 10-15 characters per second. Later terminals and modems supported 30-120 characters per second. The time-sharing system would provide a complete operating environment, including a variety of programming language processors, various software packages, file storage, bulk printing, and off-line storage. Users were charged rent for the terminal, a charge for hours of connect time, a charge for seconds of CPU time, and a charge for kilobyte-months of disk storage.
Common systems used for time-sharing included the SDS 940, the PDP-10, and the IBM 360. Companies providing this service included GE's GEISCO, IBM subsidiary The Service Bureau Corporation, Tymshare, National CSS, Dial Data, Bolt, Beranek, and Newman and Time Sharing Ltd. in the UK. By 1968, there were 32 such service bureaus serving the US National Institutes of Health alone. The Auerbach Guide to Timesharing lists 125 different timesharing services using equipment from Burroughs, CDC, DEC, HP, Honeywell, IBM, RCA, Univac, and XDS.
Rise and fall
In 1975, it was said about one of the major super-mini computer manufacturers that "The biggest end-user market currently is time-sharing." For DEC, for a while the second largest computer company, this was also true: Their PDP-10 and IBM's 360/67 were widely used by commercial timesharing services such as CompuServe, On-Line Systems, Rapidata and Time Sharing Ltd.The advent of the personal computer marked the beginning of the decline of time-sharing. The economics were such that computer time went from being an expensive resource that had to be shared to being so cheap that computers could be left to sit idle for long periods in order to be available as needed.
Rapidata as an example
Although many time-sharing services simply closed, Rapidata held on, and became part of National Data Corporation. It was still of sufficient interest in 1982 to be the focus of "A User's Guide to Statistics Programs: The Rapidata Timesharing System". Even as revenue fell by 66% and National Data subsequently developed its own problems, attempts were made to keep this timesharing business going.UK
- Time Sharing Limited - launched using DEC systems. PERT was one of its popular offerings. TSL was acquired by ADP in 1974.
- OLS Computer Services Limited - using HP & DEC systems.
The computer utility
Security
Time-sharing was the first time that multiple processes, owned by different users, were running on a single machine, and these processes could interfere with one another. For example, one process might alter shared resources which another process relied on, such as a variable stored in memory. When only one user was using the system, this would result in possibly wrong output - but with multiple users, this might mean that other users got to see information they were not meant to see.To prevent this from happening, an operating system needed to enforce a set of policies that determined which privileges each process had. For example, the operating system might deny access to a certain variable by a certain process.
The first international conference on computer security in London in 1971 was primarily driven by the time-sharing industry and its customers.
Notable time-sharing systems
Significant early timesharing systems:- Allen-Babcock RUSH Time-sharing System on IBM S/360 hardware → Tymshare
- AT&T Bell Labs Unix → UC Berkeley BSD Unix
- BBN PDP-1 Time-sharing System → Massachusetts General Hospital PDP-1D → MUMPS
- BBN TENEX → DEC TOPS-20, Foonly FOONEX, MAXC OS at PARC, Stanford Low Overhead TimeSharing, which ran TOPS-20
- Berkeley Timesharing System at UC Berkeley Project Genie → Scientific Data Systems SDS 940 → BCC 500 → MAXC at PARC
- Burroughs Time-sharing MCP → HP 3000 MPE
- Cambridge Multiple Access System was developed for the Titan, the prototype Atlas 2 computer built by Ferranti for the University of Cambridge. This was the first time-sharing system developed outside the United States, and which influenced the later development of UNIX.
- Compower Ltd., a wholly owned subsidiary of the National Coal Board in the UK. Originally National Coal Board Computer Services, it became Compower in 1973 providing computing and time-share services to internal NCB users and as a commercial service to external users. Sold to Philips C&P in August 1994.
- CompuServe, also branded as Compu-Serv, CIS.
- Compu-Time, Inc., on Honeywell 400/4000, started in 1968 in Ft Lauderdale, Florida, moved to Daytona Beach in 1970.
- CDC MACE, APEX → Kronos → NOS → NOS/VE
- Dartmouth Time Sharing System → GE Time-sharing → GEnie
- DEC PDP-6 Time-sharing Monitor → TOPS-10 → BBN TENEX → DEC TOPS-20
- DEC TSS/8 → RSTS-11, RSX-11 → VAX/VMS
- English Electric KDF9 COTAN
- HP 2000 Time-Shared BASIC
- HP 3000 series
- IBM CALL/360, CALL/OS - using IBM System/360 Model 50
- IBM CP-40 → CP-67 → CP-370 → CP/CMS → VM/CMS
- IBM TSO for OS/MVT → for OS/VS2 → for MVS → for z/OS
- IBM TSS/360 → TSS/370
- ICT 1900 series GEORGE 3 MOP
- International Timesharing Corporation on dual CDC 3300 systems.
- MIT CTSS → MULTICS → Unix
- MIT Time-sharing System for the DEC PDP-1 → ITS
- McGill University MUSIC → IBM MUSIC/SP
- Michigan Terminal System, on the IBM S/360-67, S/370, and successors.
- Michigan State University CDC SCOPE/HUSTLER System
- National CSS VP/CSS, on IBM 360 series; originally based on IBM's CP/CMS.
- Oregon State University OS-3, on CDC 3000 series.
- Prime Computer PRIMOS
- RAND JOSS → JOSS-2 → JOSS-3
- RCA TSOS → Univac / Unisys VMOS → VS/9
- Service in Informatics and Analysis, on CDC 6600 Kronos.
- System Development Corporation Time-sharing System, on the AN/FSQ-32.
- Stanford ORVYL and WYLBUR, on IBM S/360-67.
- Stanford PDP-1 Time-sharing System → SAIL → WAITS
- Time Sharing Ltd. on DEC PDP-10 systems → Automatic Data Processing, first commercial time-sharing system in Europe and first dual time-sharing system.
- Tone, a non-IBM Time-sharing product, marketed by Tone Software Co; TSO required VS2.
- Tymshare SDS-940 → Tymcom X → Tymcom XX
- Unisys/UNIVAC 1108 EXEC 8 → OS 1100 → OS 2200
- UC Berkeley CAL-TSS, on CDC 6400.
- XDS UTS → CP-V → Honeywell CP-6