systems, per thread-group. The number of thread-groups,
if not set, will be set to 1.
- - efficiency exactly like group-by-cluster below, except that CPU
+ - efficiency exactly like "group-by-ccx" below, except that CPU
clusters composed of cores whose performance is more
than 25% above that of the next less performant one are
evicted. These are typically "big" or "performance"
laptops and desktop machines used by developers and
admins to validate setups.
- - performance exactly like group-by-cluster above, except that CPU
+ - performance exactly like "group-by-ccx" above, except that CPU
clusters composed of cores whose performance is less
than 80% of those of the next more performant one are
evicted. These are typically "little" or "efficient"
auxiliary tools such as load generators and monitoring
tools.
- - resource this is like group-by-cluster above, except that only
+ - resource this is like "group-by-cluster" above, except that only
the smallest and most efficient CPU cluster will be
used, while all other ones will be ignored. This can be
used to limit the resource usage to the strict minimum
cpu_cluster_reorder_by_index(ha_cpu_clusters, cpu_topo_maxcpus);
- /* and finish using the group-by-cluster strategy */
- return cpu_policy_group_by_cluster(policy, tmin, tmax, gmin, gmax, err);
+ /* and finish using the group-by-ccx strategy, which will split around
+ * L3 rather than just cluster types.
+ */
+ return cpu_policy_group_by_ccx(policy, tmin, tmax, gmin, gmax, err);
}
/* the "efficiency" cpu-policy:
cpu_cluster_reorder_by_index(ha_cpu_clusters, cpu_topo_maxcpus);
- /* and finish using the group-by-cluster strategy */
- return cpu_policy_group_by_cluster(policy, tmin, tmax, gmin, gmax, err);
+ /* and finish using the group-by-ccx strategy, which will split around
+ * L3 rather than just cluster types.
+ */
+ return cpu_policy_group_by_ccx(policy, tmin, tmax, gmin, gmax, err);
}