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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Doug McNaught <doug(at)mcnaught(dot)org>
Cc: Gregory Stark <stark(at)enterprisedb(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, "Scott Ribe" <scott_ribe(at)killerbytes(dot)com>, "Magnus Hagander" <magnus(at)hagander(dot)net>, "Wolfgang Keller" <wolfgang(dot)keller(dot)privat(at)gmx(dot)de>, "pgsql general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Linux v.s. Mac OS-X Performance
Date: 2007-11-28 05:06:34
Message-ID: 19198.1196226394@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Doug McNaught <doug(at)mcnaught(dot)org> writes:
> On Nov 27, 2007, at 8:36 PM, Gregory Stark wrote:
>> I think (but I'm not sure) that the kernel in OSX comes from BSD.

> 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.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Kempter 2007-11-28 05:18:11 is the default of lowercase enforced on all OS platforms?
Previous Message Scott Ribe 2007-11-28 03:16:43 Re: Linux v.s. Mac OS-X Performance