Skip to content

MGL-60 Prioritize replicator and applier threads for CPU#525

Open
plampio wants to merge 1 commit into11.4from
11.4_MGL-60
Open

MGL-60 Prioritize replicator and applier threads for CPU#525
plampio wants to merge 1 commit into11.4from
11.4_MGL-60

Conversation

@plampio
Copy link
Copy Markdown

@plampio plampio commented Sep 15, 2025

This patch adds a mechanism for setting the priority of WSREP applier and rollbacker threads via a new dynamic system variable "wsrep_applier_priority".

By default, the priority and scheduling policy are set to 0 and "other", respectively. This is encoded by the string "other:0" in the "wsrep_applier_priority" variable. The other scheduling policies are "rr" and "fifo". See sched(7) for details.

This patch adds a mechanism for setting the priority of WSREP applier
and rollbacker threads via a new dynamic system variable
"wsrep_applier_priority".

By default, the priority and scheduling policy are set to 0 and
"other", respectively. This is encoded by the string "other:0" in the
"wsrep_applier_priority" variable. The other scheduling policies are
"rr" and "fifo". See sched(7) for details.
@plampio plampio requested review from sjaakola and temeo September 15, 2025 08:49
@plampio plampio self-assigned this Sep 15, 2025
Copy link
Copy Markdown

@janlindstrom janlindstrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some test failures to be fixed.

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.

2 participants