The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
To: tuhs@tuhs.org
Subject: [TUHS] Re: A second Unix Patent
Date: Fri,  3 Mar 2023 20:57:46 -0500 (EST)	[thread overview]
Message-ID: <20230304015746.DD95518C08D@mercury.lcs.mit.edu> (raw)

    > From: Douglas McIlroy

    > Typo, in v3 through v6 ...
    > 26^3 16-bit trigram counts didn't fit in the PDP-11 memory

Being mildly curious, I fed '26 3 ^p' into 'dc' to see just how big it was -
and got "17576", a 16-bit word array of which would fit into a PDP-11 64KB
address space.

I think the answer is in the first line - V3 didn't use the PDP-11 memory
management, so the kernel _and_ the application had to fit into 56KB. So
there may well have not been 36KB available to hold a 26^3 array of 16-bit
words.

The other possible explanation is that it was perfectly possible to run UNIXes
of that era (V4 on) on machines without enough main memory to hold the kernel
and a 'full-sized' process simultaneously. (Our original machine, an -11/40,
started out without a lot of memory; I don't recall exactly how much, though.
It had, I'm pretty sure, 3 banks of core; I was thinking it was 3 MM11-L core
units, which would be 3x16KB, or only 48KB, but my memory must be wrong;
that's not really enough.)

	Noel

             reply	other threads:[~2023-03-04  1:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-04  1:57 Noel Chiappa [this message]
2023-03-04  9:22 ` Ralph Corderoy
2023-03-04 15:08 ` Clem Cole
  -- strict thread matches above, loose matches on Subject: below --
2023-03-01 22:59 [TUHS] " Warner Losh
2023-03-02  4:41 ` [TUHS] " Douglas McIlroy
2023-03-02  5:16   ` David Arnold
2023-03-03 13:29   ` Steve Mynott
2023-03-03 19:19     ` James Frew

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230304015746.DD95518C08D@mercury.lcs.mit.edu \
    --to=jnc@mercury.lcs.mit.edu \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).