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
cb0148a2
Commit
cb0148a2
authored
Nov 30, 2021
by
Zhiqiang Xie
Browse files
set a config to reducethe experiment time
parent
2c100138
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
experiments/simbricks/experiments.py
experiments/simbricks/experiments.py
+1
-1
experiments/simbricks/nodeconfig.py
experiments/simbricks/nodeconfig.py
+1
-1
experiments/simbricks/simulators.py
experiments/simbricks/simulators.py
+1
-1
images/ubuntu1804.json
images/ubuntu1804.json
+3
-3
No files found.
experiments/simbricks/experiments.py
View file @
cb0148a2
...
...
@@ -410,7 +410,7 @@ class ExpEnv(object):
self
.
qemu_img_path
=
self
.
repodir
+
'/sims/external/qemu/build/qemu-img'
self
.
qemu_path
=
self
.
repodir
+
'/sims/external/qemu/build/x86_64-softmmu/qemu-system-x86_64'
self
.
qemu_kernel_path
=
self
.
repodir
+
'/images/bzImage'
self
.
gem5_path
=
self
.
repodir
+
'/sims/external/gem5/build/X86/gem5.
fas
t'
self
.
gem5_path
=
self
.
repodir
+
'/sims/external/gem5/build/X86/gem5.
op
t'
self
.
gem5_py_path
=
self
.
repodir
+
'/sims/external/gem5/configs/simbricks/simbricks.py'
self
.
gem5_kernel_path
=
self
.
repodir
+
'/images/vmlinux'
...
...
experiments/simbricks/nodeconfig.py
View file @
cb0148a2
...
...
@@ -322,7 +322,7 @@ class IperfTCPClient(AppConfig):
def
run_cmds
(
self
,
node
):
cmds
=
[
'sleep 1'
,
'iperf -l 32M -w 32M -c '
+
self
.
server_ip
+
' -i 1 -P '
+
'iperf -l 32M -w 32M -c '
+
self
.
server_ip
+
' -i 1
-t 1
-P '
+
str
(
self
.
procs
)]
if
self
.
is_last
:
cmds
.
append
(
'sleep 0.5'
)
...
...
experiments/simbricks/simulators.py
View file @
cb0148a2
...
...
@@ -42,7 +42,7 @@ class HostSim(Simulator):
name
=
''
wait
=
False
sleep
=
0
cpu_freq
=
'
8
GHz'
cpu_freq
=
'
2
GHz'
sync_mode
=
0
sync_period
=
500
...
...
images/ubuntu1804.json
View file @
cb0148a2
...
...
@@ -98,10 +98,10 @@
"https_proxy"
:
"{{env `https_proxy`}}"
,
"install_dev_packages"
:
"false"
,
"install_vagrant_key"
:
"true"
,
"iso_checksum"
:
"
8c5fc24894394035402f66f3824beb7234b757dd2b5531379cb310cedfdf099
6"
,
"iso_checksum"
:
"
f5cbb8104348f0097a8e513b10173a07dbc6684595e331cb06f93f385d0aecf
6"
,
"iso_checksum_type"
:
"sha256"
,
"iso_name"
:
"ubuntu-18.04.
5
-server-amd64.iso"
,
"iso_url"
:
"http://cdimage.ubuntu.com/ubuntu/releases/18.04.
5
/release/ubuntu-18.04.
5
-server-amd64.iso"
,
"iso_name"
:
"ubuntu-18.04.
6
-server-amd64.iso"
,
"iso_url"
:
"http://cdimage.ubuntu.com/ubuntu/releases/18.04.
6
/release/ubuntu-18.04.
6
-server-amd64.iso"
,
"locale"
:
"en_US"
,
"memory"
:
"4096"
,
"no_proxy"
:
"{{env `no_proxy`}}"
,
...
...
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