Subject | Re: High "Mutex wait" value, after increase in "Hash Slots" to 90001 |
---|---|
Author | Dmitry Yemanov |
Post date | 2017-03-11T10:49:31Z |
10.03.2017 23:58, 'Leyne, Sean' wrote:
would truncate your 90001 down to 65521.
change that setting.
explained by e.g. printing the stats at 3PM and 5PM. And we don't know
what was the mutex wait ratio before they reported the performance issues.
Dmitry
>Is it really so? FB does not support LockHashSlots more than 64K, it
> We have a client with 320GB database (running FB CS v2.5)
would truncate your 90001 down to 65521.
> Yesterday, I ran fb_lock_print to check on the database and found aThese value are not directly related. Most probably, you didn't need to
> “Mutex wait” value of 20.9%, which I knew that a “bad thing”. So, I
> increased (by 50%) the “Hash slots” value from 60011 to 90001.
change that setting.
> Now, today, I checked the lock print values again, and got even worseThe change didn't help, the reason is elsewhere. 21% vs 23% could be
> numbers!!!
explained by e.g. printing the stats at 3PM and 5PM. And we don't know
what was the mutex wait ratio before they reported the performance issues.
> Hash slots: 90001, Hash lengths (min/avg/max): 0/Hash stats looks good.
> 0/ 5
> Owners (288): forward: 732776, backward: 29775680688 peak connections. Is this expected? Could the load be growing recently?
> Free owners (400): forward: 9817904, backward: 9548560
> Any suggestions on how I can improve the numbers?Nothing based on this lock print.
Dmitry