Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: "Jerome H. Fine" <everyone@nospam.com>
Subject: Re: Y3K for PDP-11 Operating Systems
Date: Wed, 25 May 2011 08:36:17 -0400	[thread overview]
Message-ID: <4ddcf78e$0$313$14726298@news.sunsite.dk> (raw)
In-Reply-To: <irin0j$phk$1@Iltempo.Update.UU.SE>

 >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


  reply	other threads:[~2011-05-25 12:36 UTC|newest]

Thread overview: 146+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 13:12 Y3K for PDP-11 Operating Systems Jerome H. Fine
2011-04-04 13:40 ` Dennis Grevenstein
2011-04-04 18:58   ` Jerome H. Fine
2011-04-04 20:55   ` Johnny Billquist
2011-04-30 22:27 ` billy
2011-05-01 14:01   ` Jerome H. Fine
2011-05-01 17:27     ` Johnny Billquist
2011-05-02  0:53       ` Jerome H. Fine
2011-05-01 21:16 ` glen herrmannsfeldt
2011-05-02  0:54   ` Jerome H. Fine
2011-05-02  4:07     ` Johnny Billquist
2011-05-02 13:37       ` Jerome H. Fine
2011-05-02 15:39         ` Johnny Billquist
2011-05-02  5:15     ` glen herrmannsfeldt
2011-05-03  1:20 ` jjh
2011-05-03 13:18   ` Bob Koehler
2011-05-03 16:51     ` Jerome H. Fine
2011-05-03 17:50       ` VAXTREK Bob Koehler
     [not found]       ` <j0Y9tTme9SEK@eisner.encompasserve.org>
2011-05-03 18:39         ` Y3K for PDP-11 Operating Systems Henry Crun
2011-05-03 19:56           ` Jerome H. Fine
2011-05-03 22:52           ` onedbguru
2011-05-04  0:07             ` Bill Gunshannon
2011-05-04  5:16               ` Richard B. Gilbert
2011-05-04 13:01                 ` Bill Gunshannon
2011-05-04 14:19                   ` Richard B. Gilbert
2011-05-04 14:58                     ` Scott Dorsey
2011-05-04 16:33                     ` Bill Gunshannon
2011-05-05  1:51                       ` Richard B. Gilbert
2011-05-06 18:08                         ` G Cornelius
2011-05-06 18:47                           ` Richard B. Gilbert
2011-05-06 22:13                           ` Johnny Billquist
2011-05-08  1:00                             ` Rich Alderson
2011-05-08  1:51                               ` Johnny Billquist
2011-05-08 11:19                               ` Richard B. Gilbert
2011-05-09 21:32                                 ` Rich Alderson
2011-05-09 15:40                             ` Rob Brown
2011-05-09 15:43                               ` Johnny Billquist
2011-05-09 21:47                               ` vandys
2011-05-09 22:05                                 ` Johnny Billquist
2011-05-09 23:05                                   ` vandys
2011-05-09 23:20                                     ` Johnny Billquist
2011-05-10  0:12                                       ` vandys
2011-05-10  1:36                                         ` Johnny Billquist
2011-05-10  2:01                                         ` glen herrmannsfeldt
2011-05-10 13:31                                         ` Bob Koehler
     [not found]                                         ` <iqa6a7$gu8$1@dont-Organization: Encompasserve <fXiU1i6RQYr0@eisner.encompasserve.org>
2011-05-10 16:56                                           ` John Wallace
2011-05-10 17:50                                             ` Bob Koehler
2011-05-11 16:04                                               ` G Cornelius
2011-05-04 17:02                   ` Johnny Billquist
2011-05-04 17:20                   ` Bob Koehler
2011-05-04 18:10                   ` glen herrmannsfeldt
2011-05-04 19:21                     ` John Wallace
2011-05-04 22:06                     ` MetaEd
2011-05-05  3:17                       ` Johnny Billquist
2011-05-10 13:20                   ` Bob Koehler
2011-05-10 13:29                   ` Bob Koehler
2011-05-10 15:29                     ` Johnny Billquist
2011-05-10 17:16                       ` G Cornelius
2011-05-10 17:45                   ` Bob Koehler
2011-05-10 21:34                     ` Johnny Billquist
2011-05-10 17:58                   ` Bob Koehler
2011-05-10 21:36                     ` Johnny Billquist
2011-05-03 16:38   ` Jerome H. Fine
2011-05-03 11:28 ` paramucho
2011-05-03 16:09   ` Jerome H. Fine
2011-05-23  3:41   ` billy
2011-05-23  4:51     ` Johnny Billquist
2011-05-23 14:47       ` jjh
2011-05-23 15:04         ` Bill Gunshannon
2011-05-23 22:52           ` Johnny Billquist
2011-05-24  0:16             ` Bill Gunshannon
2011-05-24  0:40               ` Johnny Billquist
2011-05-24 12:58                 ` Bill Gunshannon
2011-05-24 14:02                   ` glen herrmannsfeldt
2011-05-24 14:36                   ` Johnny Billquist
2011-05-24 16:42                     ` Bill Gunshannon
2011-05-24 18:17                       ` Johnny Billquist
2011-05-24 20:07                         ` Bill Gunshannon
2011-05-25  1:07                           ` Rich Alderson
2011-05-25 10:34                           ` Johnny Billquist
2011-05-25 15:46                             ` Bill Gunshannon
2011-05-25 23:00                               ` Johnny Billquist
2011-05-26 15:50                                 ` Fritz Wuehler
2011-05-26 16:53                                   ` Johnny Billquist
2011-05-26 20:20                                     ` Fritz Wuehler
2011-05-28 18:01                                 ` Bill Gunshannon
2011-05-26  0:58                               ` Rich Alderson
2011-05-26  1:23                                 ` glen herrmannsfeldt
2011-05-26 13:01                                   ` Bob Koehler
2011-05-27  0:54                                     ` glen herrmannsfeldt
2011-05-26 20:15                                   ` Rich Alderson
2011-05-26 23:56                                     ` glen herrmannsfeldt
2011-05-27 18:37                                       ` Rich Alderson
2011-05-27  0:02                                     ` glen herrmannsfeldt
2011-05-27  3:17                                       ` Johnny Billquist
2011-05-27 18:51                                         ` Rich Alderson
2011-05-27 19:48                                           ` Johnny Billquist
2011-05-27 18:35                                     ` Rich Alderson
2011-05-26  1:14                               ` Jerome H. Fine
2011-05-26  1:32                                 ` glen herrmannsfeldt
2011-05-26 20:39                                   ` Jerome H. Fine
2011-05-26 15:50                               ` Fritz Wuehler
2011-05-25  1:01                         ` Rich Alderson
2011-05-26 12:53                         ` Bob Koehler
2011-05-26 16:59                           ` Johnny Billquist
2011-05-26  8:03                       ` Fritz Wuehler
2011-05-26 14:21                         ` paramucho
2011-05-26 18:50                           ` billy
2011-05-27 11:58                             ` paramucho
2011-05-27 17:23                               ` billy
2011-05-26 17:04                         ` Johnny Billquist
2011-05-27  1:30                           ` Fritz Wuehler
2011-05-27  2:17                             ` Scott Dorsey
2011-05-27  3:26                             ` Johnny Billquist
2011-05-30 21:09                             ` John Wallace
2011-05-31  1:15                               ` Johnny Billquist
2011-05-31 18:02                               ` jjh
2011-05-31 20:54                                 ` Bob Koehler
2011-05-31 21:37                                   ` glen herrmannsfeldt
2011-05-25  2:59                     ` Jerome H. Fine
2011-05-25 10:51                       ` Johnny Billquist
2011-05-25 12:36                         ` Jerome H. Fine [this message]
2011-05-25 17:25                           ` Tom Lake
2011-05-25 18:01                             ` Jerome H. Fine
2011-05-25 18:44                           ` Johnny Billquist
2011-05-26  1:20                           ` Rich Alderson
2011-05-26 16:53                             ` Rob Brown
2011-05-26 20:27                               ` Rich Alderson
2011-05-27  3:27                                 ` Johnny Billquist
2011-05-26 20:38                             ` Jerome H. Fine
2011-05-27  4:44                               ` Johnny Billquist
2011-05-24 12:02             ` paramucho
2011-05-23 14:48       ` Jerome H. Fine
2011-05-23 22:46         ` Johnny Billquist
2011-05-24  0:19           ` Bill Gunshannon
2011-05-24  0:43             ` Johnny Billquist
2011-05-25 18:41             ` Jerome H. Fine
2011-05-24  2:54         ` billy
2011-05-24 13:03           ` Bill Gunshannon
2011-05-24 14:39             ` Johnny Billquist
2011-05-24 15:10               ` billy
2011-05-24 15:48                 ` Johnny Billquist
2011-05-24 16:54               ` Bill Gunshannon
2011-05-24 14:42             ` billy
2011-05-24 16:56               ` Bill Gunshannon
2011-05-25 18:05               ` Jerome H. Fine
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox