From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: ffc31,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidf4c4f7386e,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.136.40 with SMTP id px8mr9553703pbb.1.1329575340530; Sat, 18 Feb 2012 06:29:00 -0800 (PST) Path: wr5ni39829pbc.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: paramucho@hotmail.com (paramucho) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Sat, 18 Feb 2012 14:28:55 GMT Organization: Aioe.org NNTP Server Message-ID: <4f3faccd.38767714@nntp.aioe.org> References: <4f37ec05.63303162@nntp.aioe.org> <4f3a87d9.14307647@nntp.aioe.org> <4f3ca414.21534066@nntp.aioe.org> <4f3dab02.35785786@nntp.aioe.org> <4f3d06f0.6951576@nntp.aioe.org> <4f3f4ae9.40953632@nntp.aioe.org> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: CmgvwL3sOlojnxUjt8znzA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 1.5/32.451 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Sat, 18 Feb 2012 12:24:59 +0100, Johnny Billquist wrote: >It might be pointing out the obvious, but in RSX, when you open a file, >or do whatever file operations, scheduling is still going on. So, not >only can your program continue running while the file open is in >progress, other programs will also be scheduled during this, and can >have their file operations processed at the same time, as well as doing >anything else. The USR does not block scheduling or ASTs in RT-11. Processes queue for directory services, that's all. An RSX system with a single F11ACP (and/or a single system disk) would be more or less equivalent for the great majority of programs which issue synchronous directory services. The RSX systems I use have a single F11ACP, and since they mostly have a single system device there wouldn't be much point in having more than one. I don't think any of the software I use depends on asynchronous directory services. It's just not something most folk need to have. In previous posts I've described how one can circumvent the USR queueing behavior when it's actually necessary. >>>>> RT-11 uses IPL for hardware synchonisation in just the same way that >>>>> RSX does. The fork routine is a good example. Here's the RSX code. > >A clarification of my view might help here: >Both OSes use IPL to protect/synchronize access to some structures. >However, in RSX this is basically just one structure, while RT-11 uses >the IPL way to protect many things. > >In RSX, protection from multiple processes and drivers manipulating >shared data in an uncontrolled way is through the fork. No other way is >allowed. You cannot bump just bump the IPL and then think you are safe >in RSX. So it is not done. This is different than RT-11, where this is >clearly done. The RSX way is not cheaper, but it does make things more >uniform and easy to follow (I think), and it makes it much easier to >make the system work in an MP environment. Life wasn't meant to be easy for an O/S. I addressed this point in my other post where I pointed out that VMS system services make extensive use of SETIPL. It's everywhere in the system service code. VMS, like RT-11, avoids blocking the scheduler and ASTs as little as possible by selectively using a range of devices. RSX wraps everything in system state. It gains some simplicity in doing so but loses, I think, by increasing scheduling and AST latencies. The RSX approach of wrapping system calls in system state means that system calls can't afford to hang about in the kernel because of the increased scheduling and AST latencies. That's a hard discipline to maintain across the life of a system. System creep is unavoidable. I don't have access to the M+ sources, but I notice a significant increase in the number of executive directives and think to myself: "I bet some of these are taking a lot longer than would have been permitted in early versions of RSX." >>> But on the matter of IPL and RSX, I note that RSX also raises IPL to >>> complete certain tasks, in the system and in drivers. Indeed, I count >>> about 5000! occurrences of raised IPL in the RSX sources (by searching >>> for ";;;"). >By the way, checking in M+ V4.6, I get about 6500 hits when searching >for ;;; :-) GRDRV.MAC, LSDRV.MAC are the heaviest users... Ian