Alfred Perlstein <[EMAIL PROTECTED]> writes: >> definitely need before considering this is to replace the existing >> spinlock mechanism with something more efficient. > What sort of problems are you seeing with the spinlock code? It's great as long as you never block, but it sucks for making things wait, because the wait interval will be some multiple of 10 msec rather than just the time till the lock comes free. We've speculated about using Posix semaphores instead, on platforms where those are available. I think Bruce was concerned about the possible overhead of pulling in a whole thread-support library just to get semaphores, however. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
- RE: [HACKERS] Allowing WAL fsync to be done via O_SYNC Mikheev, Vadim
- Re: [HACKERS] Allowing WAL fsync to be done via O_... Alfred Perlstein
- Re: [HACKERS] Allowing WAL fsync to be done vi... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be don... Alfred Perlstein
- Re[2]: [HACKERS] Allowing WAL fsync to be ... Xu Yifeng
- Re: Re[2]: [HACKERS] Allowing WAL fsyn... Alfred Perlstein
- Re[4]: [HACKERS] Allowing WAL fsy... Xu Yifeng
- Re: Re[4]: [HACKERS] Allowing... Alfred Perlstein
- Re: Re[4]: [HACKERS] Allowing... Tom Lane
- Re: Re[4]: [HACKERS] Allowing... Alfred Perlstein
- Re: Re[4]: [HACKERS] Allowing... Tom Lane
- Re: Re[4]: [HACKERS] Allowing... The Hermit Hacker
- Re: Re[4]: [HACKERS] Allowing... Larry Rosenman
- Re: Re[4]: [HACKERS] Allowing... Tom Lane
- Re: Re[4]: [HACKERS] Allowing... Bruce Momjian
- Re: Re[4]: [HACKERS] Allowing... Alfred Perlstein
- Re: [HACKERS] Allowing WAL fs... William K. Volkman
- Re: [HACKERS] Allowing WAL fs... Alfred Perlstein
- Re: [HACKERS] Allowing WAL fs... Tom Lane
- Re: [HACKERS] Allowing WAL fs... Larry Rosenman
- Re: [HACKERS] Allowing WAL fs... Alfred Perlstein