"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "ea8380be45eb6a116d2da022b150b88fe94d6f09"
Commit a94da420 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

experiments: add gem5 cache associativity parameters

parent 61d45789
...@@ -187,6 +187,7 @@ class Gem5Host(HostSim): ...@@ -187,6 +187,7 @@ class Gem5Host(HostSim):
cmd = (f'{env.gem5_path} --outdir={env.gem5_outdir(self)} ' cmd = (f'{env.gem5_path} --outdir={env.gem5_outdir(self)} '
f'{env.gem5_py_path} --caches --l2cache --l3cache ' f'{env.gem5_py_path} --caches --l2cache --l3cache '
'--l1d_size=32kB --l1i_size=32kB --l2_size=2MB --l3_size=32MB ' '--l1d_size=32kB --l1i_size=32kB --l2_size=2MB --l3_size=32MB '
'--l1d_assoc=8 --l1i_assoc=8 --l2_assoc=4 --l3_assoc=16 '
f'--cacheline_size=64 --cpu-clock={self.cpu_freq} --sys-clock={self.sys_clock} ' f'--cacheline_size=64 --cpu-clock={self.cpu_freq} --sys-clock={self.sys_clock} '
f'--checkpoint-dir={env.gem5_cpdir(self)} ' f'--checkpoint-dir={env.gem5_cpdir(self)} '
f'--kernel={env.gem5_kernel_path} ' f'--kernel={env.gem5_kernel_path} '
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment