Skip to content

What could be the possible reason for Latency script not working #2

Description

@karimmd

osboxes@osboxes:~/ctltest$ ./benchmark_latency.sh
./benchmark_latency.sh: line 7: [: ==: unary operator expected
[sudo] password for osboxes:
1
Ryu controller
10_Ryu
GPid is 3126, id is 0
cbench: option requires an argument -- 's'
help message
USAGE: cbench [option] # by Rob Sherwood 2010
-c/--controller hostname of controller to connect to ("localhost")
-d/--debug enable debugging (off)
-h/--help print this message
-l/--loops loops per test (16)
-M/--mac-addresses unique source MAC addresses per switch (100000)
-m/--ms-per-test test length in ms (1000)
-p/--port controller port (6633)
-r/--ranged-test test range of 1..$n switches (off)
-s/--switches fake $n switches (16)
-t/--throughput test throughput instead of latency
-w/--warmup loops to be disregarded on test start (warmup) (1)
-C/--cooldown loops to be disregarded at test end (cooldown) (0)
-D/--delay delay starting testing after features_reply is received (in ms) (0)
-i/--connect-delay delay between groups of switches connecting to the controller (in ms) (0)
-I/--connect-group-size number of switches in a connection delay group (1)
-L/--learn-dst-macs send gratuitious ARP replies to learn destination macs before testing (on)
-o/--dpid-offset switch DPID offset (1)

./benchmark_latency.sh: line 69: 3126 Terminated ./$HOMEDIR/${CONTR_DIR[$1]}/start.sh 1 > /dev/null 2>> debug_log
10_Ryu
GPid is 3299, id is 0
cbench: option requires an argument -- 's'
help message
USAGE: cbench [option] # by Rob Sherwood 2010
-c/--controller hostname of controller to connect to ("localhost")
-d/--debug enable debugging (off)
-h/--help print this message
-l/--loops loops per test (16)
-M/--mac-addresses unique source MAC addresses per switch (100000)
-m/--ms-per-test test length in ms (1000)
-p/--port controller port (6633)
-r/--ranged-test test range of 1..$n switches (off)
-s/--switches fake $n switches (16)
-t/--throughput test throughput instead of latency
-w/--warmup loops to be disregarded on test start (warmup) (1)
-C/--cooldown loops to be disregarded at test end (cooldown) (0)
-D/--delay delay starting testing after features_reply is received (in ms) (0)
-i/--connect-delay delay between groups of switches connecting to the controller (in ms) (0)
-I/--connect-group-size number of switches in a connection delay group (1)
-L/--learn-dst-macs send gratuitious ARP replies to learn destination macs before testing (on)
-o/--dpid-offset switch DPID offset (1)

./benchmark_latency.sh: line 69: 3299 Terminated ./$HOMEDIR/${CONTR_DIR[$1]}/start.sh 1 > /dev/null 2>> debug_log
10_Ryu
GPid is 3468, id is 0
cbench: option requires an argument -- 's'
help message
USAGE: cbench [option] # by Rob Sherwood 2010
-c/--controller hostname of controller to connect to ("localhost")
-d/--debug enable debugging (off)
-h/--help print this message
-l/--loops loops per test (16)
-M/--mac-addresses unique source MAC addresses per switch (100000)
-m/--ms-per-test test length in ms (1000)
-p/--port controller port (6633)
-r/--ranged-test test range of 1..$n switches (off)
-s/--switches fake $n switches (16)
-t/--throughput test throughput instead of latency
-w/--warmup loops to be disregarded on test start (warmup) (1)
-C/--cooldown loops to be disregarded at test end (cooldown) (0)
-D/--delay delay starting testing after features_reply is received (in ms) (0)
-i/--connect-delay delay between groups of switches connecting to the controller (in ms) (0)
-I/--connect-group-size number of switches in a connection delay group (1)
-L/--learn-dst-macs send gratuitious ARP replies to learn destination macs before testing (on)
-o/--dpid-offset switch DPID offset (1)

./benchmark_latency.sh: line 69: 3468 Terminated ./$HOMEDIR/${CONTR_DIR[$1]}/start.sh 1 > /dev/null 2>> debug_log
10_Ryu
GPid is 3663, id is 0
cbench: option requires an argument -- 's'
help message
USAGE: cbench [option] # by Rob Sherwood 2010
-c/--controller hostname of controller to connect to ("localhost")
-d/--debug enable debugging (off)
-h/--help print this message
-l/--loops loops per test (16)
-M/--mac-addresses unique source MAC addresses per switch (100000)
-m/--ms-per-test test length in ms (1000)
-p/--port controller port (6633)
-r/--ranged-test test range of 1..$n switches (off)
-s/--switches fake $n switches (16)
-t/--throughput test throughput instead of latency
-w/--warmup loops to be disregarded on test start (warmup) (1)
-C/--cooldown loops to be disregarded at test end (cooldown) (0)
-D/--delay delay starting testing after features_reply is received (in ms) (0)
-i/--connect-delay delay between groups of switches connecting to the controller (in ms) (0)
-I/--connect-group-size number of switches in a connection delay group (1)
-L/--learn-dst-macs send gratuitious ARP replies to learn destination macs before testing (on)
-o/--dpid-offset switch DPID offset (1)

./benchmark_latency.sh: line 69: 3663 Terminated ./$HOMEDIR/${CONTR_DIR[$1]}/start.sh 1 > /dev/null 2>> debug_log
Someone is still listening to 6633! Wait 5 sec
lt-nox_core: no process found
10_Ryu
GPid is 3862, id is 0
cbench: option requires an argument -- 's'
help message
USAGE: cbench [option] # by Rob Sherwood 2010
-c/--controller hostname of controller to connect to ("localhost")
-d/--debug enable debugging (off)
-h/--help print this message
-l/--loops loops per test (16)
-M/--mac-addresses unique source MAC addresses per switch (100000)
-m/--ms-per-test test length in ms (1000)
-p/--port controller port (6633)
-r/--ranged-test test range of 1..$n switches (off)
-s/--switches fake $n switches (16)
-t/--throughput test throughput instead of latency
-w/--warmup loops to be disregarded on test start (warmup) (1)
-C/--cooldown loops to be disregarded at test end (cooldown) (0)
-D/--delay delay starting testing after features_reply is received (in ms) (0)
-i/--connect-delay delay between groups of switches connecting to the controller (in ms) (0)
-I/--connect-group-size number of switches in a connection delay group (1)
-L/--learn-dst-macs send gratuitious ARP replies to learn destination macs before testing (on)
-o/--dpid-offset switch DPID offset (1)

./benchmark_latency.sh: line 69: 3862 Terminated ./$HOMEDIR/${CONTR_DIR[$1]}/start.sh 1 > /dev/null 2>> debug_log
10_Ryu
GPid is 4034, id is 0
cbench: option requires an argument -- 's'
help message
USAGE: cbench [option] # by Rob Sherwood 2010
-c/--controller hostname of controller to connect to ("localhost")
-d/--debug enable debugging (off)
-h/--help print this message
-l/--loops loops per test (16)
-M/--mac-addresses unique source MAC addresses per switch (100000)
-m/--ms-per-test test length in ms (1000)
-p/--port controller port (6633)
-r/--ranged-test test range of 1..$n switches (off)
-s/--switches fake $n switches (16)
-t/--throughput test throughput instead of latency
-w/--warmup loops to be disregarded on test start (warmup) (1)
-C/--cooldown loops to be disregarded at test end (cooldown) (0)
-D/--delay delay starting testing after features_reply is received (in ms) (0)
-i/--connect-delay delay between groups of switches connecting to the controller (in ms) (0)
-I/--connect-group-size number of switches in a connection delay group (1)
-L/--learn-dst-macs send gratuitious ARP replies to learn destination macs before testing (on)
-o/--dpid-offset switch DPID offset (1)

./benchmark_latency.sh: line 69: 4034 Terminated ./$HOMEDIR/${CONTR_DIR[$1]}/start.sh 1 > /dev/null 2>> debug_log
Someone is still listening to 6633! Wait 5 sec
lt-nox_core: no process found
10_Ryu
GPid is 4222, id is 0
cbench: option requires an argument -- 's'
help message
USAGE: cbench [option] # by Rob Sherwood 2010
-c/--controller hostname of controller to connect to ("localhost")
-d/--debug enable debugging (off)
-h/--help print this message
-l/--loops loops per test (16)
-M/--mac-addresses unique source MAC addresses per switch (100000)
-m/--ms-per-test test length in ms (1000)
-p/--port controller port (6633)
-r/--ranged-test test range of 1..$n switches (off)
-s/--switches fake $n switches (16)
-t/--throughput test throughput instead of latency
-w/--warmup loops to be disregarded on test start (warmup) (1)
-C/--cooldown loops to be disregarded at test end (cooldown) (0)
-D/--delay delay starting testing after features_reply is received (in ms) (0)
-i/--connect-delay delay between groups of switches connecting to the controller (in ms) (0)
-I/--connect-group-size number of switches in a connection delay group (1)
-L/--learn-dst-macs send gratuitious ARP replies to learn destination macs before testing (on)
-o/--dpid-offset switch DPID offset (1)

./benchmark_latency.sh: line 69: 4222 Terminated ./$HOMEDIR/${CONTR_DIR[$1]}/start.sh 1 > /dev/null 2>> debug_log
10_Ryu
GPid is 4391, id is 0
cbench: option requires an argument -- 's'
help message
USAGE: cbench [option] # by Rob Sherwood 2010
-c/--controller hostname of controller to connect to ("localhost")
-d/--debug enable debugging (off)
-h/--help print this message
-l/--loops loops per test (16)
-M/--mac-addresses unique source MAC addresses per switch (100000)
-m/--ms-per-test test length in ms (1000)
-p/--port controller port (6633)
-r/--ranged-test test range of 1..$n switches (off)
-s/--switches fake $n switches (16)
-t/--throughput test throughput instead of latency
-w/--warmup loops to be disregarded on test start (warmup) (1)
-C/--cooldown loops to be disregarded at test end (cooldown) (0)
-D/--delay delay starting testing after features_reply is received (in ms) (0)
-i/--connect-delay delay between groups of switches connecting to the controller (in ms) (0)
-I/--connect-group-size number of switches in a connection delay group (1)
-L/--learn-dst-macs send gratuitious ARP replies to learn destination macs before testing (on)
-o/--dpid-offset switch DPID offset (1)

./benchmark_latency.sh: line 69: 4391 Terminated ./$HOMEDIR/${CONTR_DIR[$1]}/start.sh 1 > /dev/null 2>> debug_log
10_Ryu
GPid is 4571, id is 0
cbench: option requires an argument -- 's'
help message
USAGE: cbench [option] # by Rob Sherwood 2010
-c/--controller hostname of controller to connect to ("localhost")
-d/--debug enable debugging (off)
-h/--help print this message
-l/--loops loops per test (16)
-M/--mac-addresses unique source MAC addresses per switch (100000)
-m/--ms-per-test test length in ms (1000)
-p/--port controller port (6633)
-r/--ranged-test test range of 1..$n switches (off)
-s/--switches fake $n switches (16)
-t/--throughput test throughput instead of latency
-w/--warmup loops to be disregarded on test start (warmup) (1)
-C/--cooldown loops to be disregarded at test end (cooldown) (0)
-D/--delay delay starting testing after features_reply is received (in ms) (0)
-i/--connect-delay delay between groups of switches connecting to the controller (in ms) (0)
-I/--connect-group-size number of switches in a connection delay group (1)
-L/--learn-dst-macs send gratuitious ARP replies to learn destination macs before testing (on)
-o/--dpid-offset switch DPID offset (1)

./benchmark_latency.sh: line 69: 4571 Terminated ./$HOMEDIR/${CONTR_DIR[$1]}/start.sh 1 > /dev/null 2>> debug_log
10_Ryu
GPid is 4741, id is 0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions