From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,54e01b0b1426cc1f,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,54e01b0b1426cc1f,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 1070f0,54e01b0b1426cc1f,start X-Google-Attributes: gid1070f0,public From: hoffman@xdelta.enet.dec.nospam (Hoff Hoffman) Subject: Sun Solaris vs OpenVMS, Alpha vs SPARC, etc (was ...) Date: 1998/12/07 Message-ID: <74gvcd$jhv@usenet.pa.dec.com> X-Deja-AN: 419673028 Distribution: world Organization: Compaq Computer Corporation Reply-To: hoffman@xdelta.zko.dec.nospam Newsgroups: comp.sys.dec,comp.os.vms,comp.sys.sun.admin Andrew Harrison's (SUNUK) recent flurry of postings over in comp.os.vms started me thinking about the comparisions among processor architectures, and even across operating system configuration choices... Both the Sun Solaris and Compaq OpenVMS operating systems are obviously targeted at different markets, but both are obviously quite capable -- the target markets are also obviously somewhat different, though there are overlaps. I'm not particularly familiar with the operating systems that run on SPARC (other than Solaris, of course), though several vendors offer operating systems for Alpha systems including Compaq (OpenVMS and UNIX), and Microsoft Windows NT. As I am (obviously) most familiar with OpenVMS, I will primarily discuss that operating system here. The following material is probably "review" for many of the long-term readers here, but I thought the discussion of the trade-offs might be interesting... Sun has chosen to maintain and extend its own SPARC architecture, while Compaq has chosen to build OpenVMS for and operate on Alpha systems (and on the VAX predecessors). Both architectures are obviously quite capable. One salient difference between SPARC and Alpha is in terms of processor performance -- information posted in various newsgroups including comp.os.vms and elsewhere indicates that Alpha-based processor modules (either the older 21164A EV56 or the newer 21264 EV6) have higher performance than a SPARC equivalent. Various SPARC systems are presently available with more processor modules configured, however. As has been discussed recently in the comp.os.vms newsgroup, symmetric multiprocessing (SMP) can improve aggregate performance, but something often called Amdahl's Law eventually arises. Though I am paraphrasing here, Amdahl has stated that the performance scaling one could expect from adding processors to an SMP configuration directly corresponds to the amount of work that could operate in parallel. In other words, most any computer environment would eventually encounter a critical path that effectively limits the number of processors, either in the application or in the operating system itself. Adding processors eventually won't help once the "knee" is reached. In practice, the performance "knee" can be anywhere from one processor (single-stream) to infinity (best case, minimal coordination) infinity. The "knee" is obviously heavily application dependent and also dependent on the operating system. Obviously, having any processors available above the "knee" obviously does not contribute to the performance of the application -- those processors will be idle. Once the "knee" is reached (in terms of SMP processor performance), the level of parallelism must be increased in the system or in the appliation (or both) -- if such an increase is even possible -- or the existing processors in the configuration must be replaced with faster processors. That said: there are certainly algorithms and applications around that are highly parallel and that make good use of configurations with many processors, but most applications and most operating systems do not lend themselves to extensive parallelism. (The parallel processing benchmarks are one obvious example of an application that is good at using processors.) Interestingly, SMP was something that OpenVMS pushed heavily into when platforms competing with the VAX line showed better performance than was available on VAX -- when the VAX wasn't the fastest processor around. Various competing vendors then decried SMP as an inferior solution to the better scaler performance available on other platforms -- there are arguments to be made both ways, of course. (The arguments chosen usually depend on whether the vendor has the "faster processors" or the "more processors" configuration, obviously.) Put simply -- for single-stream performance -- nothing can beat the faster processor. (Guess which side of the argument I'm on. :-) Another area that OpenVMS pushed into back in the days when the the underlying hardware (VAX) had lower performance than competing platforms was clustering -- clustering was pursued for many of the same reasons that SMP was of interest. The addition of nodes to an OpenVMS Cluster is a simple affair, and the nodes can boot and fail seperately. Nodes can be configured with a common system disk, or with multiple system disks. Individual nodes in a cluster can have the local operating system upgraded and even entire systems can be replaced with a faster system, but the cluster itself stays fully operational and fully available. Further, nodes in a cluster can be hundreds of miles apart, meaning that configurations can survive problems ranging from powerfailures to the wholesale destruction of the systems of one "lobe" of the cluster. Cluster configurations with 96 nodes -- SMP or otherwise -- are fully supported on OpenVMS. The same disks and files can be visible on all nodes, and the same file access interlocking and coordination features are standard. OpenVMS has recently also chosen to make use of processors through the ability to operate with multiple instances -- each instance of OpenVMS operating in an OpenVMS Galaxy configuration is effectively a separate system in which OpenVMS is running. The OpenVMS Galaxy software allows processors in an instance to be "pushed" into any other instance entirely under software control, based on user-specified factors such as the depth of the computable scheduling queue or even the time of day. The same code that supports starting and stopping processors in an OpenVMS SMP system was the basis for migrating processors within an OpenVMS Galaxy. OpenVMS Galaxy allows applications to side-step Amdahl's law, and to make better use of the available processors in the configuration by bringing up additional instances as required. (An OpenVMS Galaxy could be viewed as a way to allow multiple instances of a critical path to operate entirely in parallel.) As the loading of each instance changes, the processors can be retargeted as required without rebooting and even without system management intervention. Each instance can be clustered, or can be running standalone. Also available within an OpenVMS Galaxy are backplane speed interconnects between each instance, for use as shared memory and for communications interconnects. (I have seen real applications communicating among clients running in separate instances at transfer rates of well over a gigabyte per second -- and these tests were not on a leading-edge hardware bus.) When compared with OpenVMS Galaxy, an OpenVMS Cluster provides lower-speed interconnects, a trade-off between the performance of the interconnect with the relative hardware isolation. As should be obvious, applications that are heavily parallelized and are largely or completely independent can operate just as nicely in a cluster or even in a network of nodes as they can in an OpenVMS Galaxy or in a single SMP system -- where one would choose an OpenVMS Cluster or an OpenVMS Galaxy configuration over a network of nodes involves applications that need to share data. Speaking of file systems and sharing read or read and write access, most operating systems tend to provide rather limited support for record structures and record management, requiring additional software and/or user programming. OpenVMS has provided the ability to share access to files, and also supports various file organizations including indexed files, and to interlock access. Once seldom sees "turd" files used for interlocking on OpenVMS, save for on applications ported over to OpenVMS from other platforms. These "turd" files can be quite common on other platforms. (As should be obvious, I don't find "turd" files a particularly elegant solution -- though I have worked on platforms and in cases where they are the best solution of a bad lot. Nor do I find the requirement that the application perform the interlocking for sharing elegant -- that's too much like work, and every application I've seen try it has implemented it slightly differently.) Other solutions are available to distribute applications across multiple systems are also often referenced -- these include the NFS, SMB, and other protocols. As should be obvious, OpenVMS and most every other vendor supports these and various other protocols. However, unlike an OpenVMS cluster, these protocols to not provide coordination among applications accessing the files -- hence the use of the "turd" file scheme -- and these do not provide for shared write access to files. The combination of an OpenVMS Galaxy, the raw processor performance of Alpha systems, and the ability to cluster the configurations can be very powerful and flexible -- while I am certainly not a disinterested party -- I've seen nothing that even comes close. (Andrew Harrison, I'm sure, will disagree. :-) -------------------------- pure personal opinion --------------------------- Hoff (Stephen) Hoffman OpenVMS Engineering hoffman@xdelta.ZZenet.dec.com note to those folks not contributing spam -- there is no ZZ in my address