linux/tools/power/x86
Wyes Karny 3ac1d14d05 tools/power turbostat: Increase the limit for fd opened
When running turbostat, a system with 512 cpus reaches the limit for
maximum number of file descriptors that can be opened. To solve this
problem, the limit is raised to 2^15, which is a large enough number.

Below data is collected from AMD server systems while running turbostat:

|-----------+-------------------------------|
| # of cpus | # of opened fds for turbostat |
|-----------+-------------------------------|
| 128       | 260                           |
|-----------+-------------------------------|
| 192       | 388                           |
|-----------+-------------------------------|
| 512       | 1028                          |
|-----------+-------------------------------|

So, the new max limit would be sufficient up to 2^14 cpus (but this
also depends on how many counters are enabled).

Reviewed-by: Doug Smythies <dsmythies@telus.net>
Tested-by: Doug Smythies <dsmythies@telus.net>
Signed-off-by: Wyes Karny <wyes.karny@amd.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2024-01-12 12:43:19 -06:00
..
amd_pstate_tracer selftests/amd-pstate: Fix broken paths to run workloads in amd-pstate-ut 2023-10-16 13:06:50 -06:00
intel_pstate_tracer tools/power/x86/intel_pstate_tracer: python minimum version 2023-09-21 20:35:50 +02:00
intel-speed-select tools/power/x86/intel-speed-select: v1.18 release 2023-10-17 14:54:44 -07:00
turbostat tools/power turbostat: Increase the limit for fd opened 2024-01-12 12:43:19 -06:00
x86_energy_perf_policy The main part of this branch is the ongoing fight against windmills in 2020-12-14 13:29:34 -08:00