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 Path: g2news2.google.com!postnews.google.com!y36g2000yqm.googlegroups.com!not-for-mail From: John Wallace Newsgroups: alt.sys.pdp11,comp.sys.dec,comp.os.vms Subject: Re: QBUS Prototyping Date: Thu, 29 Apr 2010 00:01:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <4dff54d9-dfc7-4d90-9307-995e5d96e53f@y36g2000yqm.googlegroups.com> References: <8265dgFs33U3@mid.individual.net> NNTP-Posting-Host: 80.229.247.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1272524512 21030 127.0.0.1 (29 Apr 2010 07:01:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 29 Apr 2010 07:01:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y36g2000yqm.googlegroups.com; posting-host=80.229.247.139; posting-account=LoTgDQkAAADTKXJ587vuIocn0MiURp6p User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news2.google.com alt.sys.pdp11:1515 comp.sys.dec:1976 comp.os.vms:30656 On Apr 29, 2:15=A0am, Johnny Billquist wrote: > Johnny Billquist wrote: > > Bob Koehler wrote: > >> In article , Johnny Billquist > >> writes: > >>> La da di. Assuming you have a system which allows for memory resident > >>> overlays, that will: > >>> 1) Cause the same calls to the OS services I mentioned above. > >>> 2) Only work for code, not data > >>> 3) Cause overlays to be page aligned, which potentially could waste a > >>> lot of memory (one page is 8K) > > >> =A0 =A0If you don't know how to overlay your data, you don't know the > >> =A0 =A0overlay supervisor very well. > >> =A0 =A0 =A0 Overlays only get updated on code reference, but you can, = and we > >> did, > >> =A0 =A0include data in those segments. > > > Yes. Readonly data. Not read/write. And that also assumes that you are > > *not* using split I/D space. > > Oh well, I should probably correct myself. If you have memory resident > overlays, then you will probably be able to have read/write data in > there as well. You just need to mix data and code in the same program > sections, and the data will be located with the code, and mapped into > memory along with the code. But it still means you have to not use split > I/D space, and you are creating segments with a granularity of 8K, and > you need to mix code in with the data in order to get the data mapped in > automatically. > > All this is in fact even more complicated than just creating a region > and doing the memory mapping system calls yourself, that I totally fail > to see the point of using the overlay system in order to try to use more > than 64K of data. If using a memory region, and doing mamory remappings > is what I considered complex and hurting performance, using overlays > would make it even more complex, and you would have the same time > penalities, since the same system calls would be used. > > =A0 =A0 =A0 =A0 Johnny > > -- > Johnny Billquist =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|| "I'm on a bus > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0||= =A0on a psychedelic trip > email: b...@softjar.se =A0 =A0 =A0 =A0 =A0 =A0 || =A0Reading murder books > pdp is alive! =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 || =A0tryin' to sta= y hip" - B. Idol 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.