Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TPF
telematic-performance-format
Commits
b76759c1
Commit
b76759c1
authored
Jun 12, 2017
by
Roman Haefeli
Browse files
add iperf3 command twice for both directions (script functional now)
parent
75529e77
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/tpf-netperf
View file @
b76759c1
...
...
@@ -8,6 +8,7 @@ SAMPLERATE=44100
BLOCKSIZE
=
128
NUMOFINSTANCES
=
1
CLIENTOF
=
"telematic.zhdk.ch"
DURATION
=
10
VALIDBITRESLIST
=
"8 16 24 32"
VALIDSAMPLERATELIST
=
"22050 32000 44100 48000 88200 96000 192000"
...
...
@@ -23,6 +24,7 @@ do
-s
|
--blocksize
)
BLOCKSIZE
=
"
$2
"
;
shift
;;
-i
|
--instances
)
NUMOFINSTANCES
=
"
$2
"
;
shift
;;
-c
|
--client
)
CLIENTOF
=
"
$2
"
;
shift
;;
-d
|
--duration
)
DURATION
=
"
$2
"
;
shift
;;
-
*
)
printerr
"
$SCRIPTNAME
: error - unrecognized option '
$1
'"
printerr
"use '
$SCRIPTNAME
--help' to get a list of available options"
exit
1
;;
...
...
@@ -80,5 +82,14 @@ echo "CHANNELS: $NUMOFCHANNELS"
echo
"PACKETSIZE:
${
PACKETSIZE
}
bytes"
echo
"PACKETRATE:
${
PACKETRATE
}
/s"
echo
"BANDWIDTH:
${
BANDWIDTH
}
Mb/s"
echo
"DURATION:
${
DURATION
}
s"
echo
"-------------------------------------------------------------------"
echo
"Now running test:"
echo
"LOCAL >>>>>>>>>>>>>>> TELEMATIC server"
iperf3
-u
-c
telematic.zhdk.ch
-p
6000
-l
${
PACKETSIZE
}
-b
${
BANDWIDTH
}
M
-i
2
-t
${
DURATION
}
-P
${
NUMOFINSTANCES
}
echo
"LOCAL <<<<<<<<<<<<<<< TELEMATIC server"
iperf3
-u
-c
telematic.zhdk.ch
-R
-p
6000
-l
${
PACKETSIZE
}
-b
${
BANDWIDTH
}
M
-i
2
-t
${
DURATION
}
-P
${
NUMOFINSTANCES
}
Write
Preview
Supports
Markdown
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