From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,32247abf28da27d4 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,32247abf28da27d4 X-Google-NewGroupId: yes X-Google-Thread: f7344,32247abf28da27d4 X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidd180ab3bd8,gid3717dac89a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!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: Wed, 28 Apr 2010 11:18:17 +0200 References: <8265dgFs33U3@mid.individual.net> 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 1272446297 31233 178.83.29.134 (28 Apr 2010 09:18:17 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Wed, 28 Apr 2010 09:18:17 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: Xref: g2news1.google.com alt.sys.pdp11:1463 comp.sys.dec:1806 comp.os.vms:28164 jjh wrote: > On Apr 27, 3:37 am, Johnny Billquist wrote: >> Bob Koehler wrote: >>> In article , Johnny Billquist writes: >>>> The PDP-11 is a 16-bit machine, meaning a 16-bit address space. That is >>>> 64K (bytes). >>>> On some machine, you can get away with 64K data and 64K code. But that's >>>> the limit before it gets ugly... >>> I never had a PDP-11 with less than 18 bit address space. >>> Instructions could only access 16 bits of it at a time, but the >>> hardware was there to make use of the rest of it. >> Yes... As you yourself note - you can only access 16 bits of it. The >> fact that the physical address can be more makes little difference. >> That's from the MMU, not the CPU. In order to play with a larger address >> space you either have to manipulate the MMU directly (not likely if you >> are using any OS), or else use OS services to change you memory mapping >> (assuming the OS even allows you). >> >> And that is where it gets "ugly" as I put it. Big performance penalties >> involved, as well as becoming complex. >> >> Johnny >> >> -- >> Johnny Billquist || "I'm on a bus >> || on a psychedelic trip >> email: b...@softjar.se || Reading murder books >> pdp is alive! || tryin' to stay hip" - B. Idol > > "ugly".....from an architectural perspective the MMU organization and > operation is elegant (for the pdp11) IMHO. The dynamic address > translation is fast and actually has very little performance impacts > (in general). Cache organization and reload policies affect the > overall performance as well. In studies I did many many moons ago, > performance impacts on address translation were minimal. It has been > so long ago but there are many conference papers that did studies > showing performance effects of various MMU schemes and coupled with > cache schemes. Pullling in pages from disk at runtime is very costly > but doing this at load time reduces the runtime performance hit quite > a bit. Point is, from one perspective, performance was enhanced (pages > already in memory, no disk load latencies), the time to do address > translation is less than 1-2% of instruction execution time, hardly > 'significant'. > Things got a little more interesting with the vax architecture - Some > of the 'modes' of address translation were, in my mind, somewhat > convoluted. I'd have to digout some of my research papers to discuss > specifics. The MMU 'complexity' got a bit out of control, partly > because of the multitude of addressing modes of the CPU. It has been > argued that the VAX architecture 'went overboard' in the ISA, losing > the simple elegance that the PDP family embodied. The VAX ISA was > typically used in comparison to RISC architectures as a reason not > to develop CISC machines....but those are arguments for another > time.... > John Sigh. Sometimes I wonder if people read what I write. Thanks for a long text on another subject, and I totally agree with most you write. I know that the MMU design of the VAX was changed halfway through because the original design was too complex to implement, but it would have been a nicer design. But that's the compromises you have to do when trying to make a product... But my comment about performance hit and uglyness was about the *changing* of the mapping in the program. When running under an OS, you cannot just go out and change the PAR when you want. You'll have to do a system call, which takes quite a lot of time. That time is actually so significant that DEC even implemented a special hack system call for just doing memory mapping changes in RSX (called fast map) to help improve this. But it is still quite a lot compared to any "normal" instruction. And the uglyness comes from having to design a program to run on the PDP-11, when that program requires so much data that I actually do need to play with the memory mappings to get enough data space to do what needs to be done. It has nothing to do with the PDP-11 architecture itself... 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