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
2e754b87
Commit
2e754b87
authored
Aug 13, 2023
by
Jonas Kaufmann
Committed by
Antoine Kaufmann
Sep 04, 2023
Browse files
orchestration.rst: add section explaining synchronized and unsynchronized simulators
parent
fe99a3ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
doc/user/orchestration.rst
doc/user/orchestration.rst
+18
-0
No files found.
doc/user/orchestration.rst
View file @
2e754b87
...
@@ -134,6 +134,24 @@ guest system and the value is an IO handle of the file to be copied over.
...
@@ -134,6 +134,24 @@ guest system and the value is an IO handle of the file to be copied over.
.. autoclass:: simbricks.orchestration.nodeconfig.AppConfig
.. autoclass:: simbricks.orchestration.nodeconfig.AppConfig
:members: run_cmds, config_files
:members: run_cmds, config_files
*******************************
Synchronized vs. Unsynchronized
*******************************
For most component simulators in your experiment, you can decide whether to run
them synchronized or unsynchronized by setting
:attr:`~simbricks.orchestration.simulators.PCIDevSim.sync_mode` or
:attr:`~simbricks.orchestration.simulators.QemuHost.sync`. By default, all
simulators run unsynchronized to simulate as fast as possible. When you are
conducting measurements, however, you need to run synchronized, or you won't get
meaningful performance numbers.
Running synchronized means that a simulator waits to process incoming messages
from connected simulators at the correct timestamps. For technical details, see
:ref:`sec-synchronization`. In contrast, unsynchronized lets a simulator advance
its virtual time as fast as it can. It still handles and exchanges messages with
connected simulators, but it won't wait for incoming messages and instead
advances its virtual time when there's nothing available to process.
***************************************
***************************************
Link Latency and Synchronization Period
Link Latency and Synchronization Period
...
...
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