From mboxrd@z Thu Jan 1 00:00:00 1970 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: gide311f70d09,gidd180ab3bd8,gidf4c4f7386e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!81.171.88.250.MISMATCH!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!news.astraweb.com!border1.a.newsrouter.astraweb.com!newsfeed101.telia.com!starscream.dk.telia.net!news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Wed, 25 May 2011 08:36:17 -0400 From: "Jerome H. Fine" Organization: Just Sufficient User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.sys.pdp11,comp.sys.dec,vmsnet.pdp-11 Subject: Re: Y3K for PDP-11 Operating Systems References: <4d99c3b6$0$23756$14726298@news.sunsite.dk> <4dc1e27c.40366475@news.tpgi.com.au> <93vbcaF3luU1@mid.individual.net> <940bm5Fcc3U1@mid.individual.net> <941ob1Fre1U1@mid.individual.net> <4ddc7062$0$314$14726298@news.sunsite.dk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4ddcf78e$0$313$14726298@news.sunsite.dk> NNTP-Posting-Host: 206.248.171.217 X-Trace: news.sunsite.dk DXC=LE0QTcWlT3onC^B`UVjTRcYSB=nbEKnkkcW820^beXJlPPfk^U[HX;oN1>V8bAJTIn3eOPKWXldedQa4_jgFW[9oD:^j?TdPjfjgSG3K2eCDPh X-Complaints-To: staff@sunsite.dk Xref: g2news2.google.com alt.sys.pdp11:2209 comp.sys.dec:3543 vmsnet.pdp-11:637 >Johnny Billquist wrote: > >On 2011-05-24 19.59, Jerome H. Fine wrote: > >> Can Johnny fill out the RSX-11 values and someone else the >> RSTS/E values? Also, add operating system features which >> are felt to be important. > > Not really sure what you want me to fill in, but I'll try to make > comments on your table. Thank you. I am already aware of some of the values. But others are beyond my knowledge. I will attempt to update the table from your comments. >> Maximum RT-11 TSX-Plus RSX-11 RSTS/E >> ---------- ------- ---------- -------- --------- >> >> Instructions: 64 KB 64 KB > > What is this? Addressable virtual address space? Yes - I assume that RSX-11S (without an MMU) is less than 64 KB, but when the MMU is available and execution is in USER space, 64 KB are available. RT-11 is the same. Under RT11FB (and RT11SJ), only about 32 KB are available. Under RT11XM and using VBGEXE to initiate a virtual job, 64 KB are available. Under the RT-11 RTS under RSTS/E, I have found that a bit less than 56 KB are available. Does anyone who knows RSTS/E well know if a full 64 KB are available if a RTS is not in use? >> Data (No I/D) INCL INCL >> Data (I/D) 64 KB 64KB > > I guess we're talking about directly addressable virtual address space. > This is not OS dependent. It is a function of the architecture, and > will be the same on all OSes running on a PDP-11, with the following > caveats: > If MMU is not enabled, then you have different rules. Obviously. I presume that RSX-11S and RT-11 with RT11SJ are examples. I know that TSX-Plus allows only virtual jobs which can be allowed the full 64 KB. I presume that RSTS/E also allows only virtual jobs. Can anyone confirm? > If the OS don't support split I/D-space, then you cannot use it, even > if the hardware supports it. Also true. Under RT-11, this became available in V05.06 using the RT11ZM monitor. It is probably used very little under RT-11. I know of no applications which have been written to take advantage of I/D space for RT-11. > I'm not sure if it is relevant to talk about memory spaces in other > ways. Like, in RSX, you can create big memory areas which you can map > into and out of your virtual address space. It's sortof like mmap() in > Unix, except different. But it gives an understanding about what it is > to talk about mmap here. The same concept can be used in RT-11 under RT11ZM. However, under the PDP-11 architecture, the maximum data space at any one time will always be 64 KB. However, under RT-11, the MMU can be used directly to access all 4 MB of memory (with only a small overhead of changing the MMU each time a different page of memory is to be accessed). Probably only the RT-11 operating system does this 99% of the time since it should be done only in KERNAL mode and most of the time with interrupts disabled. However, in my personal (and probably limited) experience, whenever I required more than 32 KB of data, I usually needed orders of magnitude more to be really useful. I note that one exception seems to be the MACRO-11 assembler. For most programs of reasonable size, 32 KB of data is more than sufficient and the work space does not need to be read or written. Only the very large programs such as the RT-11 Resident Monitor / KMON (which are assembled at the same time) need a work space greater than 32 KB. But when I attempt to sieve Prime Numbers, the larger the work space the better and a GB is not too large. Which leads to the next reference ... >> Data (Ersatz-11)* >1 GB >1 GB?? > > That is a silly piece of information. We're just talking about a > device here. The limits have nothing to do with anything else than the > implemented device. It's not related to the OS, nor to anything else > about a PDP-11. Well, I just added it in case anyone else is interested. With memory now so inexpensive, it would probably be reasonable to build such a device for a board (Qbus or Unibus) on a real PDP-11 and make IOPAGE registers available just as Ersatz-11 does. Image a real PDP-11 that had a device which supported 4 GB of memory so that VIRTUAL arrays in FORTRAN did not need to use PDP-11 memory. Or having a VIRTUAL disk which also did not need to use PDP-11 memory. In fact, both could be on the same board with the VIRTUAL disk being of any size and looking as if it was any type of hard disk drive, but having even better response time than with the current VIRTUAL disks using PDP-11 memory if all the MMU interaction was not required. Since a single PC stick of memory now has 4 GB, it would be easy to have a dual module for a real PDP-11. I don't know enough about hardware to design such a board, but it could not be that difficult. >> Maximum Jobs: 8 32 > > Maximum jobs for RSX is not fixed. It's basically a question of when > you run out of system pool. For TSX-Plus, I think the limit is a bit more than 32, but again memory is the problem. >> Scheduling: Job# Complex > > For RSX, the scheduling is basically a strict priority scheduler. The > task with the highest priority that wants to run gets the CPU. Same with TSX-Plus. However, the priorities are raised and lowered (within limits) depending on what the job is doing. > Within a specific priority level, tasks are scheduled in a simple > round-robin fashion. > There are 250 priority levels. > And then you also have swapping, which then deals with swapping > priorities, which schedules when/how a task is brought back into > memory again when it wants to run, if it is swapped out. I think that TSX-Plus has something similar. Can anyone please comment on RSTS/E scheduling? >> Device:(Hard Disk) 65536 65536 > > Hard disks themself don't have a limit. It's just a question of the > controller and disk. For SCSI disks and controllers, the current disks > are reaching into the terabyte range. Amazing!!!!!!!! I remember when I first purchased a MAXTOR XT8760E at $ 1 / MB at an EOL sale probably around 1995. RT-11 also supports large disk drives, just not easily. In addition, when DEC wrote the DU(X).SYS device drivers, the unit numbers up to 65535 were allowed even though every host adapter for the PDP-11 needs a maximum of about 16 units. Far better would have been to use unit numbers up to 255 and allow the RT-11 partitions up to 65535 instead. That is one of the enhancements that needs to be made to RT-11. >> File:(FS Hard Disk) 65528 65528 > > The RSX file system by default limits disks to 8 GB. In disk blocks > we're talking about 2^24 blocks. The same with RT-11 at present for the normal MSCP access. Partition numbers up to 255 are supported. HOWEVER, my actual question was the size of each individual file. Is the maximum block number 65535? Namely, is the standard block number a 16 bit word (as in RT-11) or does RSX-11 support a 32 bit block number for a file? RT-11 does have special code that supports a 32 bit block number, but it is not as convenient as normal file access. >> Max Files: 255 255 > > Max number of files in an RSX system is 65500 files. But then again, > you can create virtual disks inside a disk, and each of those can have > 65500 files as well, which means that you can go to very many files on > a physical disk, by just nesting virtual disks inside it. I was actually asking about the maximum number of OPEN files at any one time. However, your answer about the file system is also important. RT-11 allows a maximum of 2232 files in any directory. However, since every file can be regarded as a device, there is no actual limit. Naturally, any file used as a device (subset under RT-11 or logical disk - LD.SYS is used) is still limited to 65528 blocks, but with only a maximum of 2232 files in any directory, splitting a large (for RT-11 of course) device of 65536 blocks into a few smaller files which have their own directories solves many RT-11 problems. TSX-Plus is identical since the same directory structure is used. >> Synchronous I/O Yes Yes > > What does this mean? Can RSX do synchronous I/O? Yes, of course. It > can also do asynchronous I/O. Just asking. I always assumed that most operating systems allowed both types of I/O. I understand that Windows supports only synchronous I/O. What about RSTS/E? >> File Sharing No Yes > > What do you put into the concept of file sharing? RSX can allow > concurrent read-only access to files. It can allow one writer with > many readers, and it can also allow multiple writers to a file. It > also have disk block locking to control concurrent access to a file, > so that you can have a controlled consistent view of the contents of a > file. > Programs also have control over what access they want to allow other > programs to have to a file. I understand that RSTS/E also supports file sharing? Can anyone please confirm? TSX-Plus has the same sort of capability. RT-11 does not. Thank you again, Johnny. Can anyone with RSTS/E information please respond? Jerome Fine