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
2c165196
Commit
2c165196
authored
May 29, 2022
by
Hejing Li
Browse files
ns3-dctcp run script: fix path to ns3
parent
6904058a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
experiments/pyexps/ns3-dctcp.sh
experiments/pyexps/ns3-dctcp.sh
+7
-7
No files found.
experiments/pyexps/ns3-dctcp.sh
100644 → 100755
View file @
2c165196
...
...
@@ -30,20 +30,20 @@
EHSIM_BASE
=
"
$(
readlink
-f
$(
dirname
${
BASH_SOURCE
[0]
}
)
/../..
)
"
NS3_BASE
=
"
$EHSIM_BASE
/ns-3"
NS3_BASE
=
"
$EHSIM_BASE
/
sims/external/
ns-3"
OUTDIR_BASE
=
"
$EHSIM_BASE
/experiments/pyexps"
cd
$NS3_BASE
k_start
=
0
k_end
=
199680
k_step
=
2080
#
k_step=2080
#k_end=199680
#
k_step=8320
k_step
=
8320
#mtus="1500 4000 9000"
mtus
=
"
15
00"
# link latency corresponds to RTT latency 1us 10us 100us
mtus
=
"
40
00"
# link latency corresponds to RTT latency 1us 10us 100us
200us
#latencies="167ns 1670ns 16us 33us"
latencies
=
"
33u
s"
latencies
=
"
167ns 1670n
s"
cores
=
$1
echo
$cores
...
...
@@ -51,6 +51,7 @@ echo $cores
proc
=
0
pids
=
""
trap
"sighandler"
SIGINT
#for k in $(seq $k_start $k_step $k_end)
for
lat
in
$latencies
do
...
...
@@ -102,4 +103,3 @@ sighandler() {
exit
1
}
trap
"sighandler"
SIGINT
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