diff options
author | Pavel Tatashin <pasha.tatashin@oracle.com> | 2017-02-16 15:05:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-23 08:33:23 -0800 |
commit | 1537b26dab1c1dfd92a116a933143f52b1112a22 (patch) | |
tree | 6555914c573ecb50d8f13efb72f51cc02d0e3a5a /drivers/bus | |
parent | dcd1912d21a02534d1f0a9005d5ba3283f164780 (diff) | |
download | linux-1537b26dab1c1dfd92a116a933143f52b1112a22.tar.bz2 |
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 <pasha.tatashin@oracle.com>
Reviewed-by: Babu Moger <babu.moger@oracle.com>
Reviewed-by: Bob Picco <bob.picco@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions