diff options
author | 2023-10-03 05:07:51 +0000 | |
---|---|---|
committer | 2024-01-12 12:43:19 -0600 | |
commit | 3ac1d14d0583a2de75d49a5234d767e2590384dd (patch) | |
tree | 11977e4bb1792bd27592814abc5092f68a2145a4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/power turbostat: Fix added raw MSR output (diff) | |
download | wireguard-linux-3ac1d14d0583a2de75d49a5234d767e2590384dd.tar.xz wireguard-linux-3ac1d14d0583a2de75d49a5234d767e2590384dd.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions