From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-ArrivalTime: 1994-03-14 18:26:58 PST Xref: gmd.de comp.org.decus:3038 comp.os.vms:42495 comp.sys.dec:14398 comp.unix.advocacy:1221 Path: gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!newsxfer.itd.umich.edu!gatech!howland.reston.ans.net!usenet.ins.cwru.edu!news.ecn.bgu.edu!feenix.metronet.com!tachyon!montagar!davidc Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Real-time vs. Time-share (was Re: Does UNIX do async i/o?) Message-ID: <1994Mar14.212658.18821@avatar.montagar.com> From: davidc@avatar.montagar.com (David L. Cathey) Date: 14 Mar 94 21:26:58 CDT References: <1994Feb26.204059.4068@mixcom.mixcom.com> <1994Mar11.190110.20289@integrity.uucp> <1994Mar11.222806.18797@avatar.montagar.com> <1994Mar14.183954.21481@integrity.uucp> Organization: Montagar Software Concepts, Plano TX In article <1994Mar14.183954.21481@integrity.uucp>, jcrowe@mpd.tandem.com (Joseph Crowe) writes: > In article <1994Mar11.222806.18797@avatar.montagar.com>, davidc@avatar.montagar.com (David L. Cathey) writes: > |> Case history? Data analysis of 50+ data files across multiple spindles > |> (about 750MBytes). Analysis took over 7 hours with normal I/O. Asynch the I/O > |> across several spindles at once (Using RMS no less) and the elapsed time was > |> reduced to about 25 minutes. If you can't see that as a benefit, then you're > |> still missing something. > > As of an earlier reply, I admit seeing the uses of async i/o....but in your example > above, you reduce the impact of i/o waits for the individual application but at > what impact to the timesharing nature of the machine? Well, the new application would pretty much suck a CPU clean of any idle CPU cycles - this was considered a good thing. Impact on the normal time-sharing environment could be regulated through use of process priority, QUANTUM, additional CPU's in a multi-CPU system, and now with Class Scheduling in V6.0 (V6.1 on AXP this summer). > When the first realtime > variants of UNIX came to market, I began to wonder whether it made sense to > use a "general purpose" OS for a particular paradigm. If the "general purpose" OS has the required features, and unneeded components that would negatively effect processing can be turned off, I see no reason why not. On VAXes, there is the option of using ELN, a real-time "VMS"-like system that has a lot of the time-sharing features stripped out. XLN is available (or will soon be???) for the AXP. All things considered, DOS is a real-time OS. A program pretty much has complete control of the CPU. If you need time-sharing, it makes a lousy choice, but for a real-time application it's fine since anything else in the OS would just be overhead (Windows, OS/2, Linux). > This is just a throw it > out for general discussion point. I'm not placing any relative value on UNIX, > VMS or any other OS but let's kick off a new direction. For a general purpose > multi-processor system, when you support realtime type of applications at the > highest priority, does the timesharing application have to suffer? I believe it > does. In true real-time, YES, time-sharing does suffer. But that's the nature of the beast. The reason the application is real-time is because it is very time critical. Waiting for a user to give up the CPU could cause lost data or corruption (very undesirable). Multi-processor systems (on VMS, anyway) could make real-time applications have an "affinity" for a select CPU or set of CPU's to reduce impact on time-share applications, but in general the users have to put up with erratic performance, > ============================================== > | Joe Crowe | > | Tandem Computers Inc. | > | Internet Address:jcrowe@mpd.tandem.com | > ============================================== - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - David L. Cathey |INET: davidc@montagar.lonestar.org Montagar Software Concepts |UUCP: ...!montagar!davidc P. O. Box 260772, Plano TX 75026-0772 |Fone: (214)-618-2117 NOTE: Due to circumstances beyond my control, please use the lonestar.org address until further notice.