Re: lazy vxid locks, v1

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: lazy vxid locks, v1
Дата
Msg-id BANLkTi=qdxa-Hhrpf8KKCW3YbZPiv2cTKQ@mail.gmail.com
обсуждение исходный текст
Ответ на lazy vxid locks, v1  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: lazy vxid locks, v1  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Sun, Jun 12, 2011 at 2:39 PM, Robert Haas <robertmhaas@gmail.com> wrote:
...
>
> Profiling reveals that the system spends enormous amounts of CPU time
> in s_lock.  LWLOCK_STATS reveals that the only lwlock with significant
> amounts of blocking is the BufFreelistLock;

This is curious.  Clearly the entire working set fits in RAM, or you
wouldn't be getting number like this.  But does the entire working set
fit in shared_buffers?  If so, you shouldn't see any traffic on
BufFreelistLock once all the data is read in.  I've only seen
contention here when all data fits in OS cache memory but not in
shared_buffers.



Cheers,

Jeff


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Why polecat and colugos are failing to build back branches
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Why polecat and colugos are failing to build back branches