aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorPavel Tatashin <[email protected]>2017-02-16 15:05:58 -0500
committerDavid S. Miller <[email protected]>2017-02-23 08:33:23 -0800
commit1537b26dab1c1dfd92a116a933143f52b1112a22 (patch)
tree6555914c573ecb50d8f13efb72f51cc02d0e3a5a /tools/perf/scripts/python/call-graph-from-postgresql.py
parentdcd1912d21a02534d1f0a9005d5ba3283f164780 (diff)
sparc64: use latency groups to improve add_node_ranges speed
add_node_ranges() takes 2.6s - 3.6s per 1T of boot time. On machine with 6T memory it takes 15.4s, on 32T it would take 82s-115s of boot time. This function sets NUMA ids for memory blocks, and scans the whole memory a page at a time to do so. But, we could use values in latency groups mask and match to determine the boundaries without checking every single page. With the fix the add_node_ranges() time is reduced from 15.4s down to 0.2s on machine with 6T memory. Signed-off-by: Pavel Tatashin <[email protected]> Reviewed-by: Babu Moger <[email protected]> Reviewed-by: Bob Picco <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions