From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 3717dac89a,32247abf28da27d4 X-Google-Attributes: gid3717dac89a,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!newsfeed1.swip.net!uio.no!news.ctrl-c.liu.se!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail Newsgroups: alt.sys.pdp11,comp.sys.dec,comp.os.vms Subject: Re: QBUS Prototyping Message-ID: From: Johnny Billquist Date: Fri, 30 Apr 2010 02:51:15 +0200 References: <8265dgFs33U3@mid.individual.net> <4dff54d9-dfc7-4d90-9307-995e5d96e53f@y36g2000yqm.googlegroups.com> <4bd96b18$0$281$14726298@news.sunsite.dk> Organization: Update Computer Club NNTP-Posting-Host: 178-83-29-134.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1272588675 3946 178.83.29.134 (30 Apr 2010 00:51:15 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Fri, 30 Apr 2010 00:51:15 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: Xref: g2news2.google.com alt.sys.pdp11:1530 comp.sys.dec:1991 comp.os.vms:30688 I must correct myself, I see that I have mixed things a little here... Johnny Billquist wrote: > Jerome H. Fine wrote: >> >John Wallace wrote: >> >>> Some of this "big data" stuff could be done relatively simply (from >>> the programmers point of view) with some flavours of PDP11 FORTRAN, >>> which had support for VIRTUAL arrays that didn't really fit in memory. >>> Even where it wasn't officially supported there was sometimes DECUS >>> code to do something equivalent. Iirc, it was done using on-disk data >>> structures rather than in-memory, so there would be a significant >>> speed penalty, even in comparison with the "twiddle the MMU" stuff. >>> But the user saw it as nice and simple. >>> >>> >> I remember using FORTRAN IV with VIRTUAL around 1985. The application >> used >> around 1 MB of arrays in extended memory via the MMU. Somewhere in >> the DECUS >> stuff, there is alternative code which can use on-disk data instead >> which is a reasonable fit >> when the memory is used as a small disk drive. Under RT-11, the VM: >> device handler >> worked well to reduce and actual disk drive's relatively slow transfer >> rates. > > I find that rather unlikely. The array indexing is still just done using > a 16-bit integer, which limits the size of a virtual array to 65536 > elements. Even with INTEGER*4, that would only become 256K. 1M is just > not possible to address with virtual arrays in PDP-11 FORTRAN. Neither > using FIV or F77. Reading through the F77 manual right now, it is a little unclear if multidimensional arrays are allowed to be larger. It might be that you can create structures the size of 1M or more with multidimensional arrays... I don't have the FIV manual nearby, so I can't check if it have better information, or other limits. >> I know that FORTRAN 77 also had VIRTUAL arrays, but I can't remember >> if it used >> the MMU or a disk drive. This would be under RT-11. Does anyone >> remember? > > I can't say for sure how RT11 might do it, but both RSTS/E and RSX uses > disks for this, not MMU. > And it would slightly surprise me if RT-11 had a totally different > solution. Have to correct myself here. BASIC uses disk based virtual arrays under RSTS/E and RSX. F77 uses memory based virtual arrays. The manual then goes on to point out that virtual arrays are only available on operating systems that support the Memory Management Directives. At that time, RSTS/E didn't, so this was RSX only (but then again, this compiler wasn't used on RT-11, so it don't really apply to that OS). RSTS/E did get memory management directives later, so I assume that virtual arrays are possible there as well. Anyway, so yes, they are allocated in memory, and you (the run time system) perform memory remapping as needed. Also, this means that one page in your virtual memory is reserved for virtual arrays. >> I assume that RSX-11 and RSTS/E had similar capability, although >> perhaps not under >> RSTS/E with the RT-11 emulator using the MMU. On the other hand, even >> under >> the SJ monitor in RT-11, FORTRAN IV supported VIRTUAL with MMU, so >> perhaps >> RSTS/E also found a way. Does anyone know or care at this point? > > In RSTS/E it is disk based, not MMU. Wong. In RSTS/E back then, no support at all. In RSTS/E now, memory management is used. Johnny -- Johnny Billquist || "I'm on a bus || on a psychedelic trip email: bqt@softjar.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol