Skip to content

DM-43139: Refactor FileChannelShared to reduce mutex lock #851

Open
jgates108 wants to merge 4 commits into
mainfrom
tickets/DM-43139
Open

DM-43139: Refactor FileChannelShared to reduce mutex lock #851
jgates108 wants to merge 4 commits into
mainfrom
tickets/DM-43139

Conversation

@jgates108

Copy link
Copy Markdown
Contributor

The only thing I'm concerned about here is that moving the mutex may result in more contention within mariadb as it can be required to hand out more results concurrently. Testing shows about a 20% improvement in dealing with tests/q7688979.1.4k.chunks.sql, but this may not be a great test case. At least moving some of the member variables to local makes it easier to relocate the mutex.

@fritzm fritzm changed the title Tickets/dm 43139 DM-43139: Refactor FileChannelShared to reduce mutex lock May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant