V (operating system)

The V operating system (sometimes written V-System) is a discontinued microkernel operating system that was developed by faculty and students in the distributed systems group at Stanford University from 1981 to 1988, led by Professors David Cheriton and Keith A. Lantz. V was the successor to the Thoth and Verex operating systems that Cheriton had developed in the 1970s. Despite very similar names and close development dates, it is unrelated to UNIX System V.

Features
The key concepts in V are multithreading and synchronous message passing.  The original V terminology uses process for what is now commonly called a thread, and team for what is now commonly called a process consisting of multiple threads sharing an address space.  Communication between threads in V uses synchronous message passing, with short, fixed-length messages that can include access rights for the receiver to read or write part of the sender's address space before replying.  The same message-passing interface is used both between threads within one process, between threads of different processes within one machine, and between threads on different machines connected by a local Ethernet.  A thread receiving a message is not required to reply to it before receiving other messages; this distinguished the model from Ada rendezvous. 

One common pattern for using the messaging facility is for clients to send messages to a server requesting some form of service.  From the client side, this looks much like a remote procedure call (RPC).  The convenience of an automatic stub generator was lacking, but in contrast, the client can pass one parameter by reference, which is not possible with other RPC implementations.  From the server side the model differs more from RPC, since by default all client requests are multiplexed onto one server thread.  The server is free to explicitly fork threads to handle client requests in parallel, however; if this is done, the server-side model is much like RPC too.

V was never an end in itself for the Stanford group; rather, it was used as a vehicle for many different research projects in distributed operating systems and networking.  Much like other operating system efforts of its day (such as Sprite), V was a complete system that was mostly self hosting.  Many students ran V as the only operating system on their diskless SUN workstations or MicroVAX workstations. Compiles could be done either on V, or on VAX Unix machines that provided file service in a more stable environment than the ever-changing research system.

V did have some notable impacts. After the initial implementation on one computer, the Versatile Message Transaction Protocol (VMTP) was developed to extend the send-receive-reply system call semantics over a local area network. 
The protocol included multicast support developed by Steve Deering as a graduate student in the group. The Internet Protocol layer to support this evolved into the IP multicast standard. 

The V system was used for graphical user interface (GUI) research. The Virtual Graphics Terminal Service (VGTS) provided a modular windowing system for both local and remote applications. The little-known W Window System got its name because it was first hosted on the V operating system, and the better-known X Window System in turn got its name because its first version was based partly on W. V also spawned another pure microkernel effort at Apple Computer known as Vanguard, which added a number of improvements to the basic system. Vanguard later disappeared in a reorganization. The Tektronix VM700 television measurement instrument was developed in a networked V environment in the late 1980s and ran a lightly modified version of the V operating system; this device was manufactured and sold for many years.

References

External links
 V system documentation at Bitsavers.org

Category:Microkernels
Category:Stanford University
Category:Discontinued operating systems
Category:Microkernel-based operating systems