The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Warner Losh <imp@bsdimp.com>
To: Larry McVoy <lm@mcvoy.com>
Cc: TUHS main list <tuhs@minnie.tuhs.org>
Subject: Re: [TUHS] SunOS code?
Date: Sat, 1 Sep 2018 09:20:49 -0600	[thread overview]
Message-ID: <CANCZdfptkUFVC27aWeLUY1Wh3=XgwHmUXznO5CB8P6OGixP2Qw@mail.gmail.com> (raw)
In-Reply-To: <20180901150109.GT28971@mcvoy.com>

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

On Sat, Sep 1, 2018 at 9:01 AM Larry McVoy <lm@mcvoy.com> wrote:

> On Sat, Sep 01, 2018 at 12:43:52PM +0100, Steve Mynott wrote:
> > On Wed, 29 Aug 2018 at 15:53, Larry McVoy <lm@mcvoy.com> wrote:
> > The BSDs have a less than optimal VM system.  Having SunOS opened up
> > > would at least let people see what they are missing.  Maybe I have
> > > rose colored glasses on but it was the only kernel that came into
> > > focus for me and you could see the architecture from the code.
> > > Everything else seems like a mess to me.
> > >
> >
> > That may have been true in the late 80s and even early 90s but I'd have
> > thought FreeBSD, NetBSD and OpenBSD would have useable VMs by now.
>
> I wandered through the FreeBSD VM recently.  Perhaps I'm just old and
> tired but it looked pretty messy to me.  Still Mach based and the
> Mach VM system, which came about at about the same time as the SunOS
> VM system, doesn't remotely compare.  Sun had some exceptional
> talent at the time, there was a reason I fought hard to join that
> group, I wanted to work with people who were better than me.
>

It is still technically mach based, but it's fixed most of the scalability
issues Mach had (and that MacOS still has).

There's much clutter in the VM, and there's areas that could stand to be
rewritten, or to get at least a good cleaning.

The SunOS vm was far superior in its day, and likely is still cleaner than
what's in FreeBSD. But it can't scale like FreeBSD's vm (or NetBSD's or
even MacOS's) because it hasn't had the same care and feeding for the last
25 years. It's still single threaded and hasn't had the care and feeding to
make it perform well in MP situations. Solbourne spent years hacking it to
make it scale better, but even with 16 processors that was the high end for
them, and they were barely 10x faster than a uniprocessor for many work
loads due, in part, to vm contention limiting scalability. We had 2 8 CPU
machines that could build our software ~20% faster (with netmake) than the
1 16 CPU machine the OS group had, for example... I recall many discussions
with Dave Barak who did the fine-grained work on the 4.0 SunOS kernel
complaining about how many of the clever tricks in different subsystems
that worked great on UP were terrible for MP...

