Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.5 , 10.6 , 10.11 , 11.0(EOL) , 11.1(EOL) , 11.2(EOL) , 11.3(EOL)
A customer who uses remarkably large innodb_buffer_pool_size noted that there are some performance stalls when the buffer pool is running out of free pages.
In a scenario where background flushing is not enabled (innodb_max_dirty_pages_pct_lwm is not being exceeded in the buffer pool, or it is 0 and innodb_max_dirty_pages_pct is not being exceeded), the buf_flush_page_cleaner() thread could sit idle while pages in the buffer pool are slowly running out.
It could make sense to wake up the buf_flush_page_cleaner() thread in buf_LRU_get_free_block() when buf_pool.page_cleaner_idle() holds and there are fewer than innodb_lru_scan_depth blocks available.
If there are fewer than innodb_lru_scan_depth/2 blocks available in the buffer pool and the page cleaner is not idle but being invoked once per second, it would make sense to wake up the page cleaner from its sleep immediately. LRU eviction flushing should ignore the innodb_io_capacity throttling, because running out of buffer pool will risk blocking all operations in the database.
{"report":{"fcp":1168.7999999523163,"ttfb":410.7999999523163,"pageVisibility":"visible","entityId":126968,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"304f0cbf-c514-42ce-bf19-6a427c7571bd","navigationType":0,"readyForUser":1225,"redirectCount":0,"resourceLoadedEnd":1472,"resourceLoadedStart":418,"resourceTiming":[{"duration":322,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":418,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":418,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":740,"responseStart":0,"secureConnectionStart":0},{"duration":321.7999999523163,"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":418.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":418.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":740,"responseStart":0,"secureConnectionStart":0},{"duration":331.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":418.2999999523163,"connectEnd":418.2999999523163,"connectStart":418.2999999523163,"domainLookupEnd":418.2999999523163,"domainLookupStart":418.2999999523163,"fetchStart":418.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":418.2999999523163,"responseEnd":749.5,"responseStart":749.5,"secureConnectionStart":418.2999999523163},{"duration":355.7999999523163,"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":418.40000009536743,"connectEnd":418.40000009536743,"connectStart":418.40000009536743,"domainLookupEnd":418.40000009536743,"domainLookupStart":418.40000009536743,"fetchStart":418.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":418.40000009536743,"responseEnd":774.2000000476837,"responseStart":774.2000000476837,"secureConnectionStart":418.40000009536743},{"duration":359.60000014305115,"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":418.5,"connectEnd":418.5,"connectStart":418.5,"domainLookupEnd":418.5,"domainLookupStart":418.5,"fetchStart":418.5,"redirectEnd":0,"redirectStart":0,"requestStart":418.5,"responseEnd":778.1000001430511,"responseStart":778.1000001430511,"secureConnectionStart":418.5},{"duration":360,"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":418.60000014305115,"connectEnd":418.60000014305115,"connectStart":418.60000014305115,"domainLookupEnd":418.60000014305115,"domainLookupStart":418.60000014305115,"fetchStart":418.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":418.60000014305115,"responseEnd":778.6000001430511,"responseStart":778.6000001430511,"secureConnectionStart":418.60000014305115},{"duration":360.2999999523163,"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":418.7000000476837,"connectEnd":418.7000000476837,"connectStart":418.7000000476837,"domainLookupEnd":418.7000000476837,"domainLookupStart":418.7000000476837,"fetchStart":418.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":418.7000000476837,"responseEnd":779,"responseStart":779,"secureConnectionStart":418.7000000476837},{"duration":360.7000000476837,"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":418.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":418.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":779.5,"responseStart":0,"secureConnectionStart":0},{"duration":360.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":418.90000009536743,"connectEnd":418.90000009536743,"connectStart":418.90000009536743,"domainLookupEnd":418.90000009536743,"domainLookupStart":418.90000009536743,"fetchStart":418.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":418.90000009536743,"responseEnd":779.5,"responseStart":779.5,"secureConnectionStart":418.90000009536743},{"duration":360.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":419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":779.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":360.7999999523163,"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":419.2000000476837,"connectEnd":419.2000000476837,"connectStart":419.2000000476837,"domainLookupEnd":419.2000000476837,"domainLookupStart":419.2000000476837,"fetchStart":419.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":419.2000000476837,"responseEnd":780,"responseStart":780,"secureConnectionStart":419.2000000476837},{"duration":557.5999999046326,"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":420.10000014305115,"connectEnd":420.10000014305115,"connectStart":420.10000014305115,"domainLookupEnd":420.10000014305115,"domainLookupStart":420.10000014305115,"fetchStart":420.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":420.10000014305115,"responseEnd":977.7000000476837,"responseStart":977.7000000476837,"secureConnectionStart":420.10000014305115},{"duration":1051.7999999523163,"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":420.2000000476837,"connectEnd":420.2000000476837,"connectStart":420.2000000476837,"domainLookupEnd":420.2000000476837,"domainLookupStart":420.2000000476837,"fetchStart":420.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":420.2000000476837,"responseEnd":1472,"responseStart":1472,"secureConnectionStart":420.2000000476837},{"duration":400.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":977.2000000476837,"connectEnd":977.2000000476837,"connectStart":977.2000000476837,"domainLookupEnd":977.2000000476837,"domainLookupStart":977.2000000476837,"fetchStart":977.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":977.2000000476837,"responseEnd":1377.7999999523163,"responseStart":1377.7999999523163,"secureConnectionStart":977.2000000476837},{"duration":331.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1148.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1148.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1479.7000000476837,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":113,"responseStart":411,"responseEnd":415,"domLoading":416,"domInteractive":1493,"domContentLoadedEventStart":1493,"domContentLoadedEventEnd":1527,"domComplete":2280,"loadEventStart":2280,"loadEventEnd":2282,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1474},{"name":"bigPipe.sidebar-id.end","time":1474.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":1474.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1477.2000000476837},{"name":"activityTabFullyLoaded","time":1533.2000000476837}],"measures":[],"correlationId":"6cd03c4326b4aa","effectiveType":"4g","downlink":9,"rtt":0,"serverDuration":114,"dbReadsTimeInMs":19,"dbConnsTimeInMs":28,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}