Re: BG writer question?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BG writer question?
Дата
Msg-id 20050811164305.GB20172@alvh.no-ip.org
обсуждение исходный текст
Ответ на BG writer question?  (Alan Stange <stange@rentec.com>)
Список pgsql-performance
On Thu, Aug 11, 2005 at 11:25:27AM -0400, Alan Stange wrote:

> why mmap and munmap each time?    mmap and munmap are fairly expensive
> operations (on some systems), especially on multi cpu machines.  munmap
> in particular generally needs to issue cross calls to the other cpus to
> ensure any page mappings are invalidated.

There are no mmap/munmap calls in our code.  The problematic code is
probably somewhere in the libc.  Maybe it'd be useful to figure out
where it's called and why, with an eye on working around that.

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"I love the Postgres community. It's all about doing things _properly_. :-)"
(David Garamond)

В списке pgsql-performance по дате отправления:

Предыдущее
От: Dan Harris
Дата:
Сообщение: Re: Speedier count(*)
Следующее
От: "Jeffrey W. Baker"
Дата:
Сообщение: Re: [SPAM?] Re: PG8 Tuning