-
Notifications
You must be signed in to change notification settings - Fork 342
toplev tunables
toplev has some internal tunables to tune the group scheduler. 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.
Disable merging of unrelated groups. 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.
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