From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,5cdb0c1dbaceb85b X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.136.212 with SMTP id s20mr746359bkt.5.1326909608912; Wed, 18 Jan 2012 10:00:08 -0800 (PST) Path: cj8ni111704bkb.0!nntp.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!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: Wed, 18 Jan 2012 19:00:03 +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> NNTP-Posting-Host: 178-83-31-172.dynamic.hispeed.ch Mime-Version: 1.0 X-Trace: Iltempo.Update.UU.SE 1326909605 11431 178.83.31.172 (18 Jan 2012 18:00:05 GMT) X-Complaints-To: newsmaster@Update.UU.SE NNTP-Posting-Date: Wed, 18 Jan 2012 18:00:05 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: <4f17edcc.11901487@nntp.aioe.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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. 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