configs: Specify cache, dir, and mem cntrl interleaving
authorOnur Kayiran <onur.kayiran@amd.com>
Mon, 30 Apr 2018 21:45:16 +0000 (17:45 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Thu, 28 May 2020 23:07:08 +0000 (23:07 +0000)
commitdee6b070068165f0c9a22af55d06bf4bcf14dcda
tree12bd1e9a444d5a73ca9f2dad58fba5db3542856b
parente071f60011759d75e02e177e2ae9c4025c304b91
configs: Specify cache, dir, and mem cntrl interleaving

This changeset allows setting a variable for interleaving.
That value is used together with the number of directories to
calculate numa_high_bit, which is in turn used to set up
cache, directory, and memory controller interleaving.
A similar approach is used to set xor_low_bit, and calculate
xor_high_bit for address hashing.

Change-Id: Ia342c77c59ca2e3438db218b5c399c3373618320
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28134
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/common/MemConfig.py
configs/ruby/Ruby.py