[MDEV-19167] Add stall-related status variables to thread pool Created: 2019-04-04 Updated: 2019-05-21 Resolved: 2019-05-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Variables |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Vladislav Vaintroub |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
It might make sense to add some stall-related status variables to the Unix implementation of the thread pool. Maybe like:
This could get incremented if the timer thread detects a stall. Around here:
This could get incremented if the timer thread does not create a new worker thread when a stall is detected because the thread group was still within the throttling interval. Around here:
This could get incremented every time a thread has to go to sleep because the thread group already has thread_pool_oversubscribe active threads. Around here: |
| Comments |
| Comment by Vladislav Vaintroub [ 2019-04-08 ] |
|
Throttles, or thread creations, or wakeups, do not always happen because of stall.
|
| Comment by Vladislav Vaintroub [ 2019-05-10 ] |
|
GeoffMontee , can we maybe close it in favor of more solid |
| Comment by Geoff Montee (Inactive) [ 2019-05-10 ] |
|
Sure, the idea in |