Subject Re: [firebird-support] Re: What's the upper limit on LockHashSlots?
Author Ann W. Harrison
Stephen J. Friedl wrote:

>
> This does beg another question: is there anything to be said for
> rebuiling Firebird to increase the hash limit from 2048 to some larger
> 16-bit prime (65521 or 32749)? Looking at the code it looks like it's
> just a matter of editing lock/lock.cpp to increase HASH_MAX_SLOTS.

There's some code in ... in ... in... the configuration code that
checks that parameters are rational. The code was rewritten for
V2.0 and separately rewritten for Vulcan, but the files are all
called config. Each of them has a separate and confusing set of
of conventions that made great sense to the authors.

>
> I'm graphing the mutex wait % in Cacti now, and if this number gets
> above some reasonable percent, it might suggest a recompile with a
> larger number is in order.

Yup. That sounds like a plan.

Regards,


Ann