Permalink
Browse files

added a benchmark and excluded files ending in ~ from git tracking.

  • Loading branch information...
1 parent fc54a11 commit c63e89263bbeafe1d0b21dd3443bf951d4c7a87d Caleb James DeLisle committed Jul 9, 2012
Showing with 91 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +90 −0 rfcs/benchmark.txt
View
@@ -3,3 +3,4 @@ buildw32
*.pyc
.clang_complete
cjdroute
+*~
View
@@ -989,3 +989,93 @@ model : SonyPS3
commit 829f93e93c1eff81fdde62f00500f7e2c6e05c2f
[root@Bifrost] ~/src/cjdns# date
Fri Jun 22 15:48:05 CDT 2012
+
+
+
+
+
+
+[dan@archbang ~]$ cjdroute --bench
+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. packet auth enabled. Finished in 614ms. 833 Kb/s
+
+Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 671ms. 17882 Kb/s
+
+Test sending 1000 64 byte key packets. packet auth enabled. Finished in 962ms. 532 Kb/s
+
+Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 975ms. 12306 Kb/s
+
+Test sending 100000 64 byte data packets. packet auth disabled. Finished in 296ms. 172972 Kb/s
+
+Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 1040ms. 1153846 Kb/s
+
+Test sending 100000 64 byte data packets. packet auth enabled. Finished in 626ms. 81789 Kb/s
+
+This is the switch configuration so this indicates expected switch throughput:
+Test sending 100000 1500 byte data packets. packet auth enabled. Finished in 1745ms. 687679 Kb/s
+
+[dan@archbang ~]$ cat /proc/cpuinfo
+processor : 0
+vendor_id : GenuineIntel
+cpu family : 6
+model : 15
+model name : Intel(R) Pentium(R) Dual CPU T3200 @ 2.00GHz
+stepping : 13
+microcode : 0xa3
+cpu MHz : 1000.000
+cache size : 1024 KB
+physical id : 0
+siblings : 2
+core id : 0
+cpu cores : 2
+apicid : 0
+initial apicid : 0
+fdiv_bug : no
+hlt_bug : no
+f00f_bug : no
+coma_bug : no
+fpu : yes
+fpu_exception : yes
+cpuid level : 10
+wp : yes
+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
+bogomips : 3991.79
+clflush size : 64
+cache_alignment : 64
+address sizes : 36 bits physical, 48 bits virtual
+power management:
+
+processor : 1
+vendor_id : GenuineIntel
+cpu family : 6
+model : 15
+model name : Intel(R) Pentium(R) Dual CPU T3200 @ 2.00GHz
+stepping : 13
+microcode : 0xa3
+cpu MHz : 1000.000
+cache size : 1024 KB
+physical id : 0
+siblings : 2
+core id : 1
+cpu cores : 2
+apicid : 1
+initial apicid : 1
+fdiv_bug : no
+hlt_bug : no
+f00f_bug : no
+coma_bug : no
+fpu : yes
+fpu_exception : yes
+cpuid level : 10
+wp : yes
+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
+bogomips : 3991.79
+clflush size : 64
+cache_alignment : 64
+address sizes : 36 bits physical, 48 bits virtual
+power management:
+
+[dan@archbang ~]$ yaourt -Q cjdns-git
+local/cjdns-git 120619-1
+packaged (6-19-2012)

0 comments on commit c63e892

Please sign in to comment.