The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Warner Losh <imp@bsdimp.com>
To: "Greg 'groggy' Lehey" <grog@lemis.com>
Cc: The Eunuchs Hysterical Society <tuhs@tuhs.org>
Subject: Re: [TUHS] SMP: BSD vs System V (once was: moving directories in svr2)
Date: Fri, 7 Jan 2022 12:01:30 -0700	[thread overview]
Message-ID: <CANCZdfrVdLo9AZJKWhPE_3Z1xB4Bb8D-WzyPxRwZHRtSoKu30w@mail.gmail.com> (raw)
In-Reply-To: <20220103235600.GA68567@eureka.lemis.com>

[-- Attachment #1: Type: text/plain, Size: 2951 bytes --]

On Mon, Jan 3, 2022 at 5:03 PM Greg 'groggy' Lehey <grog@lemis.com> wrote:

> On Monday,  3 January 2022 at 15:44:11 -0800, Larry McVoy wrote:
> > On Mon, Jan 03, 2022 at 05:21:51PM -0600, Doug McIntyre wrote:
> >> On Mon, Jan 03, 2022 at 04:15:08PM -0500, Dan Cross wrote:
> >> I'd agree, 2.4 was pretty slow and chunky, 2.5 was alright, but 2.5.1
> was quite usable and stable.
> >> Also by this time, the hardware was going in directions that SunOS
> wouldn't keep up with.
> >
> > Yeah, Doug is right, SunOS was pretty simple, it didn't really take
> advantage
> > of SMP, Greg Limes tried to thread it but it was too big a job for one
> guy.
> >
> > That's not to say that SunOS couldn't have evolved into SMP, I'm 100%
> > sure it could have.  It just didn't.  It's a shame.
>
> An interesting question.  I had always thought that SMP was (one of?)
> the technical reasons why Sun moved from a BSD to a System V base.
> Since then, of course, we've done lots of work on SMP support for at
> least FreeBSD.  Does anybody have an overview of how good the support
> is compared to modern Solaris?  Is there any intrinsic reason why one
> should be better than the other?
>

So, there were several groups that added SMP to BSD or SunOS.

Solbourne's OS/MP added MP to SunOS 4.0 as first ASMP (one CPU did all the
system calls, but jobs could run on other CPUs) and later as SMP (first as
any
CPU could run the system calls, but there was global lock and later each
subsystem had a lock that it ran with). Later versions improved locking
granularity
by pushing locks down and making things finer grained. SunOS was a 4.3BSD
with
its own VM system that was well suited for locking.

There were other efforts to do this, but none of them made it back to the
Berkeley
mother ship, so 4.4BSD shipped w/o MP support in any real sense in 1993.

System V got MP when a consortium of vendors added it to the 4.0 release
(that
didn't include sun). By 1992 this was rolled into the 4.2 release that AT&T
did
with Novell. This is what would serve as the basis for Sun's Solaris
product line.

FreeBSD, NetBSD, OpenBSD and Dragonfly BSD have all done MP in different
ways since then, of course, and Linux has added MP as well early on.

So in a very real sense, Sun was in a position where it had to re-do the
work
that David Barak and others did at Solbourne to lock the SunOS kernel (work
which really took years to complete and stabilize), or they had to go with
a solution
that was already developed. AT&T had that with System V 4.x, and Berkeley
didn't
have an equivalent set of functionality for them to draw from. I think from
a PHB
perspective, the decision was easy, mostly because they vastly
under-estimated
the maturity of System Vr4.2's MP support (but I wasn't in the room: I was
at Solbourne
which would never have licensed its OS/MP to Sun due to the... competitive
atmosphere
at the time and likely NIH inside of Sun for adopting that).

Warner

[-- Attachment #2: Type: text/html, Size: 3754 bytes --]

  reply	other threads:[~2022-01-07 19:02 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30  3:45 [TUHS] moving directories in svr2 Noel Chiappa
2021-12-30  4:02 ` Bakul Shah
2021-12-30 16:40 ` Theodore Ts'o
2021-12-30 22:31   ` Dan Cross
2021-12-31  0:43     ` Bakul Shah
2021-12-31  1:00       ` Rob Pike
2021-12-31  1:45         ` Bakul Shah
2021-12-31  2:23           ` Adam Thornton
2021-12-31 18:56       ` Chet Ramey
2021-12-31  3:08     ` Theodore Ts'o
2021-12-31  3:23       ` Rob Pike
2021-12-31  5:16         ` Theodore Ts'o
2021-12-31  5:21           ` Dan Cross
2021-12-31  5:55           ` Rob Pike
2021-12-31 13:32             ` Michael Kjörling
2021-12-31 15:53               ` Adam Thornton
2021-12-31 16:13                 ` Arthur Krewat
2021-12-31 18:17                 ` Dan Cross
2021-12-31 18:23                   ` Larry McVoy
2021-12-31 18:37                     ` Dan Cross
2021-12-31 18:29                   ` Arthur Krewat
2022-01-01  0:09                   ` Theodore Ts'o
2022-01-03 13:35                     ` Dan Cross
2022-01-03 20:23                       ` Theodore Ts'o
2022-01-03 20:45                         ` Warner Losh
2022-01-03 21:15                         ` Dan Cross
2022-01-03 22:26                           ` Theodore Ts'o
2022-01-03 23:10                             ` Dan Cross
2022-01-04 15:45                             ` Chet Ramey
2022-01-09 19:28                             ` Larry McVoy
2022-01-03 23:21                           ` Doug McIntyre
2022-01-03 23:37                             ` Adam Thornton
2022-01-04 14:49                               ` Stuart Remphrey
2022-01-03 23:44                             ` Larry McVoy
2022-01-03 23:56                               ` [TUHS] SMP: BSD vs System V (once was: moving directories in svr2) Greg 'groggy' Lehey
2022-01-07 19:01                                 ` Warner Losh [this message]
2022-01-09 17:31                                 ` Stuart Remphrey
2022-01-13  2:35                                 ` Kevin Bowling
2022-01-03 23:56                               ` [TUHS] moving directories in svr2 Warner Losh
2022-01-04  2:28                               ` Theodore Ts'o
2022-01-04  2:42                                 ` Larry McVoy
2022-01-04  9:28                                 ` [TUHS] Mythical Distress Sale (was Re: moving directories in svr2) Rob Gingell
2022-01-04 15:17                                   ` Larry McVoy
2022-01-04 15:26                                     ` arnold
2022-01-04 15:40                                       ` Larry McVoy
2022-01-04 15:48                                         ` Richard Salz
2022-01-03 22:57                         ` [TUHS] moving directories in svr2 Phil Budne
2022-01-04 15:40                         ` [TUHS] VRFs (was Re: moving directories in svr2) Derek Fawcus
2021-12-31  5:12       ` [TUHS] moving directories in svr2 Bakul Shah

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=CANCZdfrVdLo9AZJKWhPE_3Z1xB4Bb8D-WzyPxRwZHRtSoKu30w@mail.gmail.com \
    --to=imp@bsdimp.com \
    --cc=grog@lemis.com \
    --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).