diff options
| author | Pavel Tatashin <[email protected]> | 2017-02-16 20:05:58 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-02-23 16:33:23 +0000 |
| commit | 1537b26dab1c1dfd92a116a933143f52b1112a22 (patch) | |
| tree | 6555914c573ecb50d8f13efb72f51cc02d0e3a5a /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | sparc64: Add 64K page size support (diff) | |
| download | kernel-1537b26dab1c1dfd92a116a933143f52b1112a22.tar.gz kernel-1537b26dab1c1dfd92a116a933143f52b1112a22.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
