Permalink
Browse files

Added new benchmark

  • Loading branch information...
1 parent c9cc5fe commit b03db7e4fcecb133fd5eec8db4a60ac7fb0f0130 Caleb James DeLisle committed Oct 26, 2012
Showing with 197 additions and 0 deletions.
  1. +197 −0 rfcs/benchmark.txt
View
@@ -1124,3 +1124,200 @@ Serial : 000000008b285506
[cjdns@meLonpi] ~/cjdns$ git log | head -1
commit a7c6c3a02c96ff5bfc12aa110af5a594c08a605b
+
+
+
+
+
+
+
+
+
+[ich@ich cjdns]$ ./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 1384ms. 369 Kb/s
+
+Test sending 1000 1500 byte hello packets. packet auth enabled. Finished in 1332ms. 9008 Kb/s
+
+Test sending 1000 64 byte key packets. packet auth enabled. Finished in 1331ms. 384 Kb/s
+
+Test sending 1000 1500 byte key packets. packet auth enabled. Finished in 1382ms. 8682 Kb/s
+
+Test sending 100000 64 byte data packets. packet auth disabled. Finished in 60ms. 853333 Kb/s
+
+Test sending 100000 1500 byte data packets. packet auth disabled. Finished in 545ms. 2201834 Kb/s
+
+Test sending 100000 64 byte data packets. packet auth enabled. Finished in 602ms. 85049 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 1297ms. 925212 Kb/s
+
+[ich@ich cjdns]$ cat /proc/cpuinfo
+processor : 0
+vendor_id : AuthenticAMD
+cpu family : 16
+model : 10
+model name : AMD Phenom(tm) II X6 1090T Processor
+stepping : 0
+microcode : 0x10000dc
+cpu MHz : 800.000
+cache size : 512 KB
+physical id : 0
+siblings : 6
+core id : 0
+cpu cores : 6
+apicid : 0
+initial apicid : 0
+fpu : yes
+fpu_exception : yes
+cpuid level : 6
+wp : yes
+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
+bogomips : 6386.36
+TLB size : 1024 4K pages
+clflush size : 64
+cache_alignment : 64
+address sizes : 48 bits physical, 48 bits virtual
+power management: ts ttp tm stc 100mhzsteps hwpstate cpb
+
+processor : 1
+vendor_id : AuthenticAMD
+cpu family : 16
+model : 10
+model name : AMD Phenom(tm) II X6 1090T Processor
+stepping : 0
+microcode : 0x10000dc
+cpu MHz : 800.000
+cache size : 512 KB
+physical id : 0
+siblings : 6
+core id : 1
+cpu cores : 6
+apicid : 1
+initial apicid : 1
+fpu : yes
+fpu_exception : yes
+cpuid level : 6
+wp : yes
+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
+bogomips : 6386.36
+TLB size : 1024 4K pages
+clflush size : 64
+cache_alignment : 64
+address sizes : 48 bits physical, 48 bits virtual
+power management: ts ttp tm stc 100mhzsteps hwpstate cpb
+
+processor : 2
+vendor_id : AuthenticAMD
+cpu family : 16
+model : 10
+model name : AMD Phenom(tm) II X6 1090T Processor
+stepping : 0
+microcode : 0x10000dc
+cpu MHz : 800.000
+cache size : 512 KB
+physical id : 0
+siblings : 6
+core id : 2
+cpu cores : 6
+apicid : 2
+initial apicid : 2
+fpu : yes
+fpu_exception : yes
+cpuid level : 6
+wp : yes
+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
+bogomips : 6386.36
+TLB size : 1024 4K pages
+clflush size : 64
+cache_alignment : 64
+address sizes : 48 bits physical, 48 bits virtual
+power management: ts ttp tm stc 100mhzsteps hwpstate cpb
+
+processor : 3
+vendor_id : AuthenticAMD
+cpu family : 16
+model : 10
+model name : AMD Phenom(tm) II X6 1090T Processor
+stepping : 0
+microcode : 0x10000dc
+cpu MHz : 800.000
+cache size : 512 KB
+physical id : 0
+siblings : 6
+core id : 3
+cpu cores : 6
+apicid : 3
+initial apicid : 3
+fpu : yes
+fpu_exception : yes
+cpuid level : 6
+wp : yes
+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
+bogomips : 6386.36
+TLB size : 1024 4K pages
+clflush size : 64
+cache_alignment : 64
+address sizes : 48 bits physical, 48 bits virtual
+power management: ts ttp tm stc 100mhzsteps hwpstate cpb
+
+processor : 4
+vendor_id : AuthenticAMD
+cpu family : 16
+model : 10
+model name : AMD Phenom(tm) II X6 1090T Processor
+stepping : 0
+microcode : 0x10000dc
+cpu MHz : 800.000
+cache size : 512 KB
+physical id : 0
+siblings : 6
+core id : 4
+cpu cores : 6
+apicid : 4
+initial apicid : 4
+fpu : yes
+fpu_exception : yes
+cpuid level : 6
+wp : yes
+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
+bogomips : 6386.36
+TLB size : 1024 4K pages
+clflush size : 64
+cache_alignment : 64
+address sizes : 48 bits physical, 48 bits virtual
+power management: ts ttp tm stc 100mhzsteps hwpstate cpb
+
+processor : 5
+vendor_id : AuthenticAMD
+cpu family : 16
+model : 10
+model name : AMD Phenom(tm) II X6 1090T Processor
+stepping : 0
+microcode : 0x10000dc
+cpu MHz : 3200.000
+cache size : 512 KB
+physical id : 0
+siblings : 6
+core id : 5
+cpu cores : 6
+apicid : 5
+initial apicid : 5
+fpu : yes
+fpu_exception : yes
+cpuid level : 6
+wp : yes
+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
+bogomips : 6386.36
+TLB size : 1024 4K pages
+clflush size : 64
+cache_alignment : 64
+address sizes : 48 bits physical, 48 bits virtual
+power management: ts ttp tm stc 100mhzsteps hwpstate cpb
+
+[ich@ich cjdns]$ git log -n 1
+commit c9cc5fe5f54b89f014d832527aef767f24a5b4da
+Author: Caleb James DeLisle <calebdelisle@lavabit.com>
+Date: Mon Oct 22 01:31:51 2012 -0400
+

0 comments on commit b03db7e

Please sign in to comment.