From Soiled Earthworm, 9 Years ago, written in Plain Text.
Embed
  1. root@box:~# cjdroute.v6 --bench
  2. 1442864643 INFO RandomSeed.c:42 Attempting to seed random number generator
  3. 1442864643 INFO RandomSeed.c:50 Trying random seed [/dev/urandom] Success
  4. 1442864643 INFO RandomSeed.c:56 Trying random seed [sysctl(RANDOM_UUID) (Linux)] Failed
  5. 1442864643 INFO RandomSeed.c:50 Trying random seed [/proc/sys/kernel/random/uuid (Linux)] Success
  6. 1442864643 INFO RandomSeed.c:64 Seeding random number generator succeeded with [2] sources
  7. These metrics are speed of encryption and decryption similar to the usage pattern
  8. when decrypting a packet, switching it, and re-encrypting it with another key.
  9. Test sending 1000 64 byte       hello packets
  10.  
  11.         Finished in 1741ms. 294 Kb/s
  12.  
  13. Test sending 1000 1500 byte     hello packets
  14.         Finished in 1773ms. 6767 Kb/s
  15.  
  16. Test sending 1000 64 byte       key packets
  17.         Finished in 1721ms. 297 Kb/s
  18.  
  19. Test sending 1000 1500 byte     key packets
  20.         Finished in 1766ms. 6794 Kb/s
  21.  
  22. Test sending 100000 64 byte     data packets
  23.         Finished in 1358ms. 37702 Kb/s
  24.  
  25. This is the switch configuration so this indicates expected switch throughput:
  26. Test sending 100000 1500 byte   data packets
  27.         Finished in 5797ms. 207003 Kb/s
  28.  
  29. root@box:~#
  30. root@box:~#
  31. root@box:~# cjdroute.v16 --bench
  32. 1442864670 INFO RandomSeed.c:42 Attempting to seed random number generator
  33. 1442864670 INFO RandomSeed.c:50 Trying random seed [/dev/urandom] Success
  34. 1442864670 INFO RandomSeed.c:56 Trying random seed [sysctl(RANDOM_UUID) (Linux)] Failed
  35. 1442864670 INFO RandomSeed.c:50 Trying random seed [/proc/sys/kernel/random/uuid (Linux)] Success
  36. 1442864670 INFO RandomSeed.c:64 Seeding random number generator succeeded with [2] sources
  37. 1442864670 INFO Benchmark.c:71 Setting up salsa20/poly1305 benchmark (encryption and decryption only)
  38. 1442864670 DEBUG CryptoAuth.c:437 0x1e9db18 bench [ada9:7c53:7108:f26b:f72f:8770:21be:75da]: Sending hello packet
  39. 1442864670 DEBUG CryptoAuth.c:642 0x1e9dc58 bench [99f7:6ddf:7866:b1c1:37ea:e2d5:704f:885f]: Received a hello packet, using auth: 0
  40. 1442864670 DEBUG CryptoAuth.c:437 0x1e9dc58 bench [99f7:6ddf:7866:b1c1:37ea:e2d5:704f:885f]: Sending key packet
  41. 1442864670 DEBUG CryptoAuth.c:669 0x1e9db18 bench [ada9:7c53:7108:f26b:f72f:8770:21be:75da]: Received a key packet
  42. 1442864670 DEBUG CryptoAuth.c:529 0x1e9db18 bench [ada9:7c53:7108:f26b:f72f:8770:21be:75da]: Doing final step to send message. nonce=4
  43. 1442864670 DEBUG CryptoAuth.c:872 0x1e9dc58 bench [99f7:6ddf:7866:b1c1:37ea:e2d5:704f:885f]: Trying final handshake step, nonce=4
  44. 1442864670 DEBUG CryptoAuth.c:889 0x1e9dc58 bench [99f7:6ddf:7866:b1c1:37ea:e2d5:704f:885f]: Final handshake step succeeded
  45. 1442864670 DEBUG CryptoAuth.c:872 0x1e9db18 bench [ada9:7c53:7108:f26b:f72f:8770:21be:75da]: Trying final handshake step, nonce=6
  46. 1442864670 DEBUG CryptoAuth.c:889 0x1e9db18 bench [ada9:7c53:7108:f26b:f72f:8770:21be:75da]: Final handshake step succeeded
  47. 1442864670 INFO Benchmark.c:47 ----- Begin salsa20/poly1305 benchmark -----
  48. 1442864675 INFO Benchmark.c:59  
  49. 1442864675 INFO Benchmark.c:60 ---------------------------------------------------------------
  50. 1442864675 INFO Benchmark.c:62 Benchmark salsa20/poly1305 in 5806ms. 206682 kilobits per second
  51. 1442864675 INFO Benchmark.c:63 ---------------------------------------------------------------
  52. 1442864675 INFO Benchmark.c:64  
  53. 1442864675 INFO Benchmark.c:149 Setting up salsa20/poly1305 benchmark (encryption and decryption only)
  54. 1442864675 DEBUG InterfaceController.c:821 bootstrapPeer total [0]
  55. 1442864675 INFO InterfaceController.c:870 Adding peer [v0.0000.0000.0000.0013.kmzm4w0kj9bswd5qmx74nu7kusv5pj40vcsmp781j6xxgpd59z00.k] from bootstrapPeer()
  56. 1442864675 DEBUG InterfaceController.c:286 SwitchPing [kmzm4w0kj9bswd5qmx74nu7kusv5pj40vcsmp781j6xxgpd59z00.k]
  57. 1442864675 DEBUG CryptoAuth.c:437 0x1eaaf48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Sending hello packet
  58. 1442864675 DEBUG CryptoAuth.c:642 0x1ead328 outer [unknown]: Received a hello packet, using auth: 1
  59. 1442864675 INFO InterfaceController.c:660 Added peer [v0.0000.0000.0000.0013.vz21tg07061s8v9mckrvgtfds7j2u5lst8cwl6nqhp81njrh5wg0.k] from incoming message
  60. 1442864675 DEBUG InterfaceController.c:286 SwitchPing [vz21tg07061s8v9mckrvgtfds7j2u5lst8cwl6nqhp81njrh5wg0.k]
  61. 1442864675 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013]
  62. 1442864675 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013]
  63. 1442864675 DEBUG CryptoAuth.c:437 0x1ead328 outer [fc1f:5b96:e1c5:625d:afde:2523:a7fa:383a]: Sending key packet
  64. 1442864675 DEBUG CryptoAuth.c:669 0x1eaaf48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Received a key packet
  65. 1442864675 DEBUG InterfaceController.c:286 SwitchPing [kmzm4w0kj9bswd5qmx74nu7kusv5pj40vcsmp781j6xxgpd59z00.k]
  66. 1442864675 DEBUG CryptoAuth.c:529 0x1eaaf48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Doing final step to send message. nonce=4
  67. 1442864675 DEBUG CryptoAuth.c:872 0x1ead328 outer [fc1f:5b96:e1c5:625d:afde:2523:a7fa:383a]: Trying final handshake step, nonce=4
  68. 1442864675 DEBUG CryptoAuth.c:889 0x1ead328 outer [fc1f:5b96:e1c5:625d:afde:2523:a7fa:383a]: Final handshake step succeeded
  69. 1442864675 DEBUG InterfaceController.c:379 Checking for old sessions to merge with.
  70. 1442864675 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013]
  71. 1442864675 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013]
  72. 1442864675 DEBUG CryptoAuth.c:872 0x1eaaf48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Trying final handshake step, nonce=6
  73. 1442864675 DEBUG CryptoAuth.c:889 0x1eaaf48 outer [fc41:94b5:0925:7ba9:3959:11ab:a006:367a]: Final handshake step succeeded
  74. 1442864675 DEBUG InterfaceController.c:379 Checking for old sessions to merge with.
  75. 1442864675 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013]
  76. 1442864675 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013]
  77. 1442864675 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013]
  78. 1442864675 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013]
  79. 1442864675 DEBUG ControlHandler.c:151 ctrl packet from [0000.0000.0000.0013]
  80. 1442864675 DEBUG ControlHandler.c:101 got switch ping from [0000.0000.0000.0013]
  81. 1442864675 INFO Benchmark.c:47 ----- Begin Switching benchmark -----
  82. 1442864689 INFO Benchmark.c:59  
  83. 1442864689 INFO Benchmark.c:60 ---------------------------------------------------------------
  84. 1442864689 INFO Benchmark.c:62 Benchmark Switching in 13724ms. 74613 packets per second
  85. 1442864689 INFO Benchmark.c:63 ---------------------------------------------------------------
  86. 1442864689 INFO Benchmark.c:64  
  87. 1442864689 INFO Benchmark.c:219 DONE