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
{"report":{"fcp":924.0999999046326,"ttfb":205,"pageVisibility":"visible","entityId":46708,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"66431631-4599-44a3-9238-49e9a4c6c5a3","navigationType":0,"readyForUser":993.2999999523163,"redirectCount":0,"resourceLoadedEnd":635.5,"resourceLoadedStart":209.79999995231628,"resourceTiming":[{"duration":114.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":209.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":324.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":114.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":210.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":325,"responseStart":0,"secureConnectionStart":0},{"duration":313.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":214.59999990463257,"connectEnd":214.59999990463257,"connectStart":214.59999990463257,"domainLookupEnd":214.59999990463257,"domainLookupStart":214.59999990463257,"fetchStart":214.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":328.40000009536743,"responseEnd":528.5,"responseStart":351.2999999523163,"secureConnectionStart":214.59999990463257},{"duration":420.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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":214.90000009536743,"connectEnd":214.90000009536743,"connectStart":214.90000009536743,"domainLookupEnd":214.90000009536743,"domainLookupStart":214.90000009536743,"fetchStart":214.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":330.2000000476837,"responseEnd":635.5,"responseStart":354.2999999523163,"secureConnectionStart":214.90000009536743},{"duration":143.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":215,"connectEnd":215,"connectStart":215,"domainLookupEnd":215,"domainLookupStart":215,"fetchStart":215,"redirectEnd":0,"redirectStart":0,"requestStart":330.2999999523163,"responseEnd":358.40000009536743,"responseStart":356.2000000476837,"secureConnectionStart":215},{"duration":143.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":215.09999990463257,"connectEnd":215.09999990463257,"connectStart":215.09999990463257,"domainLookupEnd":215.09999990463257,"domainLookupStart":215.09999990463257,"fetchStart":215.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":331.59999990463257,"responseEnd":358.7000000476837,"responseStart":356.7999999523163,"secureConnectionStart":215.09999990463257},{"duration":146.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":215.20000004768372,"connectEnd":215.20000004768372,"connectStart":215.20000004768372,"domainLookupEnd":215.20000004768372,"domainLookupStart":215.20000004768372,"fetchStart":215.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":333.2000000476837,"responseEnd":361.59999990463257,"responseStart":359.09999990463257,"secureConnectionStart":215.20000004768372},{"duration":115.79999995231628,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":215.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":215.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":331.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":264.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":215.40000009536743,"connectEnd":215.40000009536743,"connectStart":215.40000009536743,"domainLookupEnd":215.40000009536743,"domainLookupStart":215.40000009536743,"fetchStart":215.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":334.7999999523163,"responseEnd":480.2999999523163,"responseStart":478.7000000476837,"secureConnectionStart":215.40000009536743},{"duration":116.90000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":215.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":215.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":332.5,"responseStart":0,"secureConnectionStart":0},{"duration":155.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":215.70000004768372,"connectEnd":215.70000004768372,"connectStart":215.70000004768372,"domainLookupEnd":215.70000004768372,"domainLookupStart":215.70000004768372,"fetchStart":215.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":336.09999990463257,"responseEnd":371.59999990463257,"responseStart":359.7000000476837,"secureConnectionStart":215.70000004768372},{"duration":379.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":217.59999990463257,"connectEnd":217.59999990463257,"connectStart":217.59999990463257,"domainLookupEnd":217.59999990463257,"domainLookupStart":217.59999990463257,"fetchStart":217.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":403.59999990463257,"responseEnd":597.2000000476837,"responseStart":593.5,"secureConnectionStart":217.59999990463257},{"duration":386.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":217.70000004768372,"connectEnd":217.70000004768372,"connectStart":217.70000004768372,"domainLookupEnd":217.70000004768372,"domainLookupStart":217.70000004768372,"fetchStart":217.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":462.09999990463257,"responseEnd":603.9000000953674,"responseStart":599,"secureConnectionStart":217.70000004768372},{"duration":166,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":678.5,"connectEnd":678.5,"connectStart":678.5,"domainLookupEnd":678.5,"domainLookupStart":678.5,"fetchStart":678.5,"redirectEnd":0,"redirectStart":0,"requestStart":815.4000000953674,"responseEnd":844.5,"responseStart":842.9000000953674,"secureConnectionStart":678.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":65,"responseStart":205,"responseEnd":217,"domLoading":208,"domInteractive":1080,"domContentLoadedEventStart":1080,"domContentLoadedEventEnd":1121,"domComplete":1860,"loadEventStart":1860,"loadEventEnd":1861,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1062},{"name":"bigPipe.sidebar-id.end","time":1062.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1062.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1065.4000000953674},{"name":"activityTabFullyLoaded","time":1127.2999999523163}],"measures":[],"correlationId":"74bd1a53f45baa","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":74,"dbReadsTimeInMs":10,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}