From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: f7344,ff7071ebb62b149f X-Google-NewGroupId: yes X-Google-Thread: fdd80,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: 1164f8,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Thread: ffc31,20cce773a38e2849 X-Google-NewGroupId: yes X-Google-Attributes: gid3717dac89a,gide311f70d09,gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news-transit.tcx.org.uk!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: comp.os.vms,alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Y3K for PDP-11 Operating Systems Date: Mon, 09 May 2011 17:20:54 -0600 Organization: Update Computer Club Message-ID: References: <4d99c3b6$0$23756$14726298@news.sunsite.dk> <4dc032d4$0$313$14726298@news.sunsite.dk> <7d287cc3-4605-49a0-826e-fb92fc14e98d@j28g2000vbp.googlegroups.com> <92bjl8F19sU1@mid.individual.net> <92d114Fhm7U1@mid.individual.net> <92ddfkF764U1@mid.individual.net> <4DC4390F.9040401@eisner.decus.org> <92r5ntFf3hU1@mid.individual.net> <92raajFe87U1@mid.individual.net> NNTP-Posting-Host: 74.125.59.49 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: Iltempo.Update.UU.SE 1304983255 12146 74.125.59.49 (9 May 2011 23:20:55 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Mon, 9 May 2011 23:20:55 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: <92raajFe87U1@mid.individual.net> Xref: g2news2.google.com comp.os.vms:42882 alt.sys.pdp11:2161 comp.sys.dec:3484 vmsnet.pdp-11:589 On 2011-05-09 17.05, vandys@vsta.org wrote: > In alt.sys.pdp11 Johnny Billquist wrote: >> I wouldn't be so sure on string handling, since the VAX have lots of >> native instructions to deal with that, which the 11/70 do not. Integer >> on the other hand, yes. > > I think it was most competetive when you used multiple of its more optimized > instructions. For instance, my recollection is that the single-instruction > bulk string ops ran slower than the hand coded move/loop constructs. (Most > of my time was on 750's and the odd 780, and this no doubt changed as DEC > fleshed out their Vax line.) I know that for some things, actually coding using more primitive instructions on the (older) VAXen turned out to be faster than to use the fancy instructions, but I would not have thought that was true for things like MOVC or LOCC, but I might very well be wrong. >> The VAX have a single instruction for that, while the >> PDP-11 needs to manually handle both processor registers and MMU >> registers. > > Having a single instruction does not mean you have a *fast* single > instruction. That was definitely the case for bulk string ops. I don't > recall actual task switch performance; that was not an area which caused > me problems. Indeed. Which is why I said I'm not sure in this area. The save/load context instructions are doing a *lot* of things. But doing a context switch on the PDP-11 is no little task either. But from a performance point of view, it is rather relevant, since a lot of context switches happens all the time. (The big win, however, was obviously the loads of actual code needed to do a context switch which was reduced to just a few bytes on a VAX. :-) ) Johnny