ARM64/dts: sdmmagpie: Implement RHEL's Low Latency Kernel cmdline

nosoftlockup - disables logging of backtraces when a process executes on a CPU for
longer than the softlockup threshold (default 120 seconds). Typical low-latency
programming and tuning techniques might involve spinning on a core or modifying
scheduler priorities/policies, which can lead to a task reaching this threshold. If a task
has not relinquished the CPU for 120 seconds, the kernel prints a backtrace for
diagnostic purposes. Adding nosoftlockup to the cmdline disables the printing of this
backtrace (the printk itself can cause latency spikes), and does not in itself reduce
latency. Tasks that spin on a CPU must occasionally yield (especially if they are
SCHED_FIFO priority), or important per-cpu kernel threads may never execute,
potentially leading to unexpected behavior such as very large latency spikes or
interruptions in network traffic.

mce=ignore_ce - ignores corrected errors and associated scans that can cause
periodic latency spikes.

Documentation: https://access.redhat.com/sites/default/files/attachments/201501-perf-brief-low-latency-tuning-rhel7-v1.1.pdf

Change-Id: Ieaedb58d018ddb85ec46e8fe69729596993aabf1
Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Panchajanya1999 2021-01-25 20:09:23 +05:30 committed by Richard Raya
parent ff49d01dca
commit 1ef4a2c265

View File

@ -458,7 +458,7 @@
};
chosen {
bootargs = "rcupdate.rcu_expedited=1 rcupdate.rcu_normal_after_boot=1 rcu_nocbs=0-7 kpti=off noirqdebug mitigations=off";
bootargs = "rcupdate.rcu_expedited=1 rcupdate.rcu_normal_after_boot=1 rcu_nocbs=0-7 kpti=off noirqdebug mitigations=off nosoftlockup mce=ignore_ce";
rng-seed = <0x12345678>;
};