Re: Linux v.s. Mac OS-X Performance

From: "Trevor Talbot" <quension(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Linux v.s. Mac OS-X Performance
Date: 2007-11-28 11:55:56
Message-ID: 90bce5730711280355r321e81cew70a0cda8766aa78a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/27/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Doug McNaught <doug(at)mcnaught(dot)org> writes:

> > Kind of. Mach is still running underneath (and a lot of the app APIs
> > use it directly) but there is a BSD 'personality' above it which
> > (AIUI) is big parts of FreeBSD ported to run on Mach. So when you use
> > the Unix APIs you're going through that.

> The one bit of the OSX userland code that I've really had my nose rubbed
> in is libedit, and they definitely took that from NetBSD not FreeBSD.
> You sure you got your BSDen straight?
>
> Some random poking around at
> http://www.opensource.apple.com/darwinsource/10.5/
> finds a whole lot of different-looking license headers. But it seems
> pretty clear that their userland is BSD-derived, whereas I've always
> heard that their kernel is Mach-based. I've not gone looking at the
> kernel though.

The majority of the BSDness in the kernel is from FreeBSD, but it is
very much a hybrid, Mach being the other parent. Userland is a mixed
bag; FreeBSD, NetBSD, OpenBSD are all visible in different places. In
older versions I've also seen 4.4BSD credited directly (as in not even
caught up with FreeBSD), but I believe most of that has been updated
in newer versions of the OS. Apple also has employees who are major
developers for both FreeBSD and NetBSD at least, though I haven't kept
up with who is doing what.

http://developer.apple.com/documentation/Darwin/Conceptual/KernelProgramming/Architecture/chapter_3_section_3.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Simon Riggs 2007-11-28 13:00:35 Re: WAL Recovery
Previous Message Tomasz Ostrowski 2007-11-28 11:53:31 Re: Config settings for large restore