From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,832207be67a6337d,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-08-28 21:19:52 PST Path: gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!rpi!news-server.csri.toronto.edu!torsqnt!geac!maccs!dofasco.uucp!dofasco.uucp!sturgeon_c From: sturgeon_c@dofasco.uucp Newsgroups: comp.sys.dec Subject: VAXELN Message-ID: <1991Aug27.075837.1@dofasco.uucp> Date: 27 Aug 91 07:58:37 GMT Organization: Dofasco Inc, Hamilton, Ont. Can. Nntp-Posting-Host: eismv3 Nntp-Posting-User: mbwatch For those interested in VAXELN, the following is an article I submitted to a local LUG a couple of years ago. A Real Time Alternative - VAXELN by Craig L. Sturgeon In the past Dofasco was selecting RSX solutions for real time applications. RSX is an event driven operating system allowing the developers to have control and the synchronization of their software. We lived with RSX's headaches, including, 64 Kbyte limitations, overlaying, windowing, flat directory structure, and file name limitations. As RSX matured we saw improvements in memory management, performance, software tools, commands, and I/D space - how did we ever survive without it? Software developers using VMS could laugh at us, with their virtual memory, DCL command language, software development tools, and tree directory structures. We were envious, however, we could respond to real events, could they? VMS gave them the a modified round-robin scheduler. Each process in the VMS system was given a time slice until either: a higher priority process became computable; the process is no longer computable (because of a resource wait); the process itself voluntarily entered a wait state; or the time slice ended. There was an exception to this rule. VMS supports "real time" processes, processes with a priority greater than 15. "Real time" processes followed the above rule except they are not restricted to time slicing. For some real time applications VMS does the trick, however if you have a critical, high speed application, VMS's overhead may not perform. An alternative to look at is VAXELN. VAXELN has been described as "lean and mean". Lean, because it does not have as much of the overhead as VMS. Mean, for the same reason. A VAXELN system image is entirely in memory, therefore, their is no paging. VAXELN is a multi-user system having its own command language, ECL. ECL is a subset of VMS's DCL. There are no development tools. You cannot edit a file with LSE or EDT - directly that is, you could do it from a VMS system across the network. VAXELN does have a tree directory structure. VAXELN is a VMS layered product. It comes as a tool kit. Therefore ELN must be developed on a VMS host system, allowing ELN developers to use any or all the VMS development tools, including LSE, MMS, CMS, etc. The kit includes all the libraries to generate FORTRAN, C, PASCAL, and ADA program images. The kit also comes with a few ELN tools, and a few VMS development tools. When you complete your application, developers use a tool called EBUILD, to generate a VAXELN system image. You then use EDEBUG, or NCP to trigger the target node with your system image. VAXELN is what I've labeled as a "true" multi-tasking system. VAXELN allows you to write a program with several simultaneously executing parts. In other words, I can write a program that can get subroutines to execute simultaneously with the calling module. A program that is loaded and running in a VAXELN system is called a job. Each simultaneously execute part in a job is called a process. VAXELN is an event driven operating system. A process executes until there is a significant event. A significant event is one of the following: a higher-priority process within the selected job enters the Ready state; a process in a higher-priority job enters the Ready state; a job or process changes priority; the processor's internal millisecond clock or another device issues a hardware interrupt. VAXELN is truly a "lean" operating system and it is a just as "mean". For example, error exception handling must be handled by the application developer. Process and job priorities are reverse from that of VMS - zero is the highest priority. Priorities are actually reversed in VMS so its easier for users to understand. For VAXELN, they decided VAXELN developers do not require the few instructions added to the system to reverse the prority levels. VAXELN is not yet mature, however, it is maturing. ECL becomes more useful with each release as does debugging facilities. Perhaps in future releases, DEC can keep VAXELN "lean", and remove some of the "mean". -- ____________________________________________________________________________ Craig Sturgeon Dofasco Inc. 100 Lyons Ave., (sturgeon_c@dofasco.uucp) 1330 Burlington St East Brantford, Ontario Hamilton, Ont. L8N 3J5 Canada Canada N3R 4R4 (416) 548-4420 (519) 756-3385 ____________________________________________________________________________