[ZBX-6683] A lot of locks for strpool while gettings info this cache Created: 2013 Jun 10 Updated: 2017 May 30 Resolved: 2013 Jun 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 2.0.7rc1, 2.1.0 |
Fix Version/s: | 2.0.7rc1, 2.1.0 |
Type: | Incident report | Priority: | Major |
Reporter: | Alexey Pustovalov | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | performance | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
In each function from strpool.c we lock cache before any actions. It is not required, because cache is locked already before actions with strpool |
Comments |
Comment by Alexander Vladishev [ 2013 Jun 10 ] | ||||||||||||
Available in the development branch svn://svn.zabbix.com/branches/dev/ZBX-6683. The fix affects first configuration cache update or if we have large configuration changes. Test results (10004 hosts; 469672 items; 180841 triggers):
| ||||||||||||
Comment by Andris Zeila [ 2013 Jun 18 ] | ||||||||||||
Successfully tested | ||||||||||||
Comment by Alexey Pustovalov [ 2013 Jun 28 ] | ||||||||||||
(1) whatsnew because for some users it is a great improvement. Another test: -without the patch: sasha updated documentation: martins-v Reviewed, with minor improvements. CLOSED. | ||||||||||||
Comment by Alexander Vladishev [ 2013 Jul 01 ] | ||||||||||||
Available in versions pre-2.0.7 r36617 and pre-2.1.0 (trunk) r36618. | ||||||||||||
Comment by richlv [ 2013 Jul 01 ] | ||||||||||||
as per dotneft's comment (1), reopening |