I don't doubt we'd be in an even better place today if we'd started with
the SunOS vm system in 4.4BSD rather than mach. Don't get me wrong. And
I'll not be the first in line to defend its elegance or clarity of design
(in fact, it has many design issues that took a decade to recode to
properly scale, and we're still not done). And lord knows even though I'm
not close to the foremost expert in the vm, I could easily put together an
hour or two talk on how all the areas of the VM that are holding us back.
Yet even with all that, I think that the ugly, warty, co-evolved code we
have in FreeBSD performs better than the SunOS vm code on any objective
benchmark you could have.

Warner

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

  reply	other threads:[~2018-09-01 15:21 UTC|newest]

Thread overview: 132+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-24 15:13 [TUHS] Research UNIX on the AT&T 3B2? Seth Morabito
2018-08-24 15:23 ` William Cheswick
2018-08-24 16:06 ` Clem Cole
2018-08-24 16:46   ` Larry McVoy
2018-08-24 17:54     ` Jon Forrest
2018-08-26  2:22       ` Larry McVoy
2018-08-27 15:54   ` Mary Ann Horton
2018-08-27 17:06     ` Seth Morabito
2018-08-27 17:33     ` Clem Cole
2018-08-27 19:59       ` John P. Linderman
2018-08-27 20:27         ` Brad Spencer
2018-08-28  0:24       ` Dave Horsfall
2018-08-28  0:30         ` Larry McVoy
2018-08-28  6:01           ` arnold
2018-08-28  6:11             ` George Michaelson
2018-08-28  6:42               ` arnold
2018-08-28 13:13                 ` Arthur Krewat
2018-08-28 22:39                 ` Dave Horsfall
2018-08-29  5:25                   ` arnold
2018-08-28 22:33             ` Dave Horsfall
2018-08-29  0:36               ` Harald Arnesen
2018-08-29  0:46                 ` Larry McVoy
2018-08-29  5:29                   ` [TUHS] SunOS code? arnold
2018-08-29 14:40                     ` Larry McVoy
2018-08-29 14:41                       ` Dan Cross
2018-08-29 14:44                         ` William Pechter
2018-08-29 14:46                           ` Warner Losh
2018-08-29 14:45                         ` Clem Cole
2018-08-29 14:43                     ` Warner Losh
2018-08-29 14:45                       ` Warner Losh
2018-08-29 14:53                       ` Larry McVoy
2018-09-01 11:43                         ` Steve Mynott
2018-09-01 13:50                           ` Andy Kosela
2018-09-01 14:32                             ` Warner Losh
2018-09-04  9:39                               ` Andy Kosela
2018-09-01 15:01                           ` Larry McVoy
2018-09-01 15:20                             ` Warner Losh [this message]
2018-09-01 18:24                               ` Steve Mynott
2018-09-01 18:38                                 ` Larry McVoy
2018-08-29 23:09                       ` David Arnold
2018-08-29  1:06                 ` [TUHS] Research UNIX on the AT&T 3B2? Dave Horsfall
2018-08-29  3:23                   ` Theodore Y. Ts'o
2018-08-29  4:36                     ` [TUHS] Cryptic Unix Commands Warren Toomey
2018-08-29 16:13                       ` Jeremy C. Reed
2018-08-29 22:03                       ` Dave Horsfall
2018-08-29 22:09                         ` Grant Taylor via TUHS
2018-08-29 22:21                           ` William Pechter
2018-08-29 23:04                             ` Grant Taylor via TUHS
2018-08-29 23:38                               ` Larry McVoy
2018-08-30  3:59                               ` William Pechter
2018-08-29 22:31                         ` Dan Mick
2018-08-29 23:00                           ` Grant Taylor via TUHS
2018-08-30  8:28                             ` Dave Horsfall
2018-08-30 11:06                         ` ron
2018-08-30 11:35                           ` John P. Linderman
2018-08-30 13:24                           ` Clem Cole
2018-08-30 14:31                             ` William Pechter
2018-08-30 15:01                               ` Clem Cole
2018-08-30 15:22                                 ` Warner Losh
2018-08-30 16:11                                   ` William Pechter
2018-08-29  5:06                     ` [TUHS] Research UNIX on the AT&T 3B2? Greg 'groggy' Lehey
2018-08-29 14:25                       ` Theodore Y. Ts'o
2018-08-29 14:41                         ` Dan Cross
2018-08-29 14:50                           ` Chet Ramey
2018-08-29 14:59                             ` Larry McVoy
2018-08-29 15:08                               ` Chet Ramey
2018-08-29 17:14                           ` Arno Griffioen
2018-08-29 23:23                             ` Eric Wayte
2018-08-30  3:03                               ` Gregg Levine
2018-08-29 17:28                           ` Theodore Y. Ts'o
2018-08-30  5:58                         ` Greg 'groggy' Lehey
2018-08-30 13:14                           ` Warner Losh
2018-08-29  8:43                     ` Dave Horsfall
2018-08-29  7:03                   ` Arrigo Triulzi
2018-08-28  1:14         ` Warren Toomey
2018-08-28 17:47         ` Paul Winalski
2018-08-26  8:48 ` arnold
2018-08-30 19:41 [TUHS] SunOS code? Noel Chiappa
2018-08-30 19:46 ` Larry McVoy
2018-08-30 20:04 ` Warner Losh
2018-08-30 20:22   ` Larry McVoy
2018-08-30 20:33     ` Clem Cole
2018-08-30 20:36       ` Larry McVoy
2018-08-30 20:40         ` Clem Cole
2018-08-30 20:43           ` Larry McVoy
2018-08-30 20:38     ` Warner Losh
2018-08-30 20:42       ` Larry McVoy
2018-08-30 20:43         ` Clem Cole
2018-08-30 20:37 ` Clem Cole
2018-08-31  5:49 ` Lars Brinkhoff
2018-08-31  9:50   ` Dave Horsfall
2018-08-31 11:01     ` Gregg Levine
2018-08-31 11:05       ` Lars Brinkhoff
2018-08-30 19:54 Noel Chiappa
2018-08-30 20:05 ` Earl Baugh
2018-08-30 21:34 Noel Chiappa
2018-08-31  1:59 ` Kevin Bowling
2018-08-31 21:34   ` Cág
2018-08-31 21:39     ` Clem Cole
2018-08-31 21:47       ` Arthur Krewat
2018-08-31 21:57     ` Warner Losh
2018-08-31 21:58     ` Larry McVoy
2018-08-31 22:02       ` Warner Losh
2018-08-31 22:19       ` Cág
2018-08-31 22:23         ` Jon Forrest
2018-08-31 22:30           ` Cág
2018-08-31 22:34             ` Jon Forrest
2018-09-01 10:46             ` Donald ODona
2018-08-31 22:20       ` Cág
2018-08-31 23:02       ` Arthur Krewat
2018-09-01  1:57         ` Larry McVoy
2018-09-01  3:23           ` Theodore Y. Ts'o
2018-09-01 16:29             ` Kevin Bowling
2018-09-01 16:35               ` Larry McVoy
2018-09-01 19:32                 ` Clem Cole
2018-09-01 16:27         ` Kevin Bowling
2018-09-01 17:17           ` Arthur Krewat
2018-09-01 22:19             ` Theodore Y. Ts'o
2018-09-02  5:05               ` Kevin Bowling
2018-09-02 19:43                 ` Theodore Y. Ts'o
2018-09-04 11:47                   ` Kevin Bowling
2018-09-04 17:39                     ` Gilles Gravier
2018-09-04 17:45                       ` Henry Bent
2018-09-05  6:31                         ` Gilles Gravier
2018-09-05 12:55                           ` Arthur Krewat
2018-09-05 15:26                             ` Warner Losh
2018-09-05 15:36                               ` Chet Ramey
2018-09-05 15:43                               ` Arthur Krewat
2018-09-05 23:40                           ` Dave Horsfall
2018-09-05  0:10                 ` Tony Finch
2018-09-04 17:58 Noel Chiappa
2018-09-06  0:39 ` Dave Horsfall

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='CANCZdfptkUFVC27aWeLUY1Wh3=XgwHmUXznO5CB8P6OGixP2Qw@mail.gmail.com' \
    --to=imp@bsdimp.com \
    --cc=lm@mcvoy.com \
    --cc=tuhs@minnie.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).