http://bugs.mysql.com/bug.php?id=72123
lock_timeout thread works in a tight loop waking up every second
and checking for lock_wait_timeout. In addition, when a mysql
thread is forced to wait on a lock, it signals the lock_timeout thread
as well. This call is not required. In a heavily contended workload
each thread going to wait will signal the lock_timeout thread making
it work all the time. As lock_timeout thread scans the array of
waiting threads under lock_sys::wait_mutex which is already very
hot in contneded loads, these extra scans can cause significanct
performance regression.
Also, in various codepaths lock_timeout thread is signalled where
actual intention was to signal the innodb monitor thread.
- is part of
-
MDEV-6039
WebScaleSQL patches
-
-
Closed
Transition |
Time In Source Status |
Execution Times |
Open |
|
In Progress |
|
1h 17m
|
1
|
In Progress |
|
Closed |
|
50m 10s
|
1
|
{"report":{"fcp":1017.9000005722046,"ttfb":402.9000005722046,"pageVisibility":"visible","entityId":46708,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"046f054f-422d-425f-b30d-157ec58be251","navigationType":0,"readyForUser":1121.1000003814697,"redirectCount":0,"resourceLoadedEnd":745.4000005722046,"resourceLoadedStart":410.20000076293945,"resourceTiming":[{"duration":43.89999961853027,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":410.20000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":410.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":454.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":43.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":410.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":410.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":454.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":216.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/b09d0d077992e4331b5f9ec0d3ec448c-CDN/lu2bsh/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":410.6000003814697,"connectEnd":410.6000003814697,"connectStart":410.6000003814697,"domainLookupEnd":410.6000003814697,"domainLookupStart":410.6000003814697,"fetchStart":410.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":457.20000076293945,"responseEnd":627.3000001907349,"responseStart":468.20000076293945,"secureConnectionStart":410.6000003814697},{"duration":334.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/b47ab3df14096803b180217eb8482517-CDN/lu2bsh/820016/12ta74/eb142f92e4bd16bd1ef8b08c1b9d5d56/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":410.70000076293945,"connectEnd":410.70000076293945,"connectStart":410.70000076293945,"domainLookupEnd":410.70000076293945,"domainLookupStart":410.70000076293945,"fetchStart":410.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":457.6000003814697,"responseEnd":745.4000005722046,"responseStart":476.5,"secureConnectionStart":410.70000076293945},{"duration":65.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/6c569cbf8087ab04e40d0bef98627457-CDN/lu2bsh/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":410.80000019073486,"connectEnd":410.80000019073486,"connectStart":410.80000019073486,"domainLookupEnd":410.80000019073486,"domainLookupStart":410.80000019073486,"fetchStart":410.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":458.30000019073486,"responseEnd":476,"responseStart":474.30000019073486,"secureConnectionStart":410.80000019073486},{"duration":70,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":410.9000005722046,"connectEnd":410.9000005722046,"connectStart":410.9000005722046,"domainLookupEnd":410.9000005722046,"domainLookupStart":410.9000005722046,"fetchStart":410.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":459.5,"responseEnd":480.9000005722046,"responseStart":479.6000003814697,"secureConnectionStart":410.9000005722046},{"duration":69.89999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":413.4000005722046,"connectEnd":413.4000005722046,"connectStart":413.4000005722046,"domainLookupEnd":413.4000005722046,"domainLookupStart":413.4000005722046,"fetchStart":413.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":460.4000005722046,"responseEnd":483.30000019073486,"responseStart":481.1000003814697,"secureConnectionStart":413.4000005722046},{"duration":46,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bsh/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":413.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":413.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":459.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":70.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":413.6000003814697,"connectEnd":413.6000003814697,"connectStart":413.6000003814697,"domainLookupEnd":413.6000003814697,"domainLookupStart":413.6000003814697,"fetchStart":413.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":461.70000076293945,"responseEnd":483.80000019073486,"responseStart":481.9000005722046,"secureConnectionStart":413.6000003814697},{"duration":47.79999923706055,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bsh/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":413.70000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":413.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":461.5,"responseStart":0,"secureConnectionStart":0},{"duration":72.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/81b5d7c27af3ebc078cc4a36383678ba-CDN/lu2bsh/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":413.9000005722046,"connectEnd":413.9000005722046,"connectStart":413.9000005722046,"domainLookupEnd":413.9000005722046,"domainLookupStart":413.9000005722046,"fetchStart":413.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":463.5,"responseEnd":486.4000005722046,"responseStart":484,"secureConnectionStart":413.9000005722046},{"duration":309.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":414.6000003814697,"connectEnd":414.6000003814697,"connectStart":414.6000003814697,"domainLookupEnd":414.6000003814697,"domainLookupStart":414.6000003814697,"fetchStart":414.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":535.3000001907349,"responseEnd":724.5,"responseStart":715.7000007629395,"secureConnectionStart":414.6000003814697},{"duration":310,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bsh/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":414.70000076293945,"connectEnd":414.70000076293945,"connectStart":414.70000076293945,"domainLookupEnd":414.70000076293945,"domainLookupStart":414.70000076293945,"fetchStart":414.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":574.2000007629395,"responseEnd":724.7000007629395,"responseStart":716.7000007629395,"secureConnectionStart":414.70000076293945},{"duration":78.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":776.6000003814697,"connectEnd":776.6000003814697,"connectStart":776.6000003814697,"domainLookupEnd":776.6000003814697,"domainLookupStart":776.6000003814697,"fetchStart":776.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":821.8000001907349,"responseEnd":855.4000005722046,"responseStart":854.6000003814697,"secureConnectionStart":776.6000003814697}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":256,"responseStart":403,"responseEnd":410,"domLoading":406,"domInteractive":1172,"domContentLoadedEventStart":1172,"domContentLoadedEventEnd":1215,"domComplete":1986,"loadEventStart":1986,"loadEventEnd":1986,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1154.7000007629395},{"name":"bigPipe.sidebar-id.end","time":1155.4000005722046},{"name":"bigPipe.activity-panel-pipe-id.start","time":1155.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1156.5},{"name":"activityTabFullyLoaded","time":1229.8000001907349}],"measures":[],"correlationId":"93fdfd407850a8","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":74,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}