Subject | Re: [firebird-support] Re: What's the upper limit on LockHashSlots? |
---|---|
Author | Ann W. Harrison |
Post date | 2007-01-04T20:03:56Z |
Stephen J. Friedl wrote:
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.
Regards,
Ann
>There's some code in ... in ... in... the configuration code that
> 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.
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.
>Yup. That sounds like a plan.
> 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.
Regards,
Ann