-
Notifications
You must be signed in to change notification settings - Fork 336
toplev tunables
toplev has some internal tunables to tune the group scheduler and some other options. These can be overridden with the (undocumented) --tune option.
Normal operation should not need to change any of this, but it can be useful to get different grouping for special purposes.
Change with --tune 'var = Value'
Disable merging of unrelated groups. Default True. In theory it's better to have smaller groups that could run in parallel with other users to increase the time share of specific groups. However the Linux perf scheduler isn't very good at dynamically figuring out those cases, so larger groups give it less trouble.
One Icelake+ with the fixed counter metrics avoid any conflicts between the fixed metrics group and other groups. This requires using an extra generic counter to get 'slots' in the other groups. In theory this should allow running the fixed metrics group in parallel with everything else, but right now the perf scheduler doesn't do this unfortunately.
Default 1. How many levels to extend suggestions or automatic drill down on each step.
Default 0.05. If siblings are within this threshold they are considered ambiguous for the bottleneck detection.
Default False, True with --no-multiplex. Interleave uncore events between all groups instead of clustering them near their native position.
Default True. Force metrics events into their own group.
Default: 3 Maximum number of limited to counter 0-3 events per group. Normally this should be 4, but 3 is safer due to the nmi watchdog or kernel issues. 4 might reduce multiplexing.
Force CPU type (e.g. skl). Also --force-cpu
Force number of generic counters
Force SMT mode
Force hypervisor mode (also --force-hypervisor)
Read cpu information from file instead of /proc/cpuinfo. Also --force-cpuinfo
Read sysfs topology from file. Also --force-topology
Force perf binary to run
Force NMI watchdog mode
Force kernel version (e.g. 5.0)
Force fixed metrics and slots
Reduce generic counters by n. Used for testing the TSX reduced counters mode on SKX.