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.226.10 with SMTP id ro10mr18716976pbc.6.1329845886184; Tue, 21 Feb 2012 09:38:06 -0800 (PST) Path: wr5ni52066pbc.0!nntp.google.com!news1.google.com!news2.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Tue, 21 Feb 2012 12:38:23 -0500 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT 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> <4f41b041$0$295$14726298@news.sunsite.dk> <4f43e001.2540179@nntp.aioe.org> <4f427f78$0$292$14726298@news.sunsite.dk> In-Reply-To: Message-ID: <4f43d67d$0$295$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=4ObljN\D>]FNc7PehKo47KYSB=nbEKnkKRh@WnOf_4KAPPfk^U[HX;ON1>V8bAJTIN3eOPKWXldeDQa4_jgFW[9O>8OG;[27NVE]01T`Rm1cHH X-Complaints-To: staff@sunsite.dk Content-Type: multipart/alternative; boundary="------------050208080603060300060409" This is a multi-part message in MIME format. --------------050208080603060300060409 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit >Johnny Billquist wrote: >> [Snip] >> >> I was attempting to suggest that my understanding of >> what Johnny wrote was that a .Purge was done for >> both CSI routines since Johnny wrote: >> >> "Must be looking at different versions of something," >> >> in reference to your statement (just a line above): >> >> "Note, .CSISPC (C$SISP:) does not purge or open files." >> >> If Johnny could please clarify, that would be helpful. >> I am only suggesting that I don't understand Johnny's >> response, but that I tend to conclude that Johnny's >> words mean that he thinks that both CSI routines >> do perform a .Purge loop. Ian and I have concluded >> that only .CSISPC (C$SISP:) performs the .Purge loop. > > > I have never made any distinction between various parts of the CSI, > just noting that CSI calls USR. > > Which is done both through an EMT 374 right at the start of C$SIGN, > and later you have a "JMP EMTUSR" (which would appear to happen for > both). > > And so, it would appear to me, that a call to CSI would block other > USR calls, for the most part of the CSI processing. I think that the situation is not as black and white as you suggest. (a) Whenever the user is using the keyboard to enter the CSI file names (for BOTH C$CSISP and C$CSIGN), the USR is released and the job is placed into wait state until the key is used (b) C$CSISP does not perform any disk I/O to open files, it only parses the data and returns the specified information to the user - which means that the USR, even if it is blocked, is blocked for a very short time So while you are correct that the USR is used, the blocking will be negligible for a C$CSISP request. I don't have a good estimate, but I would not expect the blocking to be a problem compared to the actual blocking when the actual files that the program is told by the user to process via the C$CSISP request are actually opened. Note that programs like LINK.SAV are careful to perform all of the USR requests very early on and all at the same time after which the files are .SaveStatus followed by a .ReOpen when the file actually needs to be read. This limits the use of the USR to a short period when (in the case of RT11FB) the USR is already in memory and al of the .LookUp requests are done at the same time. Jerome Fine --------------050208080603060300060409 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit >Johnny Billquist wrote:
[Snip]

I was attempting to suggest that my understanding of
what Johnny wrote was that a .Purge was done for
both CSI routines since Johnny wrote:

"Must be looking at different versions of something,"

in reference to your statement (just a line above):

"Note, .CSISPC (C$SISP:) does not purge or open files."

If Johnny could please clarify, that would be helpful.
I am only suggesting that I don't understand Johnny's
response, but that I tend to conclude that Johnny's
words mean that he thinks that both CSI routines
do perform a .Purge loop. Ian and I have concluded
that only .CSISPC (C$SISP:) performs the .Purge loop.

I have never made any distinction between various parts of the CSI, just noting that CSI calls USR.

Which is done both through an EMT 374 right at the start of C$SIGN, and later you have a "JMP  EMTUSR" (which would appear to happen for both).

And so, it would appear to me, that a call to CSI would block other USR calls, for the most part of the CSI processing.
I think that the situation is not as black and white as
you suggest.

(a)  Whenever the user is using the keyboard to enter
       the CSI file names (for BOTH C$CSISP and
       C$CSIGN), the USR is released and the job
       is placed into wait state until the <RETURN>
       key is used

(b)  C$CSISP does not perform any disk I/O to
       open files, it only parses the data and returns
       the specified information to the user - which
       means that the USR, even if it is blocked, is
       blocked for a very short time

So while you are correct that the USR is used, the
blocking will be negligible for a C$CSISP request.
I don't have a good estimate, but I would not expect
the blocking to be a problem compared to the actual
blocking when the actual files that the program is told
by the user to process via the C$CSISP request are
actually opened.  Note that programs like LINK.SAV
are careful to perform all of the USR requests very
early on and all at the same time after which the files
are .SaveStatus followed by a .ReOpen when the file
actually needs to be read.  This limits the use of the
USR to a short period when (in the case of RT11FB)
the USR is already in memory and al of the .LookUp
requests are done at the same time.

Jerome Fine
--------------050208080603060300060409--