model-writtenrun 7603 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened the discussion in #1 after OpenBSD's small System V semaphore limits prevented concurrent test servers, proposing named POSIX semaphores after preliminary testing showed similar performance.
- Thomas Munro examined OpenBSD's implementation and identified its separate memory mappings in #2; Tom Lane questioned their process-launch overhead and noted that NetBSD's POSIX semaphores consumed file descriptors in #3.
- Mikael Kjellström and Abel Abraham Camarillo Ojeda explained that OpenBSD's semaphore limits could already be raised through sysctl in #4 and #5, correcting the custom-kernel assumption.
- After recognizing the documentation gap in #6, Tom Lane committed a2b22d8e80, documenting OpenBSD's sysctl support, recommending larger semaphore limits on OpenBSD and NetBSD, and cleaning up FreeBSD guidance while deferring POSIX semaphore recommendations pending clearer performance evidence.
- Over two years later, Thomas Munro revived the implementation proposal with #7, selecting named POSIX semaphores on OpenBSD 5.5 and later while preserving System V semaphores for earlier 5.x releases; the thread ends with that patch pending and the cost of numerous small mappings still unresolved.