Disable proactive compation

I see a lot of kcompactd0 entries in sched_switch log, so disable it for
now.
This commit is contained in:
Rodrigo Arias 2024-07-05 15:57:18 +02:00
parent 32f4d117db
commit 7e6fdff142

View File

@ -89,6 +89,11 @@
sh -c 'hb=0; while [ 1 ]; do let hb=$hb+1; devmem 0x1bfff0000 32 $hb; done' & sh -c 'hb=0; while [ 1 ]; do let hb=$hb+1; devmem 0x1bfff0000 32 $hb; done' &
'' ''
+ +
# Disable proactive compaction. May be better to disable CONFIG_COMPACTION.
''
echo 0 > /proc/sys/vm/compaction_proactiveness
''
+
# Exclude the second pid, which is the kthread that will dump the trace to # Exclude the second pid, which is the kthread that will dump the trace to
# the console, otherwise we live lock the kernel. Then enable the # the console, otherwise we live lock the kernel. Then enable the
# sched_switch events. # sched_switch events.