benchmark.txt 51 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501
  1. Results of benchmarking cjdns on different systems:
  2. To make your own benchmark:
  3. ./cjdroute --bench
  4. cat /proc/cpuinfo
  5. git log | head -n 1
  6. Paste results to https://ezcrypt.it/ and tell us about it in the IRC channel!
  7. Weird processors wanted :D
  8. user@debo8:~/wrk/play/mygit/cjdns/build$ ./cjdroute --bench
  9. These metrics are speed of encryption and decryption similar to the usage pattern
  10. when decrypting a packet, switching it, and re-encrypting it with another key.
  11. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 466ms. 1098 Kb/s
  12. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 432ms. 27776 Kb/s
  13. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 671ms. 763 Kb/s
  14. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 683ms. 17568 Kb/s
  15. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 101ms. 506930 Kb/s
  16. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 1021ms. 1175318 Kb/s
  17. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 360ms. 142222 Kb/s
  18. This is the switch configuration so this indicates expected switch throughput:
  19. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 1708ms. 702576 Kb/s
  20. user@debo8:~/wrk/play/mygit/cjdns/build$ cat /proc/cpuinfo | head
  21. processor : 0
  22. vendor_id : AuthenticAMD
  23. cpu family : 16
  24. model : 9
  25. model name : AMD Opteron(tm) Processor 6128
  26. stepping : 1
  27. microcode : 0x10000c4
  28. cpu MHz : 800.000
  29. cache size : 512 KB
  30. physical id : 0
  31. user@debo8:~/wrk/play/mygit/cjdns/build$ git log -n 1
  32. commit c2cfff7b4ef1339942f3e98eb0d99a093d307a9b
  33. cjdns@abacus:~/cjdns/build$ ./cjdroute --bench
  34. These metrics are speed of encryption and decryption similar to the usage pattern
  35. when decrypting a packet, switching it, and re-encrypting it with another key.
  36. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 96628ms. 5 Kb/s
  37. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 100130ms. 119 Kb/s
  38. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 149438ms. 3 Kb/s
  39. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 152898ms. 78 Kb/s
  40. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 2241ms. 22846 Kb/s
  41. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 34007ms. 35286 Kb/s
  42. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 12059ms. 4245 Kb/s
  43. This is the switch configuration so this indicates expected switch throughput:
  44. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 151882ms. 7900 Kb/s
  45. cjdns@abacus:~/cjdns/build$ cat /proc/cpuinfo
  46. Processor : Feroceon 88FR131 rev 1 (v5l)
  47. BogoMIPS : 1196.85
  48. Features : swp half thumb fastmult edsp
  49. CPU implementer : 0x56
  50. CPU architecture: 5TE
  51. CPU variant : 0x2
  52. CPU part : 0x131
  53. CPU revision : 1
  54. Hardware : Marvell OpenRD Client Board
  55. Revision : 0000
  56. Serial : 0000000000000000
  57. cjdns@abacus:~/cjdns/build$ git log -n 1
  58. commit c2cfff7b4ef1339942f3e98eb0d99a093d307a9b
  59. # after the update to nacl
  60. cjdns@abacus:~/cjdns/build$ time ./cjdroute --bench && cat /proc/cpuinfo && git log | head -1
  61. These metrics are speed of encryption and decryption similar to the usage pattern
  62. when decrypting a packet, switching it, and re-encrypting it with another key.
  63. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 12076ms. 42 Kb/s
  64. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 13298ms. 902 Kb/s
  65. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 12304ms. 41 Kb/s
  66. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 12752ms. 940 Kb/s
  67. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 1034ms. 49516 Kb/s
  68. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 20350ms. 58968 Kb/s
  69. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 3685ms. 13894 Kb/s
  70. This is the switch configuration so this indicates expected switch throughput:
  71. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 30179ms. 39762 Kb/s
  72. Processor : Feroceon 88FR131 rev 1 (v5l)
  73. BogoMIPS : 1196.85
  74. Features : swp half thumb fastmult edsp
  75. CPU implementer : 0x56
  76. CPU architecture: 5TE
  77. CPU variant : 0x2
  78. CPU part : 0x131
  79. CPU revision : 1
  80. Hardware : Marvell OpenRD Client Board
  81. Revision : 0000
  82. Serial : 0000000000000000
  83. real 1m43.216s
  84. user 1m21.520s
  85. sys 0m1.000s
  86. cjdns@abacus:~/cjdns/build$
  87. cjdns@ks397481:~/cjdns/build$ ./cjdroute --bench
  88. These metrics are speed of encryption and decryption similar to the usage pattern
  89. when decrypting a packet, switching it, and re-encrypting it with another key.
  90. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 3420ms. 149 Kb/s
  91. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 3491ms. 3437 Kb/s
  92. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 3413ms. 150 Kb/s
  93. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 3465ms. 3462 Kb/s
  94. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 103ms. 497087 Kb/s
  95. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 1581ms. 759013 Kb/s
  96. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 724ms. 70718 Kb/s
  97. This is the switch configuration so this indicates expected switch throughput:
  98. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 4257ms. 281888 Kb/s
  99. cjdns@ks397481:~/cjdns/build$ cat /proc/cpuinfo | head
  100. processor : 0
  101. vendor_id : GenuineIntel
  102. cpu family : 6
  103. model : 28
  104. model name : Intel(R) Atom(TM) CPU D425 @ 1.80GHz
  105. stepping : 10
  106. cpu MHz : 1799.735
  107. cache size : 512 KB
  108. physical id : 0
  109. siblings : 2
  110. cjdns@ks397481:~/cjdns/build$ git log | head -n 1
  111. commit fd4964634de971c888bb079d0e62b411c471803a
  112. user@ubntfusion2:~/cjdns/build$ ./cjdroute --bench
  113. These metrics are speed of encryption and decryption similar to the usage pattern
  114. when decrypting a packet, switching it, and re-encrypting it with another key.
  115. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 916ms. 558 Kb/s
  116. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 939ms. 12778 Kb/s
  117. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 1341ms. 381 Kb/s
  118. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 1368ms. 8771 Kb/s
  119. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 134ms. 382089 Kb/s
  120. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 2291ms. 523788 Kb/s
  121. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 526ms. 97338 Kb/s
  122. This is the switch configuration so this indicates expected switch throughput:
  123. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 3386ms. 354400 Kb/s
  124. user@ubntfusion2:~/cjdns/build$ cat /proc/cpuinfo | head
  125. processor : 0
  126. vendor_id : AuthenticAMD
  127. cpu family : 20
  128. model : 1
  129. model name : AMD E-350 Processor
  130. stepping : 0
  131. microcode : 0x5000028
  132. cpu MHz : 800.000
  133. cache size : 512 KB
  134. physical id : 0
  135. user@ubntfusion2:~/cjdns/build$ git log | head -n 1
  136. commit 3d2ce46d3c9df964ddf37dbdb03dccbcac862d5a
  137. user@ubntfusion2:~/cjdns/build$
  138. These metrics are speed of encryption and decryption similar to the usage pattern
  139. when decrypting a packet, switching it, and re-encrypting it with another key.
  140. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 1361ms. 376 Kb/s
  141. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 1551ms. 7736 Kb/s
  142. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 1334ms. 383 Kb/s
  143. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 1365ms. 8790 Kb/s
  144. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 323ms. 158513 Kb/s
  145. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 1893ms. 633914 Kb/s
  146. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 708ms. 72316 Kb/s
  147. This is the switch configuration so this indicates expected switch throughput:
  148. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 2805ms. 427807 Kb/s
  149. processor : 0
  150. vendor_id : GenuineIntel
  151. cpu family : 15
  152. model : 4
  153. model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
  154. stepping : 3
  155. cpu MHz : 2994.307
  156. cache size : 2048 KB
  157. physical id : 0
  158. siblings : 2
  159. core id : 0
  160. cpu cores : 1
  161. apicid : 0
  162. initial apicid : 0
  163. fdiv_bug : no
  164. hlt_bug : no
  165. f00f_bug : no
  166. coma_bug : no
  167. fpu : yes
  168. fpu_exception : yes
  169. cpuid level : 5
  170. wp : yes
  171. flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pebs bts pni dtes64 monitor ds_cpl est cid cx16 xtpr
  172. bogomips : 5988.61
  173. clflush size : 64
  174. cache_alignment : 128
  175. address sizes : 36 bits physical, 48 bits virtual
  176. power management:
  177. processor : 1
  178. vendor_id : GenuineIntel
  179. cpu family : 15
  180. model : 4
  181. model name : Intel(R) Pentium(R) 4 CPU 3.00GHz
  182. stepping : 3
  183. .....
  184. cjdns@xubuntu-27-120:~/cjdns$ git log | head -n 1
  185. commit 06522239acde31a01633033d9c4229baa7fad229
  186. These metrics are speed of encryption and decryption similar to the usage pattern
  187. when decrypting a packet, switching it, and re-encrypting it with another key.
  188. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 9996ms. 51 Kb/s
  189. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 10459ms. 1147 Kb/s
  190. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 10429ms. 49 Kb/s
  191. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 10982ms. 1092 Kb/s
  192. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 3588ms. 14269 Kb/s
  193. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 34265ms. 35021 Kb/s
  194. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 8723ms. 5869 Kb/s
  195. This is the switch configuration so this indicates expected switch throughput:
  196. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 46702ms. 25694 Kb/s
  197. processor : 0
  198. vendor_id : GenuineIntel
  199. cpu family : 6
  200. model : 5
  201. model name : Pentium II (Deschutes)
  202. stepping : 2
  203. cpu MHz : 267.274
  204. cache size : 512 KB
  205. fdiv_bug : no
  206. hlt_bug : no
  207. f00f_bug : no
  208. coma_bug : no
  209. fpu : yes
  210. fpu_exception : yes
  211. cpuid level : 2
  212. wp : yes
  213. flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr up
  214. bogomips : 534.54
  215. clflush size : 32
  216. cache_alignment : 32
  217. address sizes : 36 bits physical, 32 bits virtual
  218. power management:
  219. cjdns@wl-4-253:~/cjdns$ git log | head -n 1
  220. commit 06522239acde31a01633033d9c4229baa7fad229
  221. $ ./cjdroute --bench
  222. These metrics are speed of encryption and decryption similar to the usage pattern
  223. when decrypting a packet, switching it, and re-encrypting it with another key.
  224. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 334ms. 1532 Kb/s
  225. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 342ms. 35085 Kb/s
  226. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 547ms. 936 Kb/s
  227. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 507ms. 23667 Kb/s
  228. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 51ms. 1003921 Kb/s
  229. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 618ms. 1941747 Kb/s
  230. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 226ms. 226548 Kb/s
  231. This is the switch configuration so this indicates expected switch throughput:
  232. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 1068ms. 1123595 Kb/s
  233. $ cat /proc/cpuinfo
  234. processor : 0
  235. vendor_id : GenuineIntel
  236. cpu family : 6
  237. model : 26
  238. model name : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
  239. stepping : 5
  240. microcode : 0x11
  241. cpu MHz : 2261.000
  242. cache size : 8192 KB
  243. fpu : yes
  244. fpu_exception : yes
  245. cpuid level : 11
  246. wp : yes
  247. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf pni ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm ida dts
  248. bogomips : 4522.00
  249. clflush size : 64
  250. cache_alignment : 64
  251. address sizes : 40 bits physical, 48 bits virtual
  252. power management:
  253. ......
  254. $ git log | head -n 1
  255. commit 65204735fac8a27a1057f100b0a1285633eaf29e
  256. [user@ps3 build]$ ./cjdroute --bench
  257. These metrics are speed of encryption and decryption similar to the usage pattern
  258. when decrypting a packet, switching it, and re-encrypting it with another key.
  259. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 54330ms. 9 Kb/s
  260. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 54805ms. 218 Kb/s
  261. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 54304ms. 9 Kb/s
  262. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 54792ms. 218 Kb/s
  263. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 607ms. 84349 Kb/s
  264. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 8470ms. 141676 Kb/s
  265. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 3224ms. 15880 Kb/s
  266. This is the switch configuration so this indicates expected switch throughput:
  267. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 54903ms. 21856 Kb/s
  268. [user@ps3 build]$ cat /proc/cpuinfo
  269. processor : 0
  270. cpu : Cell Broadband Engine, altivec supported
  271. clock : 3192.000000MHz
  272. revision : 5.1 (pvr 0070 0501)
  273. processor : 1
  274. cpu : Cell Broadband Engine, altivec supported
  275. clock : 3192.000000MHz
  276. revision : 5.1 (pvr 0070 0501)
  277. timebase : 79800000
  278. platform : PS3
  279. [user@ps3 build]$ git log | head -n 1
  280. commit 06522239acde31a01633033d9c4229baa7fad229
  281. Linux 2.6.26-2-686 #1 SMP Sat Jun 11 14:54:10 UTC 2011 i686 GNU/Linux
  282. 893ac7148b76bed44c589617f0655a857b05b9e4
  283. processor : 0
  284. vendor_id : GenuineIntel
  285. cpu family : 6
  286. model : 23
  287. model name : Intel(R) Core(TM)2 CPU E7400 @ 2.80GHz
  288. stepping : 10
  289. cpu MHz : 2793.090
  290. cache size : 3072 KB
  291. physical id : 0
  292. siblings : 2
  293. core id : 0
  294. cpu cores : 2
  295. apicid : 0
  296. initial apicid : 0
  297. fdiv_bug : no
  298. hlt_bug : no
  299. f00f_bug : no
  300. coma_bug : no
  301. fpu : yes
  302. fpu_exception : yes
  303. cpuid level : 13
  304. wp : yes
  305. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor tm2 ssse3 lahf_lm
  306. bogomips : 5590.46
  307. clflush size : 64
  308. power management:
  309. processor : 1
  310. vendor_id : GenuineIntel
  311. cpu family : 6
  312. model : 23
  313. model name : Intel(R) Core(TM)2 CPU E7400 @ 2.80GHz
  314. stepping : 10
  315. cpu MHz : 2793.090
  316. cache size : 3072 KB
  317. physical id : 0
  318. siblings : 2
  319. core id : 1
  320. cpu cores : 2
  321. apicid : 1
  322. initial apicid : 1
  323. fdiv_bug : no
  324. hlt_bug : no
  325. f00f_bug : no
  326. coma_bug : no
  327. fpu : yes
  328. fpu_exception : yes
  329. cpuid level : 13
  330. wp : yes
  331. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor tm2 ssse3 lahf_lm
  332. bogomips : 5586.38
  333. clflush size : 64
  334. power management:
  335. These metrics are speed of encryption and decryption similar to the usage pattern
  336. when decrypting a packet, switching it, and re-encrypting it with another key.
  337. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 704ms. 727 Kb/s
  338. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 670ms. 17909 Kb/s
  339. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 700ms. 731 Kb/s
  340. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 709ms. 16924 Kb/s
  341. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 105ms. 487619 Kb/s
  342. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 639ms. 1877934 Kb/s
  343. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 316ms. 162025 Kb/s
  344. This is the switch configuration so this indicates expected switch throughput:
  345. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 1159ms. 1035375 Kb/s
  346. OpenWRT on Linksys WRT54GL V1.1
  347. system type : Broadcom BCM47XX
  348. processor : 0
  349. cpu model : Broadcom BMIPS3300 V0.8
  350. BogoMIPS : 198.65
  351. wait instruction : yes
  352. microsecond timers : yes
  353. tlb_entries : 32
  354. extra interrupt vector : yes
  355. hardware watchpoint : no
  356. ASEs implemented :
  357. shadow register sets : 1
  358. kscratch registers : 0
  359. core : 0
  360. VCED exceptions : not available
  361. VCEI exceptions : not available
  362. These metrics are speed of encryption and decryption similar to the usage pattern
  363. when decrypting a packet, switching it, and re-encrypting it with another key.
  364. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 687837ms. 0 Kb/s
  365. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 695086ms. 17 Kb/s
  366. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 688509ms. 0 Kb/s
  367. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 695686ms. 17 Kb/s
  368. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 6485ms. 7895 Kb/s
  369. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 85105ms. 14100 Kb/s
  370. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 45765ms. 1118 Kb/s
  371. This is the switch configuration so this indicates expected switch throughput
  372. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 764380ms. 1569 Kb/s
  373. real 59m 43.33s
  374. user 59m 39.59s
  375. sys 0m 2.98s
  376. ircerr@EFNet/#cjdns 20120506
  377. user@debian-mips:~/cjdns/build$ time ./cjdroute --bench
  378. These metrics are speed of encryption and decryption similar to the usage pattern
  379. when decrypting a packet, switching it, and re-encrypting it with another key.
  380. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 271027ms. 1 Kb/s
  381. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 314701ms. 38 Kb/s
  382. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 288595ms. 1 Kb/s
  383. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 271643ms. 44 Kb/s
  384. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 8016ms. 6387 Kb/s
  385. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 63388ms. 18931 Kb/s
  386. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 24010ms. 2132 Kb/s
  387. This is the switch configuration so this indicates expected switch throughput:
  388. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 332790ms. 3605 Kb/s
  389. real 25m37.560s
  390. user 25m4.378s
  391. sys 0m29.726s
  392. user@debian-mips:~/cjdns/build$ cat /proc/cpuinfo
  393. system type : MIPS Malta
  394. processor : 0
  395. cpu model : MIPS 24Kc V0.0 FPU V0.0
  396. BogoMIPS : 532.48
  397. wait instruction : yes
  398. microsecond timers : yes
  399. tlb_entries : 16
  400. extra interrupt vector : yes
  401. hardware watchpoint : yes, count: 1, address/irw mask: [0x0ff8]
  402. ASEs implemented : mips16
  403. shadow register sets : 1
  404. core : 0
  405. VCED exceptions : not available
  406. VCEI exceptions : not available
  407. user@debian-mips:~/cjdns/build$ git log | head -n 1
  408. commit 929f4785dcd62b2dc4201ceb40e7bdb0d49462e5
  409. # after update to nacl
  410. git log | head -1~/cjdns$ time ./build/cjdroute --bench && cat /proc/cpuinfo &&
  411. These metrics are speed of encryption and decryption similar to the usage pattern
  412. when decrypting a packet, switching it, and re-encrypting it with another key.
  413. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 242437ms. 2 Kb/s
  414. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 298387ms. 40 Kb/s
  415. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 325285ms. 1 Kb/s
  416. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 300940ms. 39 Kb/s
  417. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 3183ms. 16085 Kb/s
  418. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 70822ms. 16943 Kb/s
  419. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 21674ms. 2362 Kb/s
  420. This is the switch configuration so this indicates expected switch throughput:
  421. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 122875ms. 9766 Kb/s
  422. real 22m33.470s
  423. user 22m2.123s
  424. sys 0m28.946s
  425. system type : MIPS Malta
  426. processor : 0
  427. cpu model : MIPS 24Kc V0.0 FPU V0.0
  428. BogoMIPS : 550.91
  429. wait instruction : yes
  430. microsecond timers : yes
  431. tlb_entries : 16
  432. extra interrupt vector : yes
  433. hardware watchpoint : yes, count: 1, address/irw mask: [0x0ff8]
  434. ASEs implemented : mips16
  435. shadow register sets : 1
  436. core : 0
  437. VCED exceptions : not available
  438. VCEI exceptions : not available
  439. commit 8562e4298a64a7b7aa9d05d03ab357b572940b71
  440. user@debian-mips:~/cjdns$
  441. commit 51c041d6b87f139e74ab31ca125cdfc9685900b4
  442. Linux sql.bt-chat.com 2.6.26-2-686 #1 SMP Sat Jun 11 14:54:10 UTC 2011 i686 GNU/Linux
  443. processor : 0
  444. vendor_id : GenuineIntel
  445. cpu family : 6
  446. model : 23
  447. model name : Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
  448. stepping : 10
  449. cpu MHz : 2786.096
  450. cache size : 3072 KB
  451. physical id : 0
  452. siblings : 2
  453. core id : 0
  454. cpu cores : 2
  455. apicid : 0
  456. initial apicid : 0
  457. fdiv_bug : no
  458. hlt_bug : no
  459. f00f_bug : no
  460. coma_bug : no
  461. fpu : yes
  462. fpu_exception : yes
  463. cpuid level : 13
  464. wp : yes
  465. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
  466. bogomips : 5576.40
  467. clflush size : 64
  468. power management:
  469. processor : 1
  470. vendor_id : GenuineIntel
  471. cpu family : 6
  472. model : 23
  473. model name : Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
  474. stepping : 10
  475. cpu MHz : 2786.096
  476. cache size : 3072 KB
  477. physical id : 0
  478. siblings : 2
  479. core id : 1
  480. cpu cores : 2
  481. apicid : 1
  482. initial apicid : 1
  483. fdiv_bug : no
  484. hlt_bug : no
  485. f00f_bug : no
  486. coma_bug : no
  487. fpu : yes
  488. fpu_exception : yes
  489. cpuid level : 13
  490. wp : yes
  491. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
  492. bogomips : 5572.35
  493. clflush size : 64
  494. power management:
  495. These metrics are speed of encryption and decryption similar to the usage pattern
  496. when decrypting a packet, switching it, and re-encrypting it with another key.
  497. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 650ms. 787 Kb/s
  498. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 706ms. 16996 Kb/s
  499. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 698ms. 733 Kb/s
  500. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 663ms. 18098 Kb/s
  501. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 101ms. 506930 Kb/s
  502. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 633ms. 1895734 Kb/s
  503. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 310ms. 165161 Kb/s
  504. This is the switch configuration so this indicates expected switch throughput:
  505. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 1155ms. 1038961 Kb/s
  506. commit a33af261e9ddbcd314ea28190b18b4a438af3532
  507. Linux web.bt-chat.com 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686 GNU/Linux
  508. processor : 0
  509. vendor_id : GenuineIntel
  510. cpu family : 6
  511. model : 23
  512. model name : Intel(R) Core(TM)2 CPU E7400 @ 2.80GHz
  513. stepping : 10
  514. cpu MHz : 2793.605
  515. cache size : 3072 KB
  516. physical id : 0
  517. siblings : 2
  518. core id : 0
  519. cpu cores : 2
  520. apicid : 0
  521. initial apicid : 0
  522. fdiv_bug : no
  523. hlt_bug : no
  524. f00f_bug : no
  525. coma_bug : no
  526. fpu : yes
  527. fpu_exception : yes
  528. cpuid level : 13
  529. wp : yes
  530. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni monitor tm2 ssse3 lahf_lm
  531. bogomips : 5587.21
  532. clflush size : 64
  533. cache_alignment : 64
  534. address sizes : 36 bits physical, 48 bits virtual
  535. power management:
  536. processor : 1
  537. vendor_id : GenuineIntel
  538. cpu family : 6
  539. model : 23
  540. model name : Intel(R) Core(TM)2 CPU E7400 @ 2.80GHz
  541. stepping : 10
  542. cpu MHz : 2793.605
  543. cache size : 3072 KB
  544. physical id : 0
  545. siblings : 2
  546. core id : 1
  547. cpu cores : 2
  548. apicid : 1
  549. initial apicid : 1
  550. fdiv_bug : no
  551. hlt_bug : no
  552. f00f_bug : no
  553. coma_bug : no
  554. fpu : yes
  555. fpu_exception : yes
  556. cpuid level : 13
  557. wp : yes
  558. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni monitor tm2 ssse3 lahf_lm
  559. bogomips : 5586.37
  560. clflush size : 64
  561. cache_alignment : 64
  562. address sizes : 36 bits physical, 48 bits virtual
  563. power management:
  564. These metrics are speed of encryption and decryption similar to the usage pattern
  565. when decrypting a packet, switching it, and re-encrypting it with another key.
  566. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 701ms. 730 Kb/s
  567. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 660ms. 18180 Kb/s
  568. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 700ms. 731 Kb/s
  569. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 707ms. 16972 Kb/s
  570. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 101ms. 506930 Kb/s
  571. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 587ms. 2044293 Kb/s
  572. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 365ms. 140273 Kb/s
  573. This is the switch configuration so this indicates expected switch throughput:
  574. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 1156ms. 1038062 Kb/s
  575. commit ec8d1aac3e11e98b21e0bea6ad4af2463c99b14c
  576. Linux web2.bt-chat.com 2.6.26-2-686 #1 SMP Sat Jun 11 14:54:10 UTC 2011 i686 GNU/Linux
  577. processor : 0
  578. vendor_id : GenuineIntel
  579. cpu family : 6
  580. model : 23
  581. model name : Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
  582. stepping : 10
  583. cpu MHz : 2786.045
  584. cache size : 3072 KB
  585. physical id : 0
  586. siblings : 2
  587. core id : 0
  588. cpu cores : 2
  589. apicid : 0
  590. initial apicid : 0
  591. fdiv_bug : no
  592. hlt_bug : no
  593. f00f_bug : no
  594. coma_bug : no
  595. fpu : yes
  596. fpu_exception : yes
  597. cpuid level : 13
  598. wp : yes
  599. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
  600. bogomips : 5576.37
  601. clflush size : 64
  602. power management:
  603. processor : 1
  604. vendor_id : GenuineIntel
  605. cpu family : 6
  606. model : 23
  607. model name : Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz
  608. stepping : 10
  609. cpu MHz : 2786.045
  610. cache size : 3072 KB
  611. physical id : 0
  612. siblings : 2
  613. core id : 1
  614. cpu cores : 2
  615. apicid : 1
  616. initial apicid : 1
  617. fdiv_bug : no
  618. hlt_bug : no
  619. f00f_bug : no
  620. coma_bug : no
  621. fpu : yes
  622. fpu_exception : yes
  623. cpuid level : 13
  624. wp : yes
  625. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
  626. bogomips : 5572.35
  627. clflush size : 64
  628. power management:
  629. These metrics are speed of encryption and decryption similar to the usage pattern
  630. when decrypting a packet, switching it, and re-encrypting it with another key.
  631. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 698ms. 733 Kb/s
  632. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 705ms. 17020 Kb/s
  633. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 659ms. 776 Kb/s
  634. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 706ms. 16996 Kb/s
  635. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 72ms. 711111 Kb/s
  636. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 610ms. 1967213 Kb/s
  637. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 282ms. 181560 Kb/s
  638. This is the switch configuration so this indicates expected switch throughput:
  639. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 1127ms. 1064773 Kb/s
  640. # Rasberry Pi -- Owner unknown (we would like to meet you!)
  641. ./cjdroute --bench
  642. These metrics are speed of encryption and decryption similar to the usage pattern
  643. when decrypting a packet, switching it, and re-encrypting it with another key.
  644. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 97759ms. 5 Kb/s
  645. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 96319ms. 124 Kb/s
  646. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 143077ms. 3 Kb/s
  647. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 148158ms. 80 Kb/s
  648. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 2172ms. 23572 Kb/s
  649. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 33251ms. 36089 Kb/s
  650. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 14356ms. 3566 Kb/s
  651. This is the switch configuration so this indicates expected switch throughput:
  652. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 163744ms. 7328 Kb/s
  653. version: bc41a54dc5d2a0ece5864671242184afbd46ba6e
  654. # This version is just post the NACL improvements.
  655. [root@Bifrost] ~/src/cjdns# ./cjdroute --bench
  656. These metrics are speed of encryption and decryption similar to the usage pattern
  657. when decrypting a packet, switching it, and re-encrypting it with another key.
  658. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 20195ms. 25 Kb/s
  659. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 20389ms. 588 Kb/s
  660. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 20077ms. 25 Kb/s
  661. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 20296ms. 591 Kb/s
  662. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 500ms. 102400 Kb/s
  663. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 8314ms. 144334 Kb/s
  664. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 1502ms. 34087 Kb/s
  665. This is the switch configuration so this indicates expected switch throughput:
  666. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 17730ms. 67681 Kb/s
  667. [root@Bifrost] ~/src/cjdns# cat /proc/cpuinfo
  668. processor : 0
  669. cpu : Cell Broadband Engine, altivec supported
  670. clock : 3192.000000MHz
  671. revision : 5.1 (pvr 0070 0501)
  672. processor : 1
  673. cpu : Cell Broadband Engine, altivec supported
  674. clock : 3192.000000MHz
  675. revision : 5.1 (pvr 0070 0501)
  676. timebase : 79800000
  677. platform : PS3
  678. model : SonyPS3
  679. [root@Bifrost] ~/src/cjdns# git log | head -n 1
  680. commit 829f93e93c1eff81fdde62f00500f7e2c6e05c2f
  681. [root@Bifrost] ~/src/cjdns# date
  682. Fri Jun 22 15:48:05 CDT 2012
  683. [dan@archbang ~]$ cjdroute --bench
  684. These metrics are speed of encryption and decryption similar to the usage pattern
  685. when decrypting a packet, switching it, and re-encrypting it with another key.
  686. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 614ms. 833 Kb/s
  687. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 671ms. 17882 Kb/s
  688. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 962ms. 532 Kb/s
  689. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 975ms. 12306 Kb/s
  690. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 296ms. 172972 Kb/s
  691. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 1040ms. 1153846 Kb/s
  692. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 626ms. 81789 Kb/s
  693. This is the switch configuration so this indicates expected switch throughput:
  694. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 1745ms. 687679 Kb/s
  695. [dan@archbang ~]$ cat /proc/cpuinfo
  696. processor : 0
  697. vendor_id : GenuineIntel
  698. cpu family : 6
  699. model : 15
  700. model name : Intel(R) Pentium(R) Dual CPU T3200 @ 2.00GHz
  701. stepping : 13
  702. microcode : 0xa3
  703. cpu MHz : 1000.000
  704. cache size : 1024 KB
  705. physical id : 0
  706. siblings : 2
  707. core id : 0
  708. cpu cores : 2
  709. apicid : 0
  710. initial apicid : 0
  711. fdiv_bug : no
  712. hlt_bug : no
  713. f00f_bug : no
  714. coma_bug : no
  715. fpu : yes
  716. fpu_exception : yes
  717. cpuid level : 10
  718. wp : yes
  719. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts
  720. bogomips : 3991.79
  721. clflush size : 64
  722. cache_alignment : 64
  723. address sizes : 36 bits physical, 48 bits virtual
  724. power management:
  725. processor : 1
  726. vendor_id : GenuineIntel
  727. cpu family : 6
  728. model : 15
  729. model name : Intel(R) Pentium(R) Dual CPU T3200 @ 2.00GHz
  730. stepping : 13
  731. microcode : 0xa3
  732. cpu MHz : 1000.000
  733. cache size : 1024 KB
  734. physical id : 0
  735. siblings : 2
  736. core id : 1
  737. cpu cores : 2
  738. apicid : 1
  739. initial apicid : 1
  740. fdiv_bug : no
  741. hlt_bug : no
  742. f00f_bug : no
  743. coma_bug : no
  744. fpu : yes
  745. fpu_exception : yes
  746. cpuid level : 10
  747. wp : yes
  748. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts
  749. bogomips : 3991.79
  750. clflush size : 64
  751. cache_alignment : 64
  752. address sizes : 36 bits physical, 48 bits virtual
  753. power management:
  754. [dan@archbang ~]$ yaourt -Q cjdns-git
  755. local/cjdns-git 120619-1
  756. packaged (6-19-2012)
  757. # Another Rasberry Pi
  758. [cjdns@meLonpi] ~/cjdns$ ./cjdroute --bench
  759. These metrics are speed of encryption and decryption similar to the usage pattern
  760. when decrypting a packet, switching it, and re-encrypting it with another key.
  761. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 111492ms. 4 Kb/s
  762. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 112808ms. 106 Kb/s
  763. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 111424ms. 4 Kb/s
  764. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 113002ms. 106 Kb/s
  765. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 5692ms. 8995 Kb/s
  766. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 117375ms. 10223 Kb/s
  767. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 23037ms. 2222 Kb/s
  768. This is the switch configuration so this indicates expected switch throughput:
  769. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 162951ms. 7364 Kb/s
  770. [cjdns@meLonpi] ~/cjdns$ uname -a
  771. Linux meLonpi 3.1.9+ #90 Wed Apr 18 18:23:05 BST 2012 armv6l GNU/Linux
  772. [cjdns@meLonpi] ~/cjdns$ cat /proc/cpuinfo
  773. Processor : ARMv6-compatible processor rev 7 (v6l)
  774. BogoMIPS : 697.95
  775. Features : swp half thumb fastmult vfp edsp java tls
  776. CPU implementer : 0x41
  777. CPU architecture: 7
  778. CPU variant : 0x0
  779. CPU part : 0xb76
  780. CPU revision : 7
  781. Hardware : BCM2708
  782. Revision : 0002
  783. Serial : 000000008b285506
  784. [cjdns@meLonpi] ~/cjdns$ git log | head -1
  785. commit a7c6c3a02c96ff5bfc12aa110af5a594c08a605b
  786. [ich@ich cjdns]$ ./cjdroute --bench
  787. These metrics are speed of encryption and decryption similar to the usage pattern
  788. when decrypting a packet, switching it, and re-encrypting it with another key.
  789. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 1384ms. 369 Kb/s
  790. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 1332ms. 9008 Kb/s
  791. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 1331ms. 384 Kb/s
  792. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 1382ms. 8682 Kb/s
  793. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 60ms. 853333 Kb/s
  794. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 545ms. 2201834 Kb/s
  795. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 602ms. 85049 Kb/s
  796. This is the switch configuration so this indicates expected switch throughput:
  797. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 1297ms. 925212 Kb/s
  798. [ich@ich cjdns]$ cat /proc/cpuinfo
  799. processor : 0
  800. vendor_id : AuthenticAMD
  801. cpu family : 16
  802. model : 10
  803. model name : AMD Phenom(tm) II X6 1090T Processor
  804. stepping : 0
  805. microcode : 0x10000dc
  806. cpu MHz : 800.000
  807. cache size : 512 KB
  808. physical id : 0
  809. siblings : 6
  810. core id : 0
  811. cpu cores : 6
  812. apicid : 0
  813. initial apicid : 0
  814. fpu : yes
  815. fpu_exception : yes
  816. cpuid level : 6
  817. wp : yes
  818. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  819. bogomips : 6386.36
  820. TLB size : 1024 4K pages
  821. clflush size : 64
  822. cache_alignment : 64
  823. address sizes : 48 bits physical, 48 bits virtual
  824. power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  825. processor : 1
  826. vendor_id : AuthenticAMD
  827. cpu family : 16
  828. model : 10
  829. model name : AMD Phenom(tm) II X6 1090T Processor
  830. stepping : 0
  831. microcode : 0x10000dc
  832. cpu MHz : 800.000
  833. cache size : 512 KB
  834. physical id : 0
  835. siblings : 6
  836. core id : 1
  837. cpu cores : 6
  838. apicid : 1
  839. initial apicid : 1
  840. fpu : yes
  841. fpu_exception : yes
  842. cpuid level : 6
  843. wp : yes
  844. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  845. bogomips : 6386.36
  846. TLB size : 1024 4K pages
  847. clflush size : 64
  848. cache_alignment : 64
  849. address sizes : 48 bits physical, 48 bits virtual
  850. power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  851. processor : 2
  852. vendor_id : AuthenticAMD
  853. cpu family : 16
  854. model : 10
  855. model name : AMD Phenom(tm) II X6 1090T Processor
  856. stepping : 0
  857. microcode : 0x10000dc
  858. cpu MHz : 800.000
  859. cache size : 512 KB
  860. physical id : 0
  861. siblings : 6
  862. core id : 2
  863. cpu cores : 6
  864. apicid : 2
  865. initial apicid : 2
  866. fpu : yes
  867. fpu_exception : yes
  868. cpuid level : 6
  869. wp : yes
  870. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  871. bogomips : 6386.36
  872. TLB size : 1024 4K pages
  873. clflush size : 64
  874. cache_alignment : 64
  875. address sizes : 48 bits physical, 48 bits virtual
  876. power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  877. processor : 3
  878. vendor_id : AuthenticAMD
  879. cpu family : 16
  880. model : 10
  881. model name : AMD Phenom(tm) II X6 1090T Processor
  882. stepping : 0
  883. microcode : 0x10000dc
  884. cpu MHz : 800.000
  885. cache size : 512 KB
  886. physical id : 0
  887. siblings : 6
  888. core id : 3
  889. cpu cores : 6
  890. apicid : 3
  891. initial apicid : 3
  892. fpu : yes
  893. fpu_exception : yes
  894. cpuid level : 6
  895. wp : yes
  896. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  897. bogomips : 6386.36
  898. TLB size : 1024 4K pages
  899. clflush size : 64
  900. cache_alignment : 64
  901. address sizes : 48 bits physical, 48 bits virtual
  902. power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  903. processor : 4
  904. vendor_id : AuthenticAMD
  905. cpu family : 16
  906. model : 10
  907. model name : AMD Phenom(tm) II X6 1090T Processor
  908. stepping : 0
  909. microcode : 0x10000dc
  910. cpu MHz : 800.000
  911. cache size : 512 KB
  912. physical id : 0
  913. siblings : 6
  914. core id : 4
  915. cpu cores : 6
  916. apicid : 4
  917. initial apicid : 4
  918. fpu : yes
  919. fpu_exception : yes
  920. cpuid level : 6
  921. wp : yes
  922. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  923. bogomips : 6386.36
  924. TLB size : 1024 4K pages
  925. clflush size : 64
  926. cache_alignment : 64
  927. address sizes : 48 bits physical, 48 bits virtual
  928. power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  929. processor : 5
  930. vendor_id : AuthenticAMD
  931. cpu family : 16
  932. model : 10
  933. model name : AMD Phenom(tm) II X6 1090T Processor
  934. stepping : 0
  935. microcode : 0x10000dc
  936. cpu MHz : 3200.000
  937. cache size : 512 KB
  938. physical id : 0
  939. siblings : 6
  940. core id : 5
  941. cpu cores : 6
  942. apicid : 5
  943. initial apicid : 5
  944. fpu : yes
  945. fpu_exception : yes
  946. cpuid level : 6
  947. wp : yes
  948. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate npt lbrv svm_lock nrip_save pausefilter
  949. bogomips : 6386.36
  950. TLB size : 1024 4K pages
  951. clflush size : 64
  952. cache_alignment : 64
  953. address sizes : 48 bits physical, 48 bits virtual
  954. power management: ts ttp tm stc 100mhzsteps hwpstate cpb
  955. [ich@ich cjdns]$ git log -n 1
  956. commit c9cc5fe5f54b89f014d832527aef767f24a5b4da
  957. Author: Caleb James DeLisle <calebdelisle@lavabit.com>
  958. Date: Mon Oct 22 01:31:51 2012 -0400
  959. 21 Dec 2012:
  960. Hardware:
  961. Hardware Overview:
  962. Model Name: Mac mini
  963. Model Identifier: Macmini1,1
  964. Processor Name: Intel Core Solo
  965. Processor Speed: 1,5 GHz
  966. Number Of Processors: 1
  967. Total Number Of Cores: 1
  968. L2 Cache: 2 MB
  969. Memory: 2 GB
  970. Bus Speed: 667 MHz
  971. Boot ROM Version: MM11.0055.B08
  972. SMC Version (system): 1.3f4
  973. $ uname -a
  974. Darwin Gaius.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386
  975. $ ./cjdroute --bench
  976. These metrics are speed of encryption and decryption similar to the usage pattern
  977. when decrypting a packet, switching it, and re-encrypting it with another key.
  978. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 58425ms. 8 Kb/s
  979. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 63471ms. 189 Kb/s
  980. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 84541ms. 6 Kb/s
  981. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 83907ms. 143 Kb/s
  982. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 343ms. 149271 Kb/s
  983. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 2993ms. 400935 Kb/s
  984. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 3973ms. 12886 Kb/s
  985. This is the switch configuration so this indicates expected switch throughput:
  986. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 12433ms. 96517 Kb/s
  987. $ gcc -v
  988. Using built-in specs.
  989. Target: i686-apple-darwin10
  990. Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/Developer/usr/llvm-gcc-4.2/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/dst-llvmCore/Developer/usr/local --with-gxx-include-dir=/usr/include/c++/4.2.1 --host=i686-apple-darwin10 --target=i686-apple-darwin10
  991. Thread model: posix
  992. gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
  993. $ git log | head -1
  994. commit e6fda6a418f5e719fe07cf0c866e546288de6cb1
  995. user@debian-mips:~/cjdns$ ./cjdroute --bench
  996. 1380772514 INFO RandomSeed.c:67 Attempting to seed random number generator
  997. 1380772514 INFO RandomSeed.c:81 Trying random seed [RtlGenRandom() (Windows)] Failed
  998. 1380772514 INFO RandomSeed.c:81 Trying random seed [sysctl(KERN_ARND) (BSD)] Failed
  999. 1380772514 INFO RandomSeed.c:75 Trying random seed [/dev/urandom] Success
  1000. 1380772514 INFO RandomSeed.c:75 Trying random seed [sysctl(RANDOM_UUID) (Linux)] Success
  1001. 1380772514 INFO RandomSeed.c:75 Trying random seed [/proc/sys/kernel/random/uuid (Linux)] Success
  1002. 1380772514 INFO RandomSeed.c:89 Seeding random number generator succeeded with [3] sources
  1003. These metrics are speed of encryption and decryption similar to the usage pattern
  1004. when decrypting a packet, switching it, and re-encrypting it with another key.
  1005. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 79280ms. 6 Kb/s
  1006. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 82869ms. 144 Kb/s
  1007. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 110807ms. 4 Kb/s
  1008. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 138062ms. 86 Kb/s
  1009. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 4345ms. 11783 Kb/s
  1010. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 53083ms. 22606 Kb/s
  1011. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 17659ms. 2899 Kb/s
  1012. This is the switch configuration so this indicates expected switch throughput:
  1013. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 91680ms. 13089 Kb/s
  1014. user@debian-mips:~/cjdns$ git log -n 1
  1015. commit 9a3db93cd3ea5b3583ecc3b741518dd0e6ec8764
  1016. Author: Caleb James DeLisle <cjd@hyperboria.ca>
  1017. Date: Wed Oct 2 22:07:13 2013 -0400
  1018. Sometimes SearchRunner_search() returns null
  1019. user@debian-mips:~/cjdns$ cat /proc/cpuinfo
  1020. system type : MIPS Malta
  1021. processor : 0
  1022. cpu model : MIPS 24Kc V0.0 FPU V0.0
  1023. BogoMIPS : 561.15
  1024. wait instruction : yes
  1025. microsecond timers : yes
  1026. tlb_entries : 16
  1027. extra interrupt vector : yes
  1028. hardware watchpoint : yes, count: 1, address/irw mask: [0x0ff8]
  1029. ASEs implemented : mips16
  1030. shadow register sets : 1
  1031. core : 0
  1032. VCED exceptions : not available
  1033. VCEI exceptions : not available
  1034. user@debian-mips:~/cjdns$
  1035. linaro@linaro-ubuntu-desktop:~/cjdns/cjdns-master$ ./cjdroute --bench ; cat /proc/cpuinfo
  1036. 3711 INFO RandomSeed.c:67 Attempting to seed random number generator
  1037. 3711 INFO RandomSeed.c:81 Trying random seed [RtlGenRandom() (Windows)] Failed
  1038. 3711 INFO RandomSeed.c:81 Trying random seed [sysctl(KERN_ARND) (BSD)] Failed
  1039. 3711 INFO RandomSeed.c:75 Trying random seed [/dev/urandom] Success
  1040. 3711 INFO RandomSeed.c:75 Trying random seed [sysctl(RANDOM_UUID) (Linux)] Success
  1041. 3711 INFO RandomSeed.c:75 Trying random seed [/proc/sys/kernel/random/uuid (Linux)] Success
  1042. 3711 INFO RandomSeed.c:89 Seeding random number generator succeeded with [3] sources
  1043. These metrics are speed of encryption and decryption similar to the usage pattern
  1044. when decrypting a packet, switching it, and re-encrypting it with another key.
  1045. Test sending 1000 64 byte hello packets. packet auth enabled. Finished in 1273ms. 402 Kb/s
  1046. Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 1306ms. 9187 Kb/s
  1047. Test sending 1000 64 byte key packets. packet auth enabled. Finished in 1843ms. 277 Kb/s
  1048. Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 1876ms. 6396 Kb/s
  1049. Test sending 100000 64 byte data packets. packet auth disabled. Finished in 275ms. 186181 Kb/s
  1050. Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 2816ms. 426136 Kb/s
  1051. Test sending 100000 64 byte data packets. packet auth enabled. Finished in 1349ms. 37954 Kb/s
  1052. This is the switch configuration so this indicates expected switch throughput:
  1053. Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 4589ms. 261494 Kb/s
  1054. Processor : ARMv7 Processor rev 10 (v7l)
  1055. processor : 0
  1056. BogoMIPS : 1988.28
  1057. processor : 1
  1058. BogoMIPS : 1988.28
  1059. processor : 2
  1060. BogoMIPS : 1988.28
  1061. processor : 3
  1062. BogoMIPS : 1988.28
  1063. Features : swp half thumb fastmult vfp edsp neon vfpv3
  1064. CPU implementer : 0x41
  1065. CPU architecture: 7
  1066. CPU variant : 0x2
  1067. CPU part : 0xc09
  1068. CPU revision : 10
  1069. Hardware : Freescale i.MX 6Quad Sabre-Lite Board
  1070. Revision : 63000
  1071. Serial : 0000000000000000
  1072. linaro@linaro-ubuntu-desktop:~/cjdns/cjdns-master$ uname -a
  1073. Linux linaro-ubuntu-desktop 3.0.35-troosh #17 SMP PREEMPT Tue May 7 20:29:00 MSK 2013 armv7l armv7l armv7l GNU/Linux
  1074. linaro@linaro-ubuntu-desktop:~/cjdns/cjdns-master$ gcc --version
  1075. gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
  1076. Copyright (C) 2011 Free Software Foundation, Inc.
  1077. This is free software; see the source for copying conditions. There is NO
  1078. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1079. linaro@linaro-ubuntu-desktop:~/cjdns/cjdns-master$$ git log | head -1
  1080. commit 9a3db93cd3ea5b3583ecc3b741518dd0e6ec8764