diff options
author | Wyes Karny <wyes.karny@amd.com> | 2023-10-03 08:07:51 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2024-01-12 21:43:19 +0300 |
commit | 3ac1d14d0583a2de75d49a5234d767e2590384dd (patch) | |
tree | 11977e4bb1792bd27592814abc5092f68a2145a4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e5f4e68eed85fa8495d78cd966eecc2b27bb9e53 (diff) | |
download | linux-3ac1d14d0583a2de75d49a5234d767e2590384dd.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions