[MDEV-26935] Improve MDL to be scalable with many thousands OS threads Created: 2021-10-29  Updated: 2023-10-30

Status: Open
Project: MariaDB Server
Component/s: Locking
Fix Version/s: 11.5

Type: Task Priority: Major
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-26873 Partial server hang when using many t... Closed

 Description   

In MDEV-26873, a high contention workload is run with 10K concurrent users using default --thread-handling=one-thread-per-connection. The throughput is very low, and the main bottleneck is find_deadlock() by the MDL.

it does much better with pool-of-threads, even with thread-pool-max-threads=1000, but one can argue that fixing/relaxing this bottleneck could be important.


Generated at Thu Feb 08 09:49:04 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.