Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: wilsonj@alum01.its.rpi.edu (John Wilson)
Subject: Re: UNIX (Ultrix, BSD?) for DEC Micro PDP-11?
Date: 21 Dec 1994 23:25:16 GMT	[thread overview]
Message-ID: <3dadgs$ita@usenet.rpi.edu> (raw)
In-Reply-To: 3d9v5o$opt@topaz.sensor.com

In article <3d9v5o$opt@topaz.sensor.com>,
Ron Natalie <ron@topaz.sensor.com> wrote:
>John Wilson (wilsonj@alum01.its.rpi.edu) wrote:
>: The PDP-11
>: has variable sized pages -- sure, you could just define them all to be
>: 4KW but then you'd eat through your PDP's tiny memory in no time
>
>Actually, it doesn't have variable sized pages.  It has exactly 8
>per address space corresponding to the 8 8K spaces.  You just didn't
>need to point them at a full 8K's worth of memory.

Right.  8 variable-sized pages.  I didn't say a variable *number* of pages.
The fact that a <4KW page still has to rattle around in 4KW of address space
doesn't have anything to do with the point I was making, which was that memory
fragmentation is a problem on PDP-11s, while it isn't on systems like the
PDP10 that just have a zillion 512-word pages, forexample, since you can always
whip up a seemingly contiguous area with the page tables w/o having to slide
stuff around.  So I'd question whether he newer UNIXes (written for machines
with similar VM structures, like the VAX and 386) have decent (or any)
defragging code.

>The PDP-11 is really not much worse restartability wise than many other
>platforms that support UNIX.

You mean, "top-of-the-line PDP-11."  Machines like the 11/23, 11/24, 11/34,
11/60 etc. that don't have MMR1 mechanized (but are otherwise perfectly
usable, SOB/XOR/EIS, optional FPP, not toys like the 11/05) can easily
get you in situations where instructions *can't* be restarted.  Like if
the faulting instruction is "MOV -(R2),-(R2)", and R2 crosses a page boundary
in one of the autodecs, you don't know which ref it was so you don't know
whether to add 2 or 4 to R2 after loading the page.

Cheap fixes like promising that the C compiler will never generate confusing
instructions like that and not allowing assembly language are too disgusting
for words.

>Most of the early UNIXes couldn't page either (they were done on the
>PDP-11).  This accounts for the combination swap/page architecture
>that persists in UNIX today.

If it persists then great.  My point was that porting a paging-only OS back
to the PDP-11 would be hell, obviously the old UNIXes did it but things have
changed since then.  The old UNIXes *already* ran on the 11 so porting them
to the 11 ought to be pretty straightforward!  :-)

John Wilson


      reply	other threads:[~1994-12-21 23:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-15  5:40 UNIX (Ultrix, BSD?) for DEC Micro PDP-11? TAUBMAN JASON ROBERT
1994-12-16  9:55 ` Wilko Bulte
1994-12-18  6:49 ` Jeff Dutky
1994-12-18 17:06   ` Megan
1994-12-22 23:29   ` stufroed
1994-12-19 12:18 ` arog on BIX
1994-12-19 15:17   ` Ron Natalie
1994-12-19 20:42     ` John Wilson
1994-12-21 19:20       ` Ron Natalie
1994-12-21 23:25         ` John Wilson [this message]
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