Re: Allowing WAL fsync to be done via O_SYNC

Поиск
Список
Период
Сортировка
От Alfred Perlstein
Тема Re: Allowing WAL fsync to be done via O_SYNC
Дата
Msg-id 20010318120328.L29888@fw.wintelcom.net
обсуждение исходный текст
Ответ на Re: Allowing WAL fsync to be done via O_SYNC  ("William K. Volkman" <wkv@hiscorp.net>)
Ответы Re: Allowing WAL fsync to be done via O_SYNC  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Allowing WAL fsync to be done via O_SYNC  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
* William K. Volkman <wkv@hiscorp.net> [010318 11:56] wrote:
> The Hermit Hacker wrote:
> >> 
> > But, with shared libraries, are you really pulling in a "whole
> > thread-support library"?  My understanding of shared libraries (altho it
> > may be totally off) was that instead of pulling in a whole library, you
> > pulled in the bits that you needed, pretty much as you needed them ...
> 
> Just by making a thread call libc changes personality to use thread
> safe routines (I.E. add mutex locking).  Use one thread feature, get
> the whole set...which may not be that bad.

Actually it can be pretty bad.  Locked bus cycles needed for mutex
operations are very, very expensive, not something you want to do
unless you really really need to do it.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_ctl problem (was Re: BeOS Patch)
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Re: Beta6 for Tomorrow