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.136.40 with SMTP id px8mr18177189pbb.1.1329833786843; Tue, 21 Feb 2012 06:16:26 -0800 (PST) Path: wr5ni51527pbc.0!nntp.google.com!news1.google.com!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!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: Tue, 21 Feb 2012 15:16:25 +0100 Organization: Update Computer Club Message-ID: References: <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> <4f4434a7.18816544@nntp.aioe.org> <4f43806e.38215767@nntp.aioe.org> NNTP-Posting-Host: 2620:0:105f:b:462a:60ff:fefb:aad8 Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1329833786 8591 2620:0:105f:b:462a:60ff:fefb:aad8 (21 Feb 2012 14:16:26 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Tue, 21 Feb 2012 14:16:26 +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: <4f43806e.38215767@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-02-21 12.37, paramucho wrote: > On Tue, 21 Feb 2012 11:23:02 +0100, Johnny Billquist > wrote: > > > >>> But if RSX didn't go into system state you wouldn't need these helper >>> processes. At present they're not an option. >> >> But then you would have to be able to block in the system call, at which >> point you also need to be able to back out and restart system calls, or >> else fail system calls with the error saying that you need to redo the >> system call (EINTR). One is extremely complex, while the other is very >> ugly. Unix and VMS have gone with the latter. >> I thought we'd already agreed that Unix was not something to follow. :-) >> >> Or we could accept that processes become deaf at certain times, making >> response times utterly unpredictable. > > How does the process become deaf? It can still accept ASTs. What else > is it supposed to do? It wasn't a statement - it was a suggestive question on what to possibly do. The problem is - if you get an AST while blocking on a system call, what will you do with that system call. The program can do another system call in the AST. Can you deal with being blocked in a system call, and at the same time do another system call? And what do you expect the stack to look like at that point? And the blocking in the current system call is somehow reflected in the process status. That needs to be temporary "forgotten", since the process is not blocked while running in the AST. But once the AST is finished, I would assume that you expect the process to go back to being blocked in the outer system call. But the process state might have changed because of things done in the AST, including the wish to get out of the system call you were blocked in. Not to mention what to do if you are blocking on a system call, gets an AST, and in the AST handler do a system call which blocks you. Then what? See http://en.wikipedia.org/wiki/PCLSRing for more details. >>>>> 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. >> >> No. I'm not talking about how long it takes for the DECserver to boot. >> I'm talking about how fast you respond to the boot request. >> The DECserver broadcasts a boot request on the ethernet. Other machines >> listen for that, and respond to requests saying that they are willing to >> provide the boot service. The first such response that comes back to the >> DECserver is used by the DECserver for the following boot. The RSX >> systems on the network responds much faster to the boot *requests* than >> the VMS systems. > > It's still just one specific test. That doesn't measure overall system > performance or other system specific behaviors. Sure. I can dig up a number of more examples showing that response times in VMS are much worse than RSX. How many do you need to be convinced? >>>> 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. >> >> Right. And system calls in VMS can later on be blocked, and even fail >> with a return code saying you should just retry the system call again >> because it failed the last time for some random reason that will not be >> the same on the next try. > > I guess this is the same as your "deaf process" point above... Yes. The point being that blocking on system calls means you need to deal with what to do when something unexpected happens while you are being blocked. Back out, proceed with error, or ignore until it is safe to deal with. >>> It's a different system philosphy, and clearly a decision they made in >>> terms of changing their approach from that of RSX. >> >> Indeed. Lots of the extensions that VMS added to the RSX base are more >> wart-like. The clean bottom line is still there, but some of the >> additions have a different philosophy. > > Well, I see it more that they decided that the system state wrapper > was a bad idea and they dropped it. We are all entitled to our opinions. :-) VMS still have that thing in there, though. It's just that for some new things, they decided to instead allow hanging system calls, which instead will return an error telling you to redo the operation. If you consider that an improvement, then we can continue to disagree. Johnny