Some mmap observations compared to Linux 2.6/OpenBSD
des at des.no
Sun Oct 26 03:06:55 PST 2003
David Schultz <das at 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.
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).
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers