[tuned] #47: Create new plugin for process scheduling/priority tuning
by fedora-badges
#47: Create new plugin for process scheduling/priority tuning
--------------------------+--------------------
Reporter: jeder | Owner:
Type: enhancement | Status: new
Priority: major | Component: daemon
Version: 2.0 | Keywords:
Blocked By: | Blocking:
--------------------------+--------------------
We have an init-based service now that, upon boot, applies some scheduler
tuning to regexes matching threads.
Below is an example:
# Format is: <groupname>:<sched>:<prio>:affinity:<regex>
kthreads:*:1:*:\[.*\]$
watchdog:f:99:*:\[watchdog.*\]
migration:f:99:*:\[migration\/.*\]
softirq:f:70:*:\[.*(softirq|sirq).*\]
softirq-net-tx:f:75:*:\[(softirq|sirq)-net-tx.*\]
softirq-net-rx:f:75:*:\[(softirq|sirq)-net-rx.*\]
softirq-sched:f:1:*:\[(softirq|sirq)-sched\/.*\]
rpciod:f:65:*:\[rpciod.*\]
lockd:f:65:*:\[lockd.*\]
nfsd:f:65:*:\[nfsd.*\]
hardirq:f:85:*:\[(irq|IRQ)[\-_/].*\]
We would like to move this functionality from the init system to a tuned
profile, but it doesn't seem possible with the current tuned
capabilities/plugins.
In addition to one-shot tuning during profile load, there is also a use-
case for monitoring new processes that are created, and applying this
tuning.
This could be a watchdog/scanning behavior in tuned daemon (not preferred
because it creates background noise), or something more clever using perf
events or even LD_PRELOAD of exec function call.
--
Ticket URL: <https://fedorahosted.org/tuned/ticket/47>
tuned <https://fedorahosted.org/tuned/>
A daemon that performs monitoring and adaptive configuration of devices in the system.
9 years, 5 months