Has anyone given any thought to replacing lock manager semaphores with
interlocked compare-and-swap based synchronization objects? Gcc and
Visual Studio each support interlocked CAS as intrinsics, so the
semantics if not the syntax are portable. CAS plus Linux futexes are
less troublesome than System V semaphones and vast more efficient than
pthread mutexes, though portability to non-Linux systems is certainly a
problem.
On 9/15/2014 12:08 PM, marius adrian popa wrote:
It seems that in 9.x and 10 they did increase
http://fxr.watson.org/fxr/source/kern/sysv_sem.c?v=FREEBSD10
define SEMMNS 340
vs 60 in freebsd 82
ps: can we switch to posix semaphores ? (I saw that you started the
work for it on android port) , this is what i see they use in high
performance benchmarks
http://lists.freebsd.org/pipermail/freebsd-performance/2014-June/004797.html
On Mon, Sep 15, 2014 at 3:23 PM, Alex Peshkoff <[email protected]
<mailto:[email protected]>> wrote:
On 09/14/14 19:06, marius adrian popa wrote:
> This patch
>
https://github.com/freebsd/freebsd-ports/blob/master/databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp
I.e. they did increase the default number of semaphores?
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
Firebird-Devel
<http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk%0AFirebird-Devel>
mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel