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.231.202 with SMTP id ti10mr16906716pbc.5.1329805052557; Mon, 20 Feb 2012 22:17:32 -0800 (PST) Path: wr5ni50231pbc.0!nntp.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.stack.nl!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: Tue, 21 Feb 2012 06:17:26 GMT Organization: Aioe.org NNTP Server Message-ID: <4f4434a7.18816544@nntp.aioe.org> References: <4f3ca414.21534066@nntp.aioe.org> <4f3dab02.35785786@nntp.aioe.org> <4f3d06f0.6951576@nntp.aioe.org> <4f3f4ae9.40953632@nntp.aioe.org> <4f3f6194.19510701@nntp.aioe.org> <4f41dd56.1857737@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 Mon, 20 Feb 2012 11:28:14 +0100, Johnny Billquist wrote: >On 2012-02-20 06.53, paramucho wrote: >> On Sat, 18 Feb 2012 21:58:28 +0100, Johnny Billquist >> wrote: >> >>> On 2012-02-18 12:55, paramucho wrote: >>>> On Fri, 17 Feb 2012 18:13:44 +0100, Johnny Billquist >>>> wrote: >>>> >> EMT 374, subcode 3 is .PURGE. Channels 8. down to 0 are purged. .PURGE >> checks the conditions I listed. > >I didn't check now (sitting at the wrong machine), but does PURGE not go >through the USR lock? If you look at the P$URGE code you'll see it tries to avoid the USR. It only goes to the USR in the case where a "special device" (magtape, cassette etc) has a new file open. The idea is that the device driver be able to properly terminate the tape. P$URGE: JSR R0,CHKSPL ;If special device, go do it .WORD PURG.. ;(only returns if not special) PURGE: CLR (R3)+ ;Dissociate channel ... >> At some point in the OPEN process you'd have to "register" an open >> with the fully qualified, normalized file name/id and the access mode. > >Yes. And then what? Need tp back out in case the open should be denied? The second open would be queued until the first was completed. The second open would then proceed and would then exit with an error condition if the access was denied. This approach would be equivalent to a sequential algorithm. >RT-11 is rather fast and loose, which I realized from Jaromes comments. >You can actually open files without involving USR at all, since opening >a file is really just a lookup of the file and noticing which block it >starts at. It's that simplicity that makes RT-11 so flexible. o RT-11 allows you to first open all your files and save the channel contents in memory (with .SAVESTATUS). You then reopen channels with .REOPEN using the saved channel status. o Under the RSTS emulator the CSI code is modified to parse RSTS PPN's. You need to go through the USR for that. o RT-11 supports "logical disks" where disk files are used as virtual device volumes. The block number needs to have a base value added to it. o The sub-directory implementation in RUST/SJ requires only a change from a "MOV block-number" to an "ADD block-number" in the USR lookup code. o RUST remote network directories use the block field for a file ID rather than a block number. BTW: I recall talking about the history of the RT-11 disk structure with one of the early RT-11 team leaders (AntonC or LesP) who told me that they had almost gone with a subset of ODS1 for RT-11. It was a saving of 30 words of memory which made them choose the current disk structure. I've never been able to work out how they would achieved an RSX subset with only 30 extra words. >> The point is that in RSX an executive directive is effectively a "fork >> routine", and these directives can take quite a considerable time to >> complete. Creating a new task is not a simple, short process. The >> worst-case fork latency in RSX is the time it takes to execute the >> longest executive directive. > >Right in that all system calls are forks. Crating a new task in RSX is >not really done as a system call. It's done by a task. The only system >call is to invoke an existing task. >Once again, RSX do not sit in system calls for extended times. Things >that take long times are done in processes, not the system. And can thus >also be done in parallel by several users. But if RSX didn't go into system state you wouldn't need these helper processes. At present they're not an option. >> It is utterly clear that VMS could not handled system calls in system >> state--thousands of instructions are sometimes required. > >It is also clear that response times is VMS are much worse than RSX. >Easily demonstrated by having an RSX and a VMS system on the same >ethernet allowing DECservers to be booted. They will be booted by the >first system that responds, which is the RSX system every time, even >when you have much faster VAX hardware. That's a boot test, not a latency test. >And VMS actually have the same horrible possibilities that Unix do. You >can have system calls that block, and return with errors saying you >should retry the system call again (I just remembered having a >discussion about VMS mailboxes, which ended up with this conclusion a >few months ago). You're looking at that behavior through RSX eyes. VMS system calls begin as an extension of user code in user state. Nothing is blocked. It's a different system philosphy, and clearly a decision they made in terms of changing their approach from that of RSX. >> I must be getting old...I'm starting to forget RT-11... > >I occasionally get the same feeling about RSX when talking with you. I >really need to go and check stuff that I normally don't even think >about. :-) Did you get the two e-mails I sent, or are they landing in a bit-bucket? Ian