- root@box:~# cjdroute.v6 --bench
- 1442864643 INFO RandomSeed.c:42 Attempting to seed random number generator
- 1442864643 INFO RandomSeed.c:50 Trying random seed [/dev/urandom] Success
- 1442864643 INFO RandomSeed.c:56 Trying random seed [sysctl(RANDOM_UUID) (Linux)] Failed
- 1442864643 INFO RandomSeed.c:50 Trying random seed [/proc/sys/kernel/random/uuid (Linux)] Success
- 1442864643 INFO RandomSeed.c:64 Seeding random number generator succeeded with [2] sources
- These metrics are speed of encryption and decryption similar to the usage pattern
- when decrypting a packet, switching it, and re-encrypting it with another key.
- Test sending 1000 64 byte hello packets
- Finished in 1741ms. 294 Kb/s
- Test sending 1000 1500 byte hello packets
- Finished in 1773ms. 6767 Kb/s
- Test sending 1000 64 byte key packets
- Finished in 1721ms. 297 Kb/s
- Test sending 1000 1500 byte key packets
- Finished in 1766ms. 6794 Kb/s
- Test sending 100000 64 byte data packets
- Finished in 1358ms. 37702 Kb/s
- This is the switch configuration so this indicates expected switch throughput:
- Test sending 100000 1500 byte data packets
- Finished in 5797ms. 207003 Kb/s
- root@box:~#
- root@box:~#
- root@box:~# cjdroute.v16 --bench
- 1442864670 INFO RandomSeed.c:42 Attempting to seed random number generator
- 1442864670 INFO RandomSeed.c:50 Trying random seed [/dev/urandom] Success
- 1442864670 INFO RandomSeed.c:56 Trying random seed [sysctl(RANDOM_UUID) (Linux)] Failed
- 1442864670 INFO RandomSeed.c:50 Trying random seed [/proc/sys/kernel/random/uuid (Linux)] Success
- 1442864670 INFO RandomSeed.c:64 Seeding random number generator succeeded with [2] sources
- 1442864670 INFO Benchmark.c:71 Setting up salsa20/poly1305 benchmark (encryption and decryption only)
- 1442864670 DEBUG CryptoAuth.c:437 0x1e9db18 bench [ada9:7c53:7108:f26b:f72f:8770:21be:75da]: Sending hello packet
- 1442864670 DEBUG CryptoAuth.c:642 0x1e9dc58 bench [99f7:6ddf:7866:b1c1:37ea:e2d5:704f:885f]: Received a hello packet, using auth: 0
- 1442864670 DEBUG CryptoAuth.c:437 0x1e9dc58 bench [99f7:6ddf:7866:b1c1:37ea:e2d5:704f:885f]: Sending key packet
- 1442864670 DEBUG CryptoAuth.c:669 0x1e9db18 bench [ada9:7c53:7108:f26b:f72f:8770:21be:75da]: Received a key packet
- 1442864670 DEBUG CryptoAuth.c:529 0x1e9db18 bench [ada9:7c53:7108:f26b:f72f:8770:21be:75da]: Doing final step to send message. nonce=4
- 1442864670 DEBUG CryptoAuth.c:872 0x1e9dc58 bench [99f7:6ddf:7866:b1c1:37ea:e2d5:704f:885f]: Trying final handshake step, nonce=4
- 1442864670 DEBUG CryptoAuth.c:889 0x1e9dc58 bench [99f7:6ddf:7866:b1c1:37ea:e2d5:704f:885f]: Final handshake step succeeded
- 1442864670 DEBUG CryptoAuth.c:872 0x1e9db18 bench [ada9:7c53:7108:f26b:f72f:8770:21be:75da]: Trying final handshake step, nonce=6
- 1442864670 DEBUG CryptoAuth.c:889 0x1e9db18 bench [ada9:7c53:7108:f26b:f72f:8770:21be:75da]: Final handshake step succeeded
- 1442864670 INFO Benchmark.c:47 ----- Begin salsa20/poly1305 benchmark -----
- 1442864675 INFO Benchmark.c:59
- 1442864675 INFO Benchmark.c:60 ---------------------------------------------------------------
- 1442864675 INFO Benchmark.c:62 Benchmark salsa20/poly1305 in 5806ms. 206682 kilobits per second
- 1442864675 INFO Benchmark.c:63 ---------------------------------------------------------------
- 1442864675 INFO Benchmark.c:64
- 1442864675 INFO Benchmark.c:149 Setting up salsa20/poly1305 benchmark (encryption and decryption only)
- 1442864675 DEBUG InterfaceController.c:821 bootstrapPeer total [0]
- 1442864675 INFO InterfaceController.c:870 Adding peer [v0.0000.0000.0000.0013.kmzm4w0kj9bswd5qmx74nu7kusv5pj40vcsmp781j6xxgpd59z00.k] from bootstrapPeer()
- 1442864675 DEBUG InterfaceController.c:286 SwitchPing [kmzm4w0kj9bswd5qmx74nu7kusv5pj40vcsmp781j6xxgpd59z00.k]
- 1442864675 DEBUG CryptoAuth.c:437 0x1eaaf48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Sending hello packet
- 1442864675 DEBUG CryptoAuth.c:642 0x1ead328 outer [unknown]: Received a hello packet, using auth: 1
- 1442864675 INFO InterfaceController.c:660 Added peer [v0.0000.0000.0000.0013.vz21tg07061s8v9mckrvgtfds7j2u5lst8cwl6nqhp81njrh5wg0.k] from incoming message
- 1442864675 DEBUG InterfaceController.c:286 SwitchPing [vz21tg07061s8v9mckrvgtfds7j2u5lst8cwl6nqhp81njrh5wg0.k]
- 1442864675 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013]
- 1442864675 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013]
- 1442864675 DEBUG CryptoAuth.c:437 0x1ead328 outer [fc1f:5b96:e1c5:625d:afde:2523:a7fa:383a]: Sending key packet
- 1442864675 DEBUG CryptoAuth.c:669 0x1eaaf48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Received a key packet
- 1442864675 DEBUG InterfaceController.c:286 SwitchPing [kmzm4w0kj9bswd5qmx74nu7kusv5pj40vcsmp781j6xxgpd59z00.k]
- 1442864675 DEBUG CryptoAuth.c:529 0x1eaaf48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Doing final step to send message. nonce=4
- 1442864675 DEBUG CryptoAuth.c:872 0x1ead328 outer [fc1f:5b96:e1c5:625d:afde:2523:a7fa:383a]: Trying final handshake step, nonce=4
- 1442864675 DEBUG CryptoAuth.c:889 0x1ead328 outer [fc1f:5b96:e1c5:625d:afde:2523:a7fa:383a]: Final handshake step succeeded
- 1442864675 DEBUG InterfaceController.c:379 Checking for old sessions to merge with.
- 1442864675 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013]
- 1442864675 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013]
- 1442864675 DEBUG CryptoAuth.c:872 0x1eaaf48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Trying final handshake step, nonce=6
- 1442864675 DEBUG CryptoAuth.c:889 0x1eaaf48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Final handshake step succeeded
- 1442864675 DEBUG InterfaceController.c:379 Checking for old sessions to merge with.
- 1442864675 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013]
- 1442864675 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013]
- 1442864675 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013]
- 1442864675 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013]
- 1442864675 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013]
- 1442864675 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013]
- 1442864675 INFO Benchmark.c:47 ----- Begin Switching benchmark -----
- 1442864689 INFO Benchmark.c:59
- 1442864689 INFO Benchmark.c:60 ---------------------------------------------------------------
- 1442864689 INFO Benchmark.c:62 Benchmark Switching in 13724ms. 74613 packets per second
- 1442864689 INFO Benchmark.c:63 ---------------------------------------------------------------
- 1442864689 INFO Benchmark.c:64
- 1442864689 INFO Benchmark.c:219 DONE