From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.221.4 with SMTP id qa4mr9291472pbc.7.1329733696840; Mon, 20 Feb 2012 02:28:16 -0800 (PST) Path: wr5ni47020pbc.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Mon, 20 Feb 2012 11:28:14 +0100 Organization: Update Computer Club Message-ID: References: <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> <4f3f6194.19510701@nntp.aioe.org> <4f41dd56.1857737@nntp.aioe.org> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1329733696 8101 178.83.31.172 (20 Feb 2012 10:28:16 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Mon, 20 Feb 2012 10:28:16 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: <4f41dd56.1857737@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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? >>> I could extend the functionality to handle access control fairly >>> easily. It would just be a matter of having a queue for open >>> operations with potential sharing conflicts. >> >> Right. But then you need to figure out if an open request is for a file >> that is already open or not, and then do two different paths, depending >> on that. And the paths are pretty much the same, except without the >> shared access checks on one of them. And if you have lots of open files, >> then the checking can become a noticeable part of the operation. But >> yes, there are possibly some optimization that could be done here. I >> have not looked deep enough at it to tell for sure if they would be >> enough to be worth the code. > > 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? 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. >> As you are not expected to spend large amounts of time in forks in RSX, >> this is not really a big issue. But yes, forks do affect AST delivery >> and task execution (let's take the big picture here, scheduling is just >> a subset of task execution, which is really what is being delayed by forks). >> But since you only have one CPU, it can either be running a user >> process, or run the fork. The fork needs to be completed sooner or >> later, especially since the device related to the fork cannot issue >> another fork until the previous is completed. Is there a point in >> delaying the fork? > > 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. F11ACP is the task that do file operations. It is threaded itself, but additionally you can also have several copies of the task running. INS is the task that installs other tasks, and thus makes them runnable by users. TKTN is the task that handles task termination, and cleans up after a task have finished. There are others... > 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. 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). >>> My original list had RT-11, RUST/XM and VMS. It's RUST/XM and VMS >>> which use mutexes. >> >> I seem to remember seeing something that looked like mutexes in RT-11 as >> well, but I might have been confused. >> >> Hmm, I think I was thinking of the "blocking conditions" bits you have >> for jobs in RT-11. They smelled somewhat like mutexes in RT-11, but I >> bet I read them wrong. > > 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. :-) Johnny