From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: ffc31,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gide311f70d09,gidf4c4f7386e,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.199.73 with SMTP id ji9mr2906302pbc.5.1326991850699; Thu, 19 Jan 2012 08:50:50 -0800 (PST) Path: lh20ni200440pbb.0!nntp.google.com!news1.google.com!eweka.nl!feeder.eweka.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!news.stack.nl!newsfeed.Update.UU.SE!news.Update.UU.SE!not-for-mail From: Johnny Billquist Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: PDP11 Values from MFPT Date: Thu, 19 Jan 2012 17:50:49 +0100 Organization: Update Computer Club Message-ID: References: <4f12e49d$0$295$14726298@news.sunsite.dk> <4f175c07.15409279@nntp.aioe.org> <4f17edcc.11901487@nntp.aioe.org> <4f19229f.41848032@nntp.aioe.org> NNTP-Posting-Host: 2620:0:105f:b:462a:60ff:fefb:aad8 Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1326991850 7978 2620:0:105f:b:462a:60ff:fefb:aad8 (19 Jan 2012 16:50:50 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Thu, 19 Jan 2012 16:50:50 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: <4f19229f.41848032@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2012-01-19 15.25, paramucho wrote: > On Wed, 18 Jan 2012 19:00:03 +0100, Johnny Billquist > wrote: > >> On 2012-01-18 17:25, paramucho wrote: >>> On Wed, 18 Jan 2012 14:18:26 +0100, Johnny Billquist >>> wrote: >>> >>> >>> >>>>>> In fact, the V11 emulator has a little API which is used to pass >>>>>> information between the emulator and the system. It's used to >>>>>> relinquish control so that the emulator doesn't hog all the CPU time >>>>>> and for various other functions. >>>>> >>>>> This is one case where VM has it easy. S/370 processors don't use >>>>> an idle loop, but a wait state where they stop executing instructions. >>>> >>>> So does a PDP-11 normally, which is why I wonder what this API is >>>> expected to be used for. >>> >>> Run RSX under SimH and then look at CPU usage and you'll see why :-) >>> >>> Under SimH, RSX uses up a full CPU slot, just like RT-11 systems which >>> don't use the WAIT instruction. >>> >>> V11 solves the problem for RUST systems, but that doesn't help other >>> systems. >> >> That is because you need to tell SimH to actually release the machine >> when the PDP-11 executes a WAIT... :-) >> In SimH: set cpu idle >> >> otherwise, SimH will "emulate" the WAIT instruction by actually doing a >> tight loop. > > Yes, I haven't read the SimH documentation for quite some time :-) > > From what I can see the SET CPU IDLE code was added in 2006. It > applies to RSX and RSTS, but not RT-11 or Unix because they, like > RUST, don't use the WAIT instruction. Eh... Unix definitely use WAIT. Or, what version of Unix are you referring to? I'm looking at (and using) 2.11BSD. I haven't really checked older versions. Johnny