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
749baeb3
Commit
749baeb3
authored
Jan 28, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
May 09, 2023
Browse files
orchestration: set default host CPU frequency to 4GHz from 8
parent
d45c77cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
experiments/simbricks/orchestration/simulators.py
experiments/simbricks/orchestration/simulators.py
+1
-2
No files found.
experiments/simbricks/orchestration/simulators.py
View file @
749baeb3
...
@@ -269,7 +269,7 @@ class HostSim(Simulator):
...
@@ -269,7 +269,7 @@ class HostSim(Simulator):
simulators have completed execution.
simulators have completed execution.
"""
"""
self
.
sleep
=
0
self
.
sleep
=
0
self
.
cpu_freq
=
'
8
GHz'
self
.
cpu_freq
=
'
4
GHz'
self
.
sync_mode
=
0
self
.
sync_mode
=
0
self
.
sync_period
=
500
self
.
sync_period
=
500
...
@@ -326,7 +326,6 @@ class QemuHost(HostSim):
...
@@ -326,7 +326,6 @@ class QemuHost(HostSim):
super
().
__init__
(
node_config
)
super
().
__init__
(
node_config
)
self
.
sync
=
False
self
.
sync
=
False
self
.
cpu_freq
=
'4GHz'
def
resreq_cores
(
self
):
def
resreq_cores
(
self
):
if
self
.
sync
:
if
self
.
sync
:
...
...
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