diff options
author | Borislav Petkov <[email protected]> | 2017-02-05 11:50:21 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-02-05 12:18:45 +0100 |
commit | 79a8b9aa388b0620cc1d525d7c0f0d9a8a85e08e (patch) | |
tree | ba8edfc42ad0fe8182879b97fa615436a3a19a53 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | a0a28644c1cf191e514dd64bf438e69c178b8440 (diff) |
x86/CPU/AMD: Bring back Compute Unit ID
Commit:
a33d331761bc ("x86/CPU/AMD: Fix Bulldozer topology")
restored the initial approach we had with the Fam15h topology of
enumerating CU (Compute Unit) threads as cores. And this is still
correct - they're beefier than HT threads but still have some
shared functionality.
Our current approach has a problem with the Mad Max Steam game, for
example. Yves Dionne reported a certain "choppiness" while playing on
v4.9.5.
That problem stems most likely from the fact that the CU threads share
resources within one CU and when we schedule to a thread of a different
compute unit, this incurs latency due to migrating the working set to a
different CU through the caches.
When the thread siblings mask mirrors that aspect of the CUs and
threads, the scheduler pays attention to it and tries to schedule within
one CU first. Which takes care of the latency, of course.
Reported-by: Yves Dionne <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: <[email protected]> # 4.9
Cc: Brice Goglin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Yazen Ghannam <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions