For MDEV-25113, one of the suggested fixes was to speed up buf_LRU_get_free_block() by making it wake up every time a buffer pool block is released to the buf_pool.free list.
At low thread counts, this patch would work as expected, improving throughput and greatly reducing the maximum latency, say, from 30 seconds to some milliseconds, when having 4GiB of data, 4GiB log and 1GiB buffer pool, running on NVMe. This was observed on both 10.5 and 10.6.
Alas, on my Debian Sid system (Linux 5.10.0), it would cause an extreme regression at 1000 concurrent clients, both reducing the throughput and increasing the latency. That problem needs to be repeated, understood and resolved before we can apply this performance improvement.
Transition |
Time In Source Status |
Execution Times |
Open |
|
In Progress |
|
38m 12s
|
1
|
In Progress |
|
Closed |
|
15h 3m
|
1
|
{"report":{"fcp":1127.0999999046326,"ttfb":289.89999985694885,"pageVisibility":"visible","entityId":100760,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"30ff370f-8ce5-4eb6-ab78-088c1444f3b0","navigationType":0,"readyForUser":1243.7999999523163,"redirectCount":0,"resourceLoadedEnd":1078.7999999523163,"resourceLoadedStart":295,"resourceTiming":[{"duration":315.89999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":295,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":295,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":610.8999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":320.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":295.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":295.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":615.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":324.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":295.5,"connectEnd":295.5,"connectStart":295.5,"domainLookupEnd":295.5,"domainLookupStart":295.5,"fetchStart":295.5,"redirectEnd":0,"redirectStart":0,"requestStart":295.5,"responseEnd":620.1999998092651,"responseStart":620.1999998092651,"secureConnectionStart":295.5},{"duration":405,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":295.69999980926514,"connectEnd":295.69999980926514,"connectStart":295.69999980926514,"domainLookupEnd":295.69999980926514,"domainLookupStart":295.69999980926514,"fetchStart":295.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":295.69999980926514,"responseEnd":700.6999998092651,"responseStart":700.6999998092651,"secureConnectionStart":295.69999980926514},{"duration":408.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":295.89999985694885,"connectEnd":295.89999985694885,"connectStart":295.89999985694885,"domainLookupEnd":295.89999985694885,"domainLookupStart":295.89999985694885,"fetchStart":295.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":295.89999985694885,"responseEnd":704.5,"responseStart":704.5,"secureConnectionStart":295.89999985694885},{"duration":408.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":296.19999980926514,"connectEnd":296.19999980926514,"connectStart":296.19999980926514,"domainLookupEnd":296.19999980926514,"domainLookupStart":296.19999980926514,"fetchStart":296.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":296.19999980926514,"responseEnd":705,"responseStart":705,"secureConnectionStart":296.19999980926514},{"duration":408.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":296.39999985694885,"connectEnd":296.39999985694885,"connectStart":296.39999985694885,"domainLookupEnd":296.39999985694885,"domainLookupStart":296.39999985694885,"fetchStart":296.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":296.39999985694885,"responseEnd":705.2999999523163,"responseStart":705.2999999523163,"secureConnectionStart":296.39999985694885},{"duration":487.2999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":296.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":296.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":783.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":409.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":296.69999980926514,"connectEnd":296.69999980926514,"connectStart":296.69999980926514,"domainLookupEnd":296.69999980926514,"domainLookupStart":296.69999980926514,"fetchStart":296.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":296.69999980926514,"responseEnd":705.8999998569489,"responseStart":705.8999998569489,"secureConnectionStart":296.69999980926514},{"duration":487.10000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":296.89999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":296.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":784,"responseStart":0,"secureConnectionStart":0},{"duration":409.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":297,"connectEnd":297,"connectStart":297,"domainLookupEnd":297,"domainLookupStart":297,"fetchStart":297,"redirectEnd":0,"redirectStart":0,"requestStart":297,"responseEnd":706.5999999046326,"responseStart":706.5999999046326,"secureConnectionStart":297},{"duration":524.3999998569489,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":302.7999999523163,"connectEnd":302.7999999523163,"connectStart":302.7999999523163,"domainLookupEnd":302.7999999523163,"domainLookupStart":302.7999999523163,"fetchStart":302.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":302.7999999523163,"responseEnd":827.1999998092651,"responseStart":827.1999998092651,"secureConnectionStart":302.7999999523163},{"duration":610.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":302.7999999523163,"connectEnd":302.7999999523163,"connectStart":302.7999999523163,"domainLookupEnd":302.7999999523163,"domainLookupStart":302.7999999523163,"fetchStart":302.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":302.7999999523163,"responseEnd":913.3999998569489,"responseStart":913.3999998569489,"secureConnectionStart":302.7999999523163},{"duration":30.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":807,"connectEnd":807,"connectStart":807,"domainLookupEnd":807,"domainLookupStart":807,"fetchStart":807,"redirectEnd":0,"redirectStart":0,"requestStart":807,"responseEnd":837.5999999046326,"responseStart":837.5999999046326,"secureConnectionStart":807},{"duration":232.70000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":846.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":846.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1078.7999999523163,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":135,"responseStart":289,"responseEnd":300,"domLoading":293,"domInteractive":1309,"domContentLoadedEventStart":1310,"domContentLoadedEventEnd":1372,"domComplete":1997,"loadEventStart":1997,"loadEventEnd":1998,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1286.6999998092651},{"name":"bigPipe.sidebar-id.end","time":1287.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1287.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1288.7999999523163},{"name":"activityTabFullyLoaded","time":1388.7999999523163}],"measures":[],"correlationId":"58b30a76aac5d","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":18,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}