From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,78739b10c9e6f38b X-Google-Attributes: gidf7344,public X-Google-Thread: 102b75,78739b10c9e6f38b X-Google-Attributes: gid102b75,public X-Google-Thread: fa528,78739b10c9e6f38b X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-07-25 14:32:10 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!portc.blue.aol.com.MISMATCH!portc03.blue.aol.com!newsjunkie.ans.net!news.chips.ibm.com!newsfeed.btv.ibm.com!news.btv.ibm.com!hack From: hack@watson.ibm.com (hack) Newsgroups: comp.os.vms,comp.unix.tru64,comp.arch Subject: Re: VM: checking some myths. Date: 25 Jul 2001 21:32:05 GMT Organization: IBM_Research Message-ID: <9jndsl$ir2$1@news.btv.ibm.com> References: <9ion0n$cfd$1@pyrite.mv.net> NNTP-Posting-Host: starcraft.watson.ibm.com X-Trace: news.btv.ibm.com 996096725 19298 9.2.8.37 (25 Jul 2001 21:32:05 GMT) X-Complaints-To: news@btv.ibm.com NNTP-Posting-Date: 25 Jul 2001 21:32:05 GMT Xref: archiver1.google.com comp.os.vms:37759 comp.unix.tru64:3836 comp.arch:14544 In article , Peter Hancock wrote: > >Is it possible to say in a sentence or two, or point to a short >high-level description of what kind of communication interface there >is/was between the virtual machines? How do they look to each other? There are several available mechanisms, in two classes. In either case, two virtual machines look to each other like separate real machines, with various communication channels of varying capabilities. Class 1: Virtualised real I/O interfaces. These are available to any operating system -- the OS need not even know that it is running in a virtual machine. Coupling-Facility channels: very high performance, but I think this is a restricted interface Channel-to-Channel adapter: uses channel programs to read-write blocks; high throughput for large-enough block sizes Shared disk: if hypervisor implements minidisk caching, performance should approach that of CTCA; otherwise disk limited Card reader/punch: simple CCW interface but low performance Class 2: hypervisor-defined interfaces. These are still machine-like in the way they are used (via privileged machine instructions and interrupt reflection, or direct storage access), but they go beyond what is available in a real machine. The operating system has to be aware of the VM hypervisor (CP, the "Control Program"). Shared "real" memory. By mutual agreement two (or more) virtual machines can have a region of their real address space shared. (The mapping that is performed by the hypervisor underneath is invisible.) There is (or used to be) a mini-OS called GCS that exploits this. There is even an architectural mode called XC (no real-machine equivalent) that extends S/390 Access Register mode to DAT-off operating systems like CMS to address multiple "real" address spaces, so one virtual machine's entire primary address space can (by mutual agreement, via hypervisor services) by accessible as another virtual machine's AR-selected data space. VMCF - Virtual Machine Communication Facility: provides a DMA-like interface for sending and receiving packets. Used for example to communicate with the VM-TCPIP server virtual machine. IUCV - Inter-User-Communication-Vehicle: a more elaborate messaging facility with multiple channels, revocation mechanisms, etc. Used by the CMS Shared Filesystem to communicate with the SFS server VM. LDF - Logical Device Facility: allows one VM to act like a display control unit for another's virtual 3270 console. Used by PVM -- the cross-network VM logon mechanism. High-performace access to the virtual card reader (the primary "network" interface between virtual machines, where one VM's Punch feeds into another VM's Reader), allowing 4K blocks of virtual cards to be read in one gulp. Historically, the coupling between virtual card punches and readers (across the RSCS company-wide network, aka VNET) was the primary communication interface (nearly 30 years old). It may sound quaint, but it's really just a data pipe (with 80-byte blocks) with tagged ends to perform the connection, and it has a really simple interface (no connection protocols etc. -- the network is store-and-forward, so it's literally like mailing postcards where bunches (individual "spool files") are guaranteed to arrive in order (there is no virtual equivalent to a deck of cards spilled on the floor). Michel