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
8719a228
Commit
8719a228
authored
Nov 25, 2020
by
Antoine Kaufmann
Browse files
experiments: correct core count for sync qemu
parent
20bf08d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
experiments/modes/simulators.py
experiments/modes/simulators.py
+4
-1
No files found.
experiments/modes/simulators.py
View file @
8719a228
...
@@ -77,7 +77,10 @@ class NetSim(Simulator):
...
@@ -77,7 +77,10 @@ class NetSim(Simulator):
class
QemuHost
(
HostSim
):
class
QemuHost
(
HostSim
):
sync
=
False
sync
=
False
def
resreq_cores
(
self
):
def
resreq_cores
(
self
):
return
self
.
node_config
.
cores
+
1
if
self
.
sync
:
return
1
else
:
return
self
.
node_config
.
cores
+
1
def
resreq_mem
(
self
):
def
resreq_mem
(
self
):
return
4096
return
4096
...
...
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