Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2003 12:06:49 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Mike Silbersack <silby@silby.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Some mmap observations compared to Linux 2.6/OpenBSD
Message-ID:  <xzp7k2sb6ly.fsf@dwp.des.no>
In-Reply-To: <20031026065621.GA21546@VARK.homeunix.com> (David Schultz's message of "Sat, 25 Oct 2003 23:56:21 -0700")
References:  <1066789354.21430.39.camel@boxster.onthenet.com.au> <20031022082953.GA69506@rot13.obsecurity.org> <1066816287.25609.34.camel@boxster.onthenet.com.au> <20031022095754.GA70026@rot13.obsecurity.org> <1066820436.25609.93.camel@boxster.onthenet.com.au> <xzpk76sc425.fsf@dwp.des.no> <20031026052854.GA20701@VARK.homeunix.com> <20031026005938.L2023@odysseus.silby.com> <20031026065621.GA21546@VARK.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David Schultz <das@FreeBSD.ORG> writes:
> I'm not particularly ``familiar'' with postgres, but I did some
> performance tests on it a little while ago.  Grepping through one
> of the traces just now, I found that database system made 139
> calls to mmap(), and the maximum number of regions mapped at any
> given time was 39.[1]

PostgreSQL doesn't mmap its data.  The mmap() calls you saw were from
malloc().  The only place PostgreSQL calls mmap() directly is for IPC
in the QNX port (because QNX apparently doesn't have SysV IPC).

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp7k2sb6ly.fsf>