Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
4ca92034
Commit
4ca92034
authored
Jan 03, 2024
by
Antoine Kaufmann
Committed by
Hejing Li
Feb 01, 2024
Browse files
sims/external/gem5: point to rebase-antoine branch
parent
fd32e173
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
docker/cleanup_gem5.sh
docker/cleanup_gem5.sh
+0
-1
experiments/simbricks/orchestration/simulators.py
experiments/simbricks/orchestration/simulators.py
+4
-4
sims/external/gem5
sims/external/gem5
+1
-1
sims/external/rules.mk
sims/external/rules.mk
+5
-4
No files found.
docker/cleanup_gem5.sh
View file @
4ca92034
...
...
@@ -6,7 +6,6 @@ cd sims/external/gem5
cp
-r
--parents
\
build/X86/gem5.fast
\
configs
\
cache_conf.patch
\
../gem5-new/
#`find build -name \*.py` \
cd
..
...
...
experiments/simbricks/orchestration/simulators.py
View file @
4ca92034
...
...
@@ -463,9 +463,9 @@ class Gem5Host(HostSim):
cmd
=
f
'
{
env
.
gem5_path
(
self
.
variant
)
}
--outdir=
{
env
.
gem5_outdir
(
self
)
}
'
cmd
+=
' '
.
join
(
self
.
extra_main_args
)
cmd
+=
(
f
'
{
env
.
gem5_py_path
}
--caches --l2cache
--l3cache
'
'--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
'
{
env
.
gem5_py_path
}
--caches --l2cache '
'--l1d_size=32kB --l1i_size=32kB --l2_size=32MB '
'--l1d_assoc=8 --l1i_assoc=8 --l2_assoc=16 '
f
'--cacheline_size=64 --cpu-clock=
{
self
.
cpu_freq
}
'
f
' --sys-clock=
{
self
.
sys_clock
}
'
f
'--checkpoint-dir=
{
env
.
gem5_cpdir
(
self
)
}
'
...
...
@@ -474,7 +474,7 @@ class Gem5Host(HostSim):
f
'--disk-image=
{
env
.
cfgtar_path
(
self
)
}
'
f
'--cpu-type=
{
cpu_type
}
--mem-size=
{
self
.
node_config
.
memory
}
MB '
f
'--num-cpus=
{
self
.
node_config
.
cores
}
'
'
--ddio-enabled --ddio-way-part=8
--mem-type=DDR4_2400_16x4 '
'--mem-type=DDR4_2400_16x4 '
)
if
self
.
node_config
.
kcmd_append
:
...
...
gem5
@
776c933c
Compare
9bb11fc5
...
776c933c
Subproject commit
9bb11fc5a0e8a1e722322a4ca40b2a3a4d293c88
Subproject commit
776c933cf9bb018a82d404e1357ed3227fc1762e
sims/external/rules.mk
View file @
4ca92034
...
...
@@ -37,9 +37,10 @@ $(d)gem5:
git clone https://github.com/simbricks/gem5.git
$@
$(d)gem5/ready
:
$(d)gem5
+cd
$<
&&
scons build/X86/gem5.
$(GEM5_VARIANT)
\
CCFLAGS
=
"-I
$(
abspath
$(lib_dir)
)
"
\
LIBPATH
=
"
$(
abspath
$(lib_dir)
)
"
\
cd
$<
&&
\
CCFLAGS_EXTRA
=
"-I
$(
abspath
$(lib_dir)
)
"
\
LIBRARY_PATH
=
"
$(
abspath
$(lib_dir)
)
"
\
scons build/X86/gem5.
$(GEM5_VARIANT)
\
-j
`
nproc
`
touch
$@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment