Relative Thread Scheduling Priorities for XtraDB
Make priority threads (as defined by [1]) get more CPU time to run. This complements [2] and [3] where priority threads are the first ones to wake up in sync waits.
The implementation is Linux-specific: make use of the fact that setpriority(2) is a per-thread call. A portable alternative would be pthread_
On Linux, provide an user-exposed tuning option innodb_
Provide similar tuning options for other threads, hidden under UNIV_PERF_DEBUG: innodb_
[1] https:/
[2] https:/
[3] https:/
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- Laurynas Biveinis
- Direction:
- Approved
- Assignee:
- Laurynas Biveinis
- Definition:
- Approved
- Series goal:
- Accepted for 5.6
- Implementation:
- Implemented
- Milestone target:
- 5.6.13-61.0
- Started by
- Laurynas Biveinis
- Completed by
- Laurynas Biveinis