Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro » 64K segments are good for you
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
64K segments are good for you [message #116950] Mon, 23 September 2013 14:31 Go to next message
brad is currently offline  brad
Messages: 191
Registered: February 2013
Karma: 0
Senior Member
Message-ID: <242@looking.UUCP>
Date: Mon, 4-Mar-85 00:00:00 EST
Article-I.D.: looking.242
Posted: Mon Mar  4 00:00:00 1985
Date-Received: Tue, 5-Mar-85 01:54:35 EST
References: <1068@watdcsu.UUCP>
Organization: Looking Glass Software, Waterloo, Ont
Lines: 25
Xref: watmath net.micro:9587 net.micro.pc:3438

I've struggled quite a bit with 64K address limitations, and I'll be
the first to say that they are a pain.

But don't knock segmentation so quickly.  Have you ever wondered why
those 68000 workstations are so slow and memory wasteful, and how a
PC/AT can beat most of them in performance?  The answer is segmentation.

Most unix applications run in 64K, as they were designed for that.
So let them run with 16 bit pointers, and boy are they fast and small.
You can't run unix on a 68000 these days without 20 megs of disk and
1 meg of ram.

You can actually be up and running on a 256K z-8001 or 8086 system.  And
often beat out the 68000s

The segmentation offers you a nice deal - small programs as small as they
can be, and large programs there at a cost.  And with hardware designed
for this, it could be at no penalty.

If it turns out that you can do well by limiting single objects to 64K,
you aren't bothering anybody but the numerical analists.  I've yet to
see a non-numerical program with an object that large.  And what are they
doing on a 16 bit processor anyway?
-- 
Brad Templeton, Looking Glass Software Ltd. - Waterloo, Ontario 519/884-7473
Re: 64K segments are good for you [message #117027 is a reply to message #116950] Mon, 23 September 2013 14:34 Go to previous message
johnl is currently offline  johnl
Messages: 109
Registered: February 2013
Karma: 0
Senior Member
Message-ID: <507@ima.UUCP>
Date: Sun, 10-Mar-85 23:39:00 EST
Article-I.D.: ima.507
Posted: Sun Mar 10 23:39:00 1985
Date-Received: Tue, 12-Mar-85 21:27:50 EST
Lines: 19
Nf-ID: #R:looking:-24200:ima:11700013:000:1007
Nf-From: ima!johnl    Mar 10 23:32:00 1985

It's true that programs with short addresses run faster than programs
with large addresses.  But that's no reason to endorse a processor that
insists on breaking up everything into 64K segments.

The '86 series has a compact though complex instruction format, which
makes programs faster since there are fewer bytes of instruction stream
to decode.  It's no big trick, though, to make a computer with compact
object code AND linear addressing.  Consider the Vax.  If your programs
fit in 64K, you can use 16 bit offsets in all of the instructions and your
code is small and fast (the -d2 option to cc does that.)  If your programs
are bigger, you can use larger addresses.  The NS32032, being a VAX ripoff,
does the same thing.

Segmented architectures have all sorts of swell advantages, viz Multics,
but limiting the segments to 64K has no redeeming social value.  Even Intel
implicitly admits this since the 386 will have large, useful segments.  Sure
hope they can make it work.

John Levine, ima!johnl
Re: 64K segments are good for you [message #118006 is a reply to message #116950] Wed, 13 March 1985 15:33 Go to previous message
henry is currently offline  henry
Messages: 287
Registered: March 2013
Karma: 0
Senior Member
Article-I.D.: utzoo.5232
Posted: Wed Mar 13 15:33:26 1985
Date-Received: Wed, 13-Mar-85 15:33:26 EST
References: <507@ima.UUCP>
Organization: U of Toronto Zoology
Lines: 7

> ...  The NS32032, being a VAX ripoff, does the same thing.

Not true, actually.  The 32032 and the VAX are both PDP11 ripoffs.
The 32032 is closer to the 11 than the VAX is, and is the better for it.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: reaching Apps engrs by email
Next Topic: Info-Kermit Digest V2 #11
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri May 16 16:19:01 EDT 2025

Total time taken to generate the page: 0.18578 seconds