diff --git a/lagarto-ox.nix b/lagarto-ox.nix index dfd4f44..f8f8a65 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -89,6 +89,11 @@ 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 # the console, otherwise we live lock the kernel. Then enable the # sched_switch events.