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
dd28f774
Commit
dd28f774
authored
Aug 27, 2020
by
Antoine Kaufmann
Browse files
add i40e experiment
parent
5397c94c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
experiments/common-functions.sh
experiments/common-functions.sh
+12
-0
experiments/experiments/qemu-i40e-bm-pair.sh
experiments/experiments/qemu-i40e-bm-pair.sh
+15
-0
No files found.
experiments/common-functions.sh
View file @
dd28f774
...
...
@@ -128,6 +128,18 @@ run_corundum_bm() {
return
$pid
}
# Args:
# - Instance name
run_i40e_bm
()
{
echo
Starting i40e
$1
$EHSIM_BASE
/i40e_bm/i40e_bm
\
$OUTDIR
/pci.
$1
$OUTDIR
/eth.
$1
$OUTDIR
/shm.
$1
\
&>
$OUTDIR
/i40e_bm.
$1
.log &
pid
=
$!
ALL_PIDS
=
"
$ALL_PIDS
$pid
"
return
$pid
}
# Args:
# - Instance name
# - sim instance 1
...
...
experiments/experiments/qemu-i40e-bm-pair.sh
0 → 100644
View file @
dd28f774
#!/bin/bash
source
common-functions.sh
init_out qemu-i40e-bm-pair
$1
run_i40e_bm a
run_i40e_bm b
sleep
0.5
run_wire ab a b
run_qemu a a build/qemu-pair-server.tar
run_qemu b b build/qemu-pair-client.tar
#client_pid=$!
#wait $client_pid
sleep
30
cleanup
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