While you're at it, I heard once that the latest GCC *manual* (>500 pp at last look) was larger than "the whole Unix distribution".  Is there any truth to that?

Steve



----- Original Message -----
From:
"Dan Stromberg" <drsalists@gmail.com>

To:
"Warner Losh" <imp@bsdimp.com>
Cc:
"The Eunuchs Hysterical Society" <tuhs@tuhs.org>
Sent:
Sat, 20 Jan 2018 18:08:43 -0800
Subject:
Re: [TUHS] Kernel Sizes


On Sat, Jan 20, 2018 at 10:11 AM, Warner Losh <imp@bsdimp.com> wrote:
> For a presentation I'm doing this summer on FreeBSD, I thought it would be
> cool to get the kernel sizes for various old flavors of Unix. I see numbers

You might find http://stromberg.dnsalias.org/~strombrg/working-set/ interesting.

It intentionally fills virtual memory, and measures how much must must
be malloc'd and filled with gibberish, to cause thrashing.

Subtracting that from the amount of physmem in the machine, gives a
sort of measure of OS overhead